Adrian,

I think ?  I might understand what you are saying ????  Not 100% when
things doesn't  make sense yet....  I  don't know why the old host file
system path would not work.

***** old information in the main.flt before the mount changed in the
ofbiz-component.xml   ********

<!Doctype html>
<#include "component://ecommerce/webapp/ecommerce/sliderindex.html" >
</html>

It is No longer working when I changed the

         mount-point="/ecommerce"     to    mount-point="/"
in the /ofbiz14/specialpurpose/ecommerce/ofbiz-component.xml


If I have the sliderindex.html  under system path
/ofbiz14/specialpurpose/ecommerce/webapp/ecommerce

How would I define with a include in the main.flt file ????

Thanks,
-T

On Mon, Jun 22, 2015 at 5:52 PM, Adrian Crum <
[email protected]> wrote:

> A path in a URL is not the same as a host file system path.
>
> The component: scheme is an OFBiz shortcut to a location on the host file
> system, it is not an HTTP URL.
>
> Adrian Crum
> Sandglass Software
> www.sandglass-software.com
>
> On 6/22/2015 2:49 PM, Tom Running wrote:
>
>> 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
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>
>>

Reply via email to