httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Owen Boyle <...@bourse.ch>
Subject Re: Customized error docs...
Date Mon, 21 Jan 2002 08:08:36 GMT
urz.faisalm@sat.net.pk wrote:
> 
> hello...!
> 
> i have put a customized error document
> and its working fine...
> But the PROBLEM is no "gif" , "jpg" and "swf"
> are loading into the html page,
> means just html page is opening without any images.
> 
> and when i opened that error page by typing its url
> then everything is loading just fine.
> 
> In the documentroot i hav an .htaccess file so
> if i put these error pages anywhere within it then
> they itself need passwd so i just used ALIAS.
> 
> #######################################
> 
> Alias /errordocs /home/mine/errordocs
> 
> <Location /errdocs>
>   order deny,allow
>   deny from None
>   AllowOverride All
>   Options Indexes FollowSymLinks
> </Location>
> 
> ErrorDocument 401 /errdocs/401.html
> ErrorDocument 404 /errdocs/404.html
> 
> #######################################
> 
> Is this creating problem...?
> 
> but while opening that error page with its url like...
> 
> http://me.mydomain.com/errordocs/401.html <<<its just fine.
> 
> so where is the problem...???

I think you've got a typo somewhere... You have:

> Alias /errordocs /home/mine/errordocs

then later:

> ErrorDocument 404 /errdocs/404.html

So which directory is real? "errordocs" or "errdocs"?

Rgds,

Owen Boyle.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message