Win32 Apache 2.2.6 Allow from env= issue
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
I'm trying to restrict access to only instances where an environment variable is present (eventually to be set via PHP)
This simple case (from httpd.conf) denies access:
SetEnv TEST_VAR
<Directory "Z:/Web Root">
Options FollowSymLinks
AllowOverride None
Order allow,deny
allow from env=TEST_VAR
</Directory>
******************** BUT ******
changing "env=TEST_VAR" to "all" grants access, shown below:
SetEnv TEST_VAR
<Directory "Z:/Web Root">
Options FollowSymLinks
AllowOverride None
Order allow,deny
allow from all
</Directory>
It seems like Apache is not passing the "env=TEST_VAR" test, even
though everything I've found in the documentation and forums says this should work.
Any help is appreciated.
Get easy, one-click access to your favorites.
Make Yahoo! your homepage.
[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]