Thanks to all who responded. 

Joost had it right. I changed the order of the modules that load, moving the
2 proxy modules to the end of the list as shown below.

LoadModule rewrite_module /usr/lib64/apache2-prefork/mod_rewrite.so
LoadModule proxy_module /usr/lib64/apache2-prefork/mod_proxy.so
LoadModule proxy_http_module /usr/lib64/apache2-prefork/mod_proxy_http.so

My rewrite rules are working now along with the ProxyPass statements.

Thank you very much!

David


-----Original Message-----
From: Joost de Heer [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, February 21, 2006 2:23 AM
To: David Hull
Cc: users@httpd.apache.org
Subject: [EMAIL PROTECTED] Re: RewriteRule being ignored

David Hull wrote:
> 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.


In what order are mod_proxy and mod_rewrite loaded? A gross simplification,
but in general, the last loaded module gets called first.

Joost


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to