Re: Htaccess Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Mon, Apr 25, 2011 at 04:23:41PM -0500, Matt wrote:

> Been looking for a while on this before resorting to asking.  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?

Put it outside of the directory tree with the .htaccess, but
still within the DocumentRoot  -- or UserDir (the one that maps 
addresses to user's home_dir/userdir addressed as host.name/~userid/)
if it is in user space.

////jerry

> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux