Re: .htaccess

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



Matt wrote:
> I use the following .htaccess file to restrict access to certain web
> folders to only my IP pool.
>
> Options +Indexes
> order allow,deny
> allow from x.x.x.
>
> Is there anyway to allow a user right in if there in that IP pool but
> require a password if there not?\

I'm not sure if it can be done in .htaccess but a rewrite rule should
be able to do the trick

http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritecond

nate

_______________________________________________
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