404 custom page (OT?)

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Sat Jul 17 02:12:37 UTC 2004


Am Sa, den 17.07.2004 schrieb John Dangler um 2:42:

> I'm not sure if there is an Apache list or not, but I've had good response
> from this group for most other things Linux.

Yes, there are Apache specific mailing lists.

> I want to set up custom error pages on the web server.  I have an 'errors'
> directory in the root (/var/www/html) and have set the following line in the
> /var/www/html/.htaccess file:
> 
> ErrorDocument 404 /errors/custom404.html

> (I found this at 404pros).

Are you sure it overrides the settings in the
/etc/httpd/conf/httpd.conf? Better change the settings in there, see up
from line 880.

> I restarted the Apache service, but I still get the default Apache 404 error
> page.

Settings in a .htaccess files does not require an Apache restart.

> John 

Alexander


-- 
Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13
Fedora GNU/Linux Core 2 (Tettnang) Athlon CPU kernel 2.6.6-1.435.2.3.uml
Serendipity 04:10:26 up 4 days, 1:52, load average: 0.10, 0.70, 0.67 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040717/178019bc/attachment-0001.sig>


More information about the fedora-list mailing list