httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Covener <cove...@gmail.com>
Subject Re: [users@httpd] Htaccess Help
Date Tue, 26 Apr 2011 17:25:13 GMT
On Tue, Apr 26, 2011 at 12:56 PM, Matt <lm7812@gmail.com> wrote:
> I have an .htaccess file like so.
>
> order allow,deny
>
> allow from x.x.x.0/24
>
> I have this in my root html directory and it works fine.  Only allows
> access by the x.x.x.0/24 subnet.  Thing is I have one file
> ~"siteinfo.html" that I want to allow anyone to access.  How would I
> do that?

<Files siteinfo.html>
allow from all
</Files>
>
> ---------------------------------------------------------------------
> 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
>
>



-- 
Eric Covener
covener@gmail.com

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