No there are no other ways. But it's far simpler to use mod_proxy_ajp
than mod_jk
http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-Howtousemodproxyajp
In theory, you should be able to write a Tomcat filter to do this and
indeed I came across one [1]. Unfortunately when I tried it a couple of
years ago I couldn't get it to fully work. That's a shame because using
a full blown Apache server when a single Tomcat instance would suffice
is overkill.
If anyone has more success let me know!
Regards,
David Legg
[1] http://tuckey.org/urlrewrite/
Jacques
From: "masionas" <[email protected]>
Actually, yes. I am sorry. That was not David. The topic I was
talking about
is
http://www.nabble.com/URL-Rewriting-td13436253.html#a13436253
But anyway, you say "why not using mod_rewrite direcly?" Could you
please be
more specific?
As I understand in order to use Apache's mod_rewrite I have to put
Apache
HTTPD as front-server and use mod_jk as Tomcat connector? Or is there
any
other way?
jacques.le.roux wrote:
I'm not sure David ever adviced to use Tuckey. I asked once but I
got no
clear answers but that OFBiz is already automatically rewriting url
to be search engines friendly.
I'm not sure why you want to rewrite URLs but why not using mod_rewrite
direcly (though Tuckey should work also, I finally used mod_rewrite)
? Note also tha Google is less and less prone to errors while
indexing weird URLs.
HTH
Jacques
--
View this message in context:
http://www.nabble.com/Can%27t-get-URL-Rewrite-Filter-to-work-tp21919012p21932575.html
Sent from the OFBiz - User mailing list archive at Nabble.com.