Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old November 11th, 2001, 03:51 PM
Chaz Chaz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: ma
Posts: 103 Chaz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 m 24 sec
Reputation Power: 8
Send a message via ICQ to Chaz Send a message via AIM to Chaz Send a message via Yahoo to Chaz
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?

Last edited by Chaz : November 11th, 2001 at 03:53 PM.

Reply With Quote
  #2  
Old November 11th, 2001, 04:16 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> 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.

Reply With Quote
  #3  
Old November 11th, 2001, 04:30 PM
Chaz Chaz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: ma
Posts: 103 Chaz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 23 m 24 sec
Reputation Power: 8
Send a message via ICQ to Chaz Send a message via AIM to Chaz Send a message via Yahoo to Chaz
All I needed to do was reboot ....damn what a newbie mistake. What does HUP apache mean?

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > Custom 404


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway
Stay green...Green IT