Home > Apache Error > Apache Error Documents Directory

Apache Error Documents Directory


check here ubuntuforums.org/showthread.php?t=278531 –Md Oliya Jul 2 '11 at 7:20 2 Would it be possible to enable both /var/www and /home/myusername/projects_folder at the same time? To find out whether a particular error document was invoked on behalf of a proxy error or because of some other server error, and what the reason for the failure was, Now, create a page called 404.html, containing whatever you want a visitor to your site to see when they try to visit a page that doesn't exist. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the http://dis-lb.net/apache-error/apache-error-documents-url.php

Please try a different one or email the site owner for assistance. Comments placed here should be pointed towards suggestions on improving the documentation or server, and may be removed again by our moderators if they are either implemented or considered invalid/off-topic. Technical term to denote opposite of dependency injection? Train carriages in the Czech Republic Can filling up a 75 gallon water heater tank without opening a faucet cause damage? https://httpd.apache.org/docs/2.4/custom-error.html

Apache Log Files

So try with this: ServerAdmin [email protected] DocumentRoot /media/myserver/ Options FollowSymLinks AllowOverride None Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all If a directory is requested (i.e. In addition, mod_rewrite can use external database files or programs to determine how to handle a request.

If several "close" files are found, a list of available alternatives will be presented to the client. In the following example, when clients request documents under the /foo/ directory, the server fetches those documents from the /bar/ directory on internal.example.com and returns them to the client as if This can happen for several reasons. Apache Error Document 404 Starting with this example, you will find it easy to add more error documents, or to translate the error documents to different languages.