jmreinwald
Technical User
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 "C:/homefolder/htdocs/error">
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ErrorDocument 404 "/error/HTTP_BAD_REQUEST.html"
--
When I try "localhost/error/HTTP_BAD_REQUEST.html" it does come up, so I know the alias is right and the server "sees" the page. I can't get the auto "redirect" to work.
Thanks,
Joe
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 "C:/homefolder/htdocs/error">
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ErrorDocument 404 "/error/HTTP_BAD_REQUEST.html"
--
When I try "localhost/error/HTTP_BAD_REQUEST.html" it does come up, so I know the alias is right and the server "sees" the page. I can't get the auto "redirect" to work.
Thanks,
Joe