httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Shannon" <lshan...@hypermedia.com>
Subject Re: [users@httpd] httpd help
Date Tue, 30 Nov 2004 17:56:16 GMT
Thanks Joshua! The second option:

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

Is what I am looking for. Can extend this to include the whole public folder
(the images used in 500.html need to be accessable as well).

Also since it looks like I will be doing more of this type of thing what is
a good reference book I can pick up for a beginner to perform tasks such as
these?

Thanks,

Luke

----- Original Message ----- 
From: "Joshua Slive" <jslive@gmail.com>
To: <users@httpd.apache.org>
Sent: Tuesday, November 30, 2004 12:46 PM
Subject: Re: [users@httpd] httpd help


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



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