Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with custom 404 page not showing

Status
Not open for further replies.

jmreinwald

Technical User
Jun 3, 2002
46
US
Hi,

I can't for the life of me figure out what I'm doing wrong here--it's probably something simple that I'm just overlooking. I'm trying to create a custom 404 page. I'm running 2.0.43 in a Win2K machine. Here's what I have in my config file:
--
Alias /error/ "C:/homefolder/htdocs/error/"
<Directory &quot;C:/homefolder/htdocs/error&quot;>
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ErrorDocument 404 &quot;/error/HTTP_BAD_REQUEST.html&quot;
--

When I try &quot;localhost/error/HTTP_BAD_REQUEST.html&quot; it does come up, so I know the alias is right and the server &quot;sees&quot; the page. I can't get the auto &quot;redirect&quot; to work.

Thanks,
Joe
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top