I have never tried it though. Regards Scott
HotWax Media http://www.hotwaxmedia.com On 8/12/2009, at 7:25 AM, Len Shein wrote:
In and all it sounds as if I would like to implement rewrite rule I will need to install Apache httpd in front of the Ofbiz Tomcat, does that soundcorrect? -----Original Message----- From: Christopher Snow [mailto:[email protected]] Sent: Monday, December 07, 2009 12:37 PM To: [email protected] Subject: Re: Apache Mod Rewrite Rules I don't think you can add rewrite rules to tomcat.. If you do decide to use apache httpd, I would thoroughly recommend reading the apache httpd documentation as mis-configuring can lead to security holes. Cheers, Chris Len Shein wrote:How can I add rewrite rules to the Tomcat which is embedded in Ofbiz? Do I need Apache to do this? Thanks in advance Len -----Original Message----- From: Raj Saini [mailto:[email protected]] Sent: Monday, December 07, 2009 12:04 PM To: [email protected] Subject: Re: Apache Mod Rewrite Rules You dont need the Apache web server if your setup is really not thatcomplex. Tomcat is embedded in the OFbiz and you can simply change the ports (from 8080 to 80 and 8443 to 443) in ofbiz-containers.xml file. Ifyou are running already a Apache HTTPD and cant use the port 80 inOFBiz, I would suggest you to use AJP/Proxy. It is simple to configure.You can search mail archives and wiki to get some pointers. There is also documentation on Apache HTTPD site.Be careful about ProxyPassReverse as it is bit tricky. Have a look on myblogs on how to use ProxyPassReverseCookiesPath and ProxyPassReverse directive(http://www.viithiisys.com/web/raj/blog/-/blogs/apache-proxypassreverse-directive?_33_redirect=%252Findex.html) Thanks, Raj ||Len Shein wrote:No I have built an ecommerce application which is up and running in development and now I would like to move it a production server. My understanding of it was Apache/Tomcat is built into ofbiz and simply starting ofbiz everything is now ready.I now need to add the rewrite modules.. I thought this config went intotheofbiz files somewhere which would then be picked up when ofbiz was started... sounds like I was incorrect in this thinking.It sounds as if I now need to first install Apache for windows/ Apachehttpdand then deploy the app to apache? -----Original Message----- From: Christopher Snow [mailto:[email protected]] Sent: Monday, December 07, 2009 11:37 AM To: [email protected] Subject: Re: Apache Mod Rewrite Rules Hi Len,Are you just trying to get ofbiz up and running to try it out? If youare just trying out ofbiz, you don't need to install apache httpd. Cheers, Chris Len Shein wrote:I guess I am a bit confused. I have not installed apache httpd... I am simply starting ofbiz on a windows server. Do I need to first installApache and the start ofbiz? -----Original Message----- From: Christopher Snow [mailto:[email protected]] Sent: Monday, December 07, 2009 11:23 AM To: [email protected] Subject: Re: Apache Mod Rewrite Rules Hi Lenhttpd.conf is a configuration file for the apache httpd application, notfor the ofbiz application. What operating system are you running? How did you install apachehttpd?Cheers, Chris Len Shein wrote:Yes, where is the httpd.conf file located? I do not see it within theOfbizsource. Am I missing these files? -----Original Message----- From: Christopher Snow [mailto:[email protected]] Sent: Monday, December 07, 2009 10:59 AM To: [email protected] Subject: Re: Apache Mod Rewrite Rules Have you seen the following?http://cwiki.apache.org/confluence/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-HTTPD Len Shein wrote:Yes that is exactly what I want and I am not sure how to or where toaddtherules and in which file. Help would be greatly appreciated. -----Original Message----- From: Christopher Snow [mailto:[email protected]] Sent: Monday, December 07, 2009 10:25 AM To: [email protected] Subject: Re: Apache Mod Rewrite Rules Len,What are you trying to achieve? Are you trying to put apache httpd infront of tomcat? Cheers, Chris Len Shein wrote:Has anyone had any experience configuring the Apache mod proxy/ modrewritemodules within ofbiz?I am trying to run the ecommerce application on Apache/Tomcat and donotknow where to place the rewrite rules; has anyone accomplished this?Thank You Len Shein Email: [email protected] Email: [email protected] Office: 516.742.7888 ext.225 Home Office: 732.333.4303-- Chris Snow - CEng MBCS CITP MBA (Tech Mgmt) (Open) CISSP Tel: 01453 890660 Mob: 07944 880950 Www: www.snowconsulting.co.uk
smime.p7s
Description: S/MIME cryptographic signature
