Re: Access environment variables CONTENT (Not EXISTENCE) in apache2.conf

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

 



On 5/18/07, George Thanos <gthanos@xxxxxxxxxxxxxx> wrote:

Dear list,

Can I access the content (NOT the existence) of an httpd environment
variable from the apache configuration file?

For example (in the following sample)

1  <Directory /web/images>
2     Order Deny,Allow
3     Deny from all
4     Allow from env=ENV_VARIABLE
5  </Directory>

I would like something like : Allow from ENV_VARIABLE == env_var_value

I have searched documentation and the internet without lack. I suppose
the answer is NO and this is totally out of the logic of the web server.

SetEnvIf ENV_VARIABLE ^env_var_value$ gotit=1
Allow from env=gotit

Joshua.

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