I am running apache 2.0.50 on SuSE 9.2. I also run
Tomcat 5.0.28 and pass connections to it from Apache. I installed Apache from
the SuSE package.
My RewriteRule is not working. It appears to be
completely ignored. Connections get passed to Tomcat via the Proxy pass w/o
being rewritten.
I have enabled the RewriteRuleLog and set the log level to 9. The log file is created but is not written to. I am missing something obvious I am sure but am too much of a newbie still to be sure just what. Any suggestions are appreciated.
My settings:
RewriteRule ^/gift/(.*)$ http://www.myserver.com/buy.jsp?gift=$1 RewriteRule ^/refer/(.*)$ http://www.myserver.com/buy.jsp?refer=$1 ProxyPass /download/ http://www.myserver.com/download/ ProxyPassReverse /download/ http://www.myserver.com/download/ ProxyPass / http://127.0.0.1:8080/ ProxyPassReverse / http://127.0.0.1:8080/ </VirtualHost> Thanks,
David
|