Hello,
I am setting up a reverse proxy in front of an application (Atlassian Jira). I intentionally only want to use Apache to do the job and not modify Jira's configuration to work correctly behind a proxy.
So I have a configuration like this:
ProxyRequests Off
ProxyPreserveHost on...
Yes, exaclty, but the environment from which Apache calls the rewrite map program appears to be totally empty. In Perl, the %ENV hash is empty, I have just tried (my program is in C++). I expected, that Apache would call the program with the same environment that Apache itself is started, but...
Hi,thanks for the quick answer! :-)
I understand how I can use this to condition the execution of the rewrite rules, but how would I access this variable INSIDE a program used as the rewrite map, say executed if the condition you mention is matched?
Ralf
Hi,
I have been looking for a solution to my problem almost everywhere now, but still no success. Maybe someone here can help!
I have a program that acts as a rewrite map to mod_rewrite. Now, Apache starts the map only once, and not for every request. So far so good. I'd like to read a variable...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.