RE: [users@httpd] Re: RewriteRule being ignored

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx] 
Sent: Tuesday, February 21, 2006 2:23 AM
To: David Hull
Cc: users@xxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux