Re: 404 custom page (OT?)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux