Re: Conditional .htaccess

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

 



On Oct 19, 2009, at 4:21 PM, Jonathan Zuckerman wrote:

On Mon, Oct 19, 2009 at 3:17 PM, Scott Haneda <talklists@xxxxxxxxxx> 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

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

Sorry, I should have been more specific

php admin value and php flag values, I would like to only be enabled for my IP address, but publicly, I want them off, so the public does not see errors, only I do.
--
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux