question about changing Apache "Authorized Required" page to other page

Brian Densmore DensmoreB at ctbsonline.com
Thu Apr 15 19:49:32 CDT 2004


Not sure what your problem is. It looks more like a browser/spelling
issue than a server issue. I went to jcho.net and punched in an
non-existing page and got the stock apache error document. As the link 
says, you can use any local page as the 404 not found error page. You
have to define it in your httpd.conf file though and restart Apache or
force Apache to reread the config file.

> -----Original Message-----
> From: Joe Cho 
> 
> First thank you for helping me.
> 
> It works on the page "Authorization Required" on Apache 1.3.27 
> when I type a wrong password on the password protected page.
> 
> But one thing though, I try to display a message on non-existing page or
> Directory, it doesn't do that.
> I am not sure whether Apache_1.3_27 has a limitation.
> It simply display some weird web site like
> http://search.lycos.com/default.asp?src=clear3&loc=top50&query=jcho
> 
> Is there any way I can control the display message
> as long as someone type my web server name and non-existing page or
> directory??
> Such as 
> http://www.microsoft.com/solution-for-world-hunger.html
> 
> Then, I can display my own message like
> "We are working on it. Be patient."
> 
> 
...

> http://httpd.apache.org/docs-2.0/mod/core.html#errordocument




More information about the Kclug mailing list