Raj, thanks for the help. I'm using Apache 2.2.9 My AJP configs in ofbiz-containers.xml is as follows:
<property name="ajp-connector" value="connector"> <!-- see http://jakarta.apache.org/tomcat/tomcat-5.5-doc/config/ajp.html for reference --> <property name="allowTrace" value="false"/> <property name="emptySessionPath" value="false"/> <property name="enableLookups" value="false"/> <property name="maxPostSize" value="2097152"/> <property name="protocol" value="AJP/1.3"/> <property name="proxyName" value=""/> <property name="proxyPort" value=""/> <property name="redirectPort" value=""/> <property name="scheme" value="http"/> <property name="secure" value="false"/> <property name="URIEncoding" value="UTF-8"/> <property name="useBodyEncodingForURI" value="false"/> <property name="xpoweredBy" value="true"/> <!-- AJP/13 connector attributes --> <property name="address" value="127.0.0.1"/> <property name="backlog" value="10"/> <property name="maxSpareThreads" value="8000"/> <property name="maxThreads" value="8000"/> <property name="minSpareThreads" value="4000"/> <property name="port" value="8087"/> <property name="tcpNoDelay" value="true"/> <property name="soTimeout" value="6000"/> <property name="tomcatAuthentication" value="false"/> </property> and I'm running my app on port 8087 Do you see anything out of ordinary with this config? Thanks again, Alex >>> Raj Saini <[EMAIL PROTECTED]> 7/21/2008 10:14 PM >>> Alex, Which version of Apache web server you are using? I have this working on Fedora and Ubuntu/Debian server. As far as I know, you will certainly need 2.2.x. Also double check the Tomcat AJP connector ports are same as you have configured in Apache web server. Thanks, Raj Alex Melnik wrote: > I tried option 2 and I used how-tos from the following link: > > http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-Howtousemodproxyajp > > > and the error I get is: > > [Mon Jul 21 16:40:30 2008] [error] (70007)The timeout specified has expired: > ajp_ilink_receive() can't receive he > ader > [Mon Jul 21 16:40:30 2008] [error] ajp_read_header: ajp_ilink_receive failed > [Mon Jul 21 16:40:30 2008] [error] (120006)APR does not understand this error > code: proxy: read response failed f > rom (null) () > > Any ideas? > > >>>> Raj Saini <[EMAIL PROTECTED]> 7/14/2008 11:45:23 AM >>> >>>> > > There are different way of doing it: > > 1. Mount your application to root mount point change the http port to 80 > and SSL to 443. > 2. Front OFbiz server with Apache web server and use mod ajp proxy, > mod_jk or mod_rewrite. You can find more about mod_jk and mod_ajp_proxy > somewhere on wiki and mailing list. > > Thanks, > > Raj > Robert Volke wrote: > >> Hi, >> >> I'm trying to redirect the url for my ecommerce application. So what I need >> to make happend is when somebody types in www.sitename.com it should >> redirect to http://server.domain:<port>/ecommerce . >> I'm trying to look at Apache HTTP redirect but is there an easier way? >> >> Thanks >> >> >> >> > > > >