Re: mod_rewrite / mod_jk not working together

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

 



On 27.12.2011 17:12, Eric Covener wrote:
What am I missing?  How do I make mod_jk use the mapped URL from
mod_rewrite?  (And send the mapped URL on to Tomcat instead of sending the
original URL)?

The PT flag, but there is also a mod_jk bug or config element that can
prevent that from working IIRC.

Correct, apart from the needed [PT] flag for the RewriteRule there are old outdated mod_jk config snippets floating in the web containing

JkOptions     +ForwardURICompatUnparsed

which is garbage. With non-antique mod_jk versions (>=1.2.24), it is best to remove any ForwardURI* JkOption.

Jerry: you might want to read about it on

http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html

and

http://tomcat.apache.org/connectors-doc/generic_howto/proxy.html

Regards,

Rainer


---------------------------------------------------------------------
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