httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Hull" <dbhu...@hotmail.com>
Subject RE: [users@httpd] Re: RewriteRule being ignored
Date Tue, 21 Feb 2006 18:03:28 GMT
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:sanguis@xs4all.nl] 
Sent: Tuesday, February 21, 2006 2:23 AM
To: David Hull
Cc: users@httpd.apache.org
Subject: [users@httpd] 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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message