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 January 29th, 2002, 03:22 PM
CodE-E CodE-E is offline
<(>_~)>
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Posts: 315 CodE-E User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Question No Apache Errors In Internal Network! o_O

Hey all,

I have successfully set up a running Apache server (1.3.23) - all is running well, except one little thing...

I do not get Apache-generated errors from my internal home network.

(Note: As by default, I have 'ServerSignature On' in my httpd.conf)

However, I do get Apache-generated errors from the localhost (the computer from which I am running Apache).

(edit: removed my URL because some people tried to hax0r me)

Ohh, btw... do any of you know of a good custom Apache error tutorial (for beginners, like me, preferrably)?

Thanks!

Last edited by CodE-E : January 30th, 2002 at 12:44 AM.

Reply With Quote
  #2  
Old January 29th, 2002, 04:13 PM
mezz mezz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 310 mezz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
No, I don't see any of error. Did you configure in the httpd.conf and add few htmls or whatever to view the error in HTML?

If you didn't configure in httpd.conf then you will have to uncomment to enable those in there.

ErrorDocument 400 /cgi-bin/error.cgi?400
ErrorDocument 401 /cgi-bin/error.cgi?401
ErrorDocument 402 /cgi-bin/error.cgi?403
ErrorDocument 404 /cgi-bin/error.cgi?404
ErrorDocument 500 /cgi-bin/error.cgi?500

Ingore /cgi-bin/error.cgi?400 and change to your html files or whatever that will view as Error 404 in HTML.

Reply With Quote
  #3  
Old January 30th, 2002, 12:47 AM
CodE-E CodE-E is offline
<(>_~)>
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Posts: 315 CodE-E User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
Quote:
No, I don't see any of error. Did you configure in the httpd.conf and add few htmls or whatever to view the error in HTML?


I'm not really sure what you mean... (I'm a newbie!)

As said, I've got 'ServerSignature On'... I don't know of any other value in the httpd.conf which affects Apache-generated error pages (besides 'ErrorDocument ...', but I don't have any custom errors defined yet).

Reply With Quote
  #4  
Old January 30th, 2002, 02:52 AM
mezz mezz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 310 mezz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
>> I'm not really sure what you mean... (I'm a newbie!)

What OS are you using with Apache Server? Windows? Linux? BSD?

Anyway, you are newbie and you should read few docs at http://httpd.apache.org/docs/ ..

>> I don't know of any other value in the httpd.conf which affects Apache-generated error pages (besides 'ErrorDocument ...',

You should open your httpd.conf and you will see a lot of comments there for you what to enable and disable stuffs.

>> but I don't have any custom errors defined yet).

Well, you should if you want to have the custom errors. You just create six html, php or perl files for 400, 401, 402, 403, 404 and 500. Those errors are the most common.

When you are done, then put those error files inside Apache's directory and correct the path inside httpd.conf. You should see the "ErrorDocument" w/out quote in the near bottom. Just use find or search option to find it.

Reply With Quote
  #5  
Old January 30th, 2002, 04:50 AM
CodE-E CodE-E is offline
<(>_~)>
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2002
Posts: 315 CodE-E User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 7
I just checked my webserver from a school computer and I'm getting Apache-generated errors... weird.

Anyway, thanks for the help!

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > No Apache Errors In Internal Network! o_O


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