|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Custom 404
Do custom 404 pages have to be set up with .htaccess files? Or can it be done through the httpd.conf file? If it can be done through the httpd.conf file how so?
I tried to do it through webmin and it added this to my conf ErrorDocument 404 http://mysite.com/404.php But when i tried to enter page that didn't exist it never redirected to that url. is there something else I need to do besides adding that line to my conf? Oh crap...do I have to just reboot?
__________________
Charles LaRocca 321Webspace.com 321Webmaster.com 321Templates.com 321Graphics.com Last edited by Chaz : November 11th, 2001 at 03:53 PM. |
|
#2
|
|||
|
|||
|
>> can it be done through the httpd.conf file?
Yes and configure it there at all time. Keep in mind, use .htaccess only if you don't have access to httpd.conf or you want to do something dynamically without restarting Apache. >> do I have to just reboot? You need to HUP Apache. |
|
#3
|
|||
|
|||
|
All I needed to do was reboot ....damn what a newbie mistake. What does HUP apache mean?
|
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > Custom 404 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|