Forum Moderators: phranque

Message Too Old, No Replies

SCRIPT FILENAME and mod proxy

SCRIPT_FILENAME changes when using mod_proxy

         

sensming

6:57 pm on Jul 15, 2008 (gmt 0)

10+ Year Member



In Apache 1.3, I am trying to make mod_gzip work over SSL by using mod_proxy, per the instructions here;

[lists.over.net...]

Which works fine.

It does, however, alter my SCRIPT_FILENAME environment variable.

For example, when I go to my perl-status page, now, instead of having;

SCRIPT_FILENAME = <document root>/perl-status

I have;

SCRIPT_FILENAME = proxy:http://localhost:44300/perl-status?env

I am relatively sure that if I change this variable this way, I'll upset at least some of the applications that run here.

Is there anything I can do to not have the proxy details listed in this variable when using a ProxyPass directive?