i have a server with whm/cpanel and would love to have custom error pages that work server wide not just for a specific domain. I have tried adding the "ErrorDocument 404 errors/404.htm" to the httpd.conf file but it doesn't work.
I have no trouble getting custom errors to work for a specific domain but can't seem to get it to work server wide.
Has anyone else tried to tackle this and actually had success?
I am trying to control access to an asp page by using windows resource groups. The virtual directory in IIS has both 'Integrated Windows Authentication' and 'Basic Authentication' checked.
When an unauthorized user tries to access this page, it prompts thrice for the user ID and password before going to the 'user not authorized' page. I want it to display the error the very first time an unauthorized user tries to access this page and not ask him thrice before throwing the error page.
The operating system being used is Windows 2003 server.
I'm not sure if this is the right forum, or if anyone can suggest a message board where I might get support on this.
This is what I have. I have Apache and IIS both running on Windows 2k3.
Apache is running in reverse Proxy mode sending multiple domains/virtual hosts to IIS.
ProxyRequests Off <VirtualHost *:80> ProxyPreserveHost On ProxyPass / http://localhost:8080 ProxyPassReverse / [url] ServerName mydomain.com
</VirtualHost> Now, if I type in [url]everything works great and IIS (listening on 127.0.0.1:8080) serves the page. However, I am doing custom error trapping, so when I type in [url](and /mydirectory doesn't exist on IIS) I need to fire ASP code (via custom error messages/handling) on the IIS server and then present a data driven page.
However, Apache is returning A 502 error:
Code: Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /mydirectory.
Reason: DNS lookup failure for: localhost:8080mydirectory Is there a way for me to setup Apache to pass all error checking to IIS while using it as a reverse proxy?
I have a server runnning WHM/cPanel and want to purchase an SSL certificate that I would set up on a specific domain. ex: secure.myserver.com, and then allow individuals hosted on my server to use that domain (instead of their own) for SSL purposes, if they didn't want to purchase their own certificate. (ex. They would use: secure.myserver.com/~customer/myfile.php)
My question is, what kind of SSL certificate would be appropriate for this. Could I purchase a single-root certificate from RapidSSL and set it up on that domain?
error pages i have added manually is not working because vbSEO create new .htaccess file
how can i run both of them ? (vbSEO and error pages) htacess is following
HTML Code: # Comment the following line (add '#' at the beginning) # to disable mod_rewrite functions. # Please note: you still need to disable the hack in # the vBSEO control panel to stop url rewrites. RewriteEngine On
# Some servers require the Rewritebase directive to be # enabled (remove '#' at the beginning to activate) # Please note: when enabled, you must include the path # to your root vB folder (i.e. RewriteBase /forums) #RewriteBase / RewriteRule ^((urllist|sitemap).*.(xml|txt)(.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
I have a fresh install of 11.5 on Windows Server 2008r2. I have setup a domain from a 9.5 backup. Everything _looks_ okay, php settings look fine, but php pages give the following with detailed error reporting:
HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.
Note that this happens whether I select php 5.2 or 5.4
I have configured a custom 500.100 Error for one of my web sites in IIS 6.0. However, the custom error page appears nested within the HTML of the page throwing the error, at the point the error occurs.
This is problematic as live errors are being overlooked when they appear late in the script as the majority of the page outputs normally.
On my development server IIS 5.1 this does not happen. The Custom Error Page is shown as its own page. The errors cannot go unnoticed.
How can I change IIS 6.0's Customer Error to behave like my development server, and do it just for the one web site concerned?
Just in the process of upgrading to new box Plesk 12 (Ubuntu 14.04LTS). ON the previous (plesk 10) I was able to disable ftp services by editing /etc/xinetd.d/ftp_psa - this doesn't seem to be an option now. How to do this on plesk 12?
for a server-wide anti-spam solution I can implement on a Linux server. The mail queues are constantly getting backlogged with thousands of messages which bring the servers to a crawl. There are really two issues the solution needs to address.
1) Spam 2) Spam sent to other people that have the from address forged with our clients' email addresses.
We have spam assassin installed for individuals to use, but there's got to be some sort of solution that can clear out the vast majority of the junk before it even gets to the queue.
It probably goes without saying, but the solution needs to be open-source or have a very inexpensive license.
=The last line in the .htaccess file is ErrorDocument 404 [url]
If someone tries to view a page that does not exist in the web site, the Custom 404 Error Page is displayed, properly.
I am trying to get Google to verify that I am the owner of this site (so I can use their Webmaster tools), and I have placed a page with a name they specified, in the site. Their verification fails, because, 'We've detected that your 404 file (file not found) error page returns a status of 200 (Success) in the header.' They need a status of 404 in the header of 404 pages. Note: Google does a HEAD request (not a GET request).
Also, I have noticed in the Webalizer statistics, there are no 404 codes listed with the other response codes! I know the Custom 404 page is getting a lot of hits, but, they are not shown in the statistics, because the wrong code is being sent.
The web site is small and the Custom Error page is with the other pages. I'm using MS FrontPage 2000.
Question: What do I need to change that line to, to get this to work properly, for Google and for my Webalizer statistics? Apache/1.3.27 (Unix)
Would like to know how to implement css and images to work with custom error documents. For some reason the folders are ignored even with the correct path being entered within the html. Only plain text appears.