ok, thanks! is it possible to change "control" to "s" for example? like so: "<url-pattern>/s/*</url-pattern>" how do i send a request variable from ftl to bsh? what about hrefs? Thank you so much for your help
BJ Freeman wrote: > > (proxyPass /shop ajp://localhost:8009/). > /shop is what apaches sees and yes passes it to / > > so what ever you have mounted in ofbiz web.xml as / is what will receive > the URI > > so then if you have on the apache side > /shop/Main the ofbiz side with not re-write will not know which > component to send it to. > > even if you do say a /shop/catalog > you will have to do a rewrite to make it /catalog/control/main on the > ofbiz side. > and ofcourse once you do that then it will show in the URL. > > there has been a lot of discussion on the dev list about tightening the > security. On the Https side on parameters are allowed thru the URL. they > must be in the session and passed as context or request > The happened about a month before 904 was released. > > > lns_lns sent the following on 5/16/2009 10:46 AM: >> well, "shop" is not the ecommerce application, it is the "mount point" >> for >> the entire ofbiz, wich is running just one application , mounted to "/". >> i >> know the control is necessary, but shouldn't it be passed when added by >> url >> rewriting? >> what do you mean not allowed anymore? >> how do i have to pass parameters? >> Thanks! >> >> BJ Freeman wrote: >>> the control is necessary when passing to ofbiz >>> so if you going from >>> /shop/main/p/site=1/p/user=1" >>> to >>> /control/main/uri of ecommerce >>> then it works >>> also note that parameters in the URI are not allow for https anymore >>> I believe the design change may effect http also. >>> not sure. >>> >>> >>> >>> >>> lns_lns sent the following on 5/16/2009 9:17 AM: >>>> Hi, >>>> i've got ofbiz 9 behind apache 2.2.9 using a proxpass (proxyPass /shop >>>> ajp://localhost:8009/). >>>> i would like to get rid of the "control" and the "~" in front of >>>> parameters. >>>> I'm trying to get the rewriterule to work, with no success and after >>>> searching everywhere i thought this might be tha place to post. >>>> I want the entered url e.g. "/shop/main/p/site=1/p/user=1" to be >>>> rewritten >>>> to "/shop/control/main/~site=1/~user=1". This is my approach, but I'm >>>> sure >>>> there's something very wrong with it: >>>> "RewriteRule ^/shop/(.+)/p/(.+) /shop/control/$1/~$2" >>>> Can someone please help me? >>>> Thanks in advance. >>>> >>>> Regards >>>> Lukas >>> -- >>> BJ Freeman >>> http://www.businessesnetwork.com/automation >>> http://bjfreeman.elance.com >>> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro >>> Systems Integrator. >>> >>> >>> >> > > -- > BJ Freeman > http://www.businessesnetwork.com/automation > http://bjfreeman.elance.com > http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro > Systems Integrator. > > > -- View this message in context: http://www.nabble.com/proxypass-and-mod_rewrite-tp23575330p23576798.html Sent from the OFBiz - User mailing list archive at Nabble.com.
