httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jsl...@gmail.com>
Subject Re: [users@httpd] httpd help
Date Tue, 30 Nov 2004 17:46:48 GMT
On Tue, 30 Nov 2004 12:43:01 -0500, Luke Shannon
<lshannon@hypermedia.com> wrote:
> Hi;
> 
> I have an entry in my file:
> 
> <Directory "/usr/apache/apache_1.3.27/htdocs/bolt">
>     Options Indexes FollowSymLinks
>     AllowOverride All
>     Order allow,deny
>     Allow from host 10.208.3.105 204.225.84.27
> </Directory>
> 
> This allows only people from the IP addresses to see the files. Other people
> need to see a specific html document.  Here is what is in the .htaccess file
> for bolt:
> 
> ErrorDocument 403 /public/500.html
> 
> The problem is this public/500.html is in htdocs/bolt so the server won't
> let anyone see it.
> 
> I am very new to Apache what can I do some not allowed clients can at least
> see this one document?

Well, one easy way to do this is to use an Alias to point the /public
directory at someplace that is not convered by the access
restrictions.  Another way is

 <Directory "/usr/apache/apache_1.3.27/htdocs/bolt/public">
<Files 500.html>
Allow from all
</Files>
</Directory>

Joshua.

---------------------------------------------------------------------
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