httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "BAO RuiXian" <bao.ruix...@atbusiness.com>
Subject Re: [users@httpd] Custom Server Error Docs Again
Date Wed, 19 Mar 2003 15:59:24 GMT

----- Original Message -----
From: "Jason M. Kuhlman" <jkuhlman@oglecounty.org>
> So I'm about to give up on this and just use the default documents.  If I
> have the custom server error documents that I created in a folder called
> webdocs/errordocs/... What to I need to insert into my httpd.conf to get
> these to work?
>
>    Alias /error/ "C:/Webdocs/ErrorDocs/"
> <Directory "C:/Webdocs/ErrorDocs/">
>    AllowOverride none
>    Options MultiViews IncludesNoExec FollowSymLinks
>    Order allow,deny
>    allow from all
> </Directory>
>
>    "403 Forbidden" ,
>    ErrorDocument  403  /error/403
>    "404 Not Found",
>    ErrorDocument  404  /Error/404

How about not using Alias, and directly use the following directives:

    ErrorDocument 403 /ErrorDocs/403
    ErrorDocument 404 /ErrorDocs/404

if C:/Webdocs is your server's DocumentRoot.

Best

Bao
>
> I have this in there now but don't have access to the folder through the
> browser.  I get the 403 permission denied page which isn't, by the way,
the
> custom one I created...
>
> Thanks for all the help


---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message