Questions tagged [setenv]
32 questions
0
votes
2 answers
Apache .htaccess set a header if Request URI does not exactly match a desired value
Goal: using a .htaccess file in /directory/, if request URI does NOT exactly match "/directory/" then set a header. For example, the header SHOULD be set if the request URI is "/directory/index.php", "/directory/?something", or…

Displayname71
- 109
- 1
- 7
-2
votes
2 answers
setting apache environment variable
My hosting environment using Server version: Apache/2.2.14 (Unix) and I am modifying ./usr/local/apache/conf/httpd.conf to set environment variable and restarting the server .
SetEnv XML-RPC-IPs 193.45.32.21
I did set it as a first entry in the file…
Kiran