|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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. |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
|||
|
|||
|
Quote:
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). |
|
#4
|
|||
|
|||
|
>> 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. |
|
#5
|
|||
|
|||
|
I just checked my webserver from a school computer and I'm getting Apache-generated errors... weird.
![]() Anyway, thanks for the help! |
![]() |
| Viewing: Dev Shed Forums > System Administration > Apache Development > No Apache Errors In Internal Network! o_O |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|