httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Zuckerman <j.zucker...@gmail.com>
Subject Re: [users@httpd] Conditional .htaccess
Date Mon, 19 Oct 2009 23:21:10 GMT
On Mon, Oct 19, 2009 at 3:17 PM, Scott Haneda <talklists@newgeo.com> wrote:
> Is it possible to have .htacess values be conditional in any way.  For
> example:
>
> if (my ip address is accessing the site)
>        some apache directive here
> end if
>
> --
> Scott * If you contact me off list replace talklists@ with scott@ *
>
>
> ---------------------------------------------------------------------
> 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
>
>

".htaccess values" could be more specific...
.htaccess is a file which allows you to do many types of apache
configuration dynamically in a directory without having to restart the
webserver.  If you're talking about URL rewriting, here's somewhere to
start (replace the 2.2 with whatever major.minor version of apache
you're using):
http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html#rewritecond

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