I am a bit confused with the path.
********************* This is what I have before changed the mount-point="/" ************* <!Doctype html> <#include "component://ecommerce/webapp/ecommerce/sliderindex.html" > </html> What should the new path be defined as? <#include "component://sliderindex.html" > Thanks, -Tom On Mon, Jun 22, 2015 at 5:39 PM, Tom Running <[email protected]> wrote: > I got it to work now for port 80. > > These are the files that I modified. > > *********Change Port 8080 t0 80 files **************************** > /root/app1/ofbiz14/framework/webapp/config/url.properties > /root/app1/ofbiz14/framework/catalina/ofbiz-component.xml > /root/app1/ofbiz14/specialpurpose/jetty/ofbiz-component.xml > > Thank you for your help, > -T > > On Mon, Jun 22, 2015 at 5:09 PM, Tom Running <[email protected]> > wrote: > >> Thanks Mandeep, >> >> If I left it at port 8080 and changed the ofbiz-component.xml) to "/". >> >> Then I can access to the ecommerce website. >> >> >> But when I change it to port 80 in the url.properties and changed the >> ofbiz-component.xml) to "/" >> I can not get access to the ecommerce website. >> >> >> What am I missing. >> >> Here are my configuration: >> >> **********/ofbiz14/framework/webapp/config/url.properties*************** >> # HTTP Port (Not Secure port) >> port.http=80 >> force.http.host= >> >> >> *****/ofbiz14/specialpurpose/ecommerce/ofbiz-component.xml ******** >> <webapp name="ecommerce" >> title="eCommerce" >> server="default-server" >> location="webapp/ecommerce" >> mount-point="/" >> app-bar-display="false"/> >> >> >> >> >> Thanks, >> -T >> >> On Mon, Jun 22, 2015 at 3:55 PM, Mandeep Sidhu <[email protected] >> > wrote: >> >>> Change the port in url.properties to 80 and set mount point of your >>> ecommerce component (ofbiz-component.xml) to "/". >>> port.http=80 >>> >>> For production deployments it's always better to use virtual hosts >>> configured in your apache HTTPD config file. >>> >>> On Mon, Jun 22, 2015 at 1:38 PM, Tom Running <[email protected]> >>> wrote: >>> >>> > I need the ecommerce website to run on port 80 with a shorter URL. >>> > >>> > How to change this URL >>> > >>> > http://erp1.test.com:8080/ecommerce/control/main >>> > >>> > To >>> > >>> > http://erp1.test.com >>> > >>> > Permanently >>> > >>> > >>> > Thanks, >>> > -T >>> > >>> >> >> >
