cancel
Showing results for 
Search instead for 
Did you mean: 

/ not /alfresco/

stateless
Champ in-the-making
Champ in-the-making
I'm trying to setup https://example.com/ instead of https://example.com/alfresco/.

I'm using mod_proxy for the https side:

        ProxyPass / http://localhost:81/alfresco/
        ProxyPassReverse / http://localhost:81/alfresco/

and

   <Connector port="81" address="127.0.0.1" maxHttpHeaderSize="8192" debug="5"
                maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
                enableLookups="false" acceptCount="100"
                connectionTimeout="20000" disableUploadTimeout="true"
                proxyName="dms.kpac.co.nz" proxyPort="443" scheme="https" />


However I get the following error via a redirect when attempting to connect to https://example.com/.


HTTP Status 404 - /alfresco/alfresco/faces/jsp/dashboards/container.jsp

ie.

[nic@shell:~] wget –no-check-certificate https://dms.kpac.co.nz/
–16:50:17–  https://dms.kpac.co.nz/
           => `index.html'
Resolving dms.kpac.co.nz… 131.203.110.114
Connecting to dms.kpac.co.nz|131.203.110.114|:443… connected.
WARNING: Certificate verification error for dms.kpac.co.nz: self signed certificate
HTTP request sent, awaiting response… 302 Moved Temporarily
Location: https://dms.kpac.co.nz/alfresco/faces/jsp/dashboards/container.jsp [following]
–16:50:17–  https://dms.kpac.co.nz/alfresco/faces/jsp/dashboards/container.jsp
           => `container.jsp'
Connecting to dms.kpac.co.nz|131.203.110.114|:443… connected.
WARNING: Certificate verification error for dms.kpac.co.nz: self signed certificate
HTTP request sent, awaiting response… 404 /alfresco/alfresco/faces/jsp/dashboards/container.jsp
16:50:17 ERROR 404: /alfresco/alfresco/faces/jsp/dashboards/container.jsp.

I've tried to figure out if I can correct the behavior with the tomcat virtual servers configuration, but I'm stuck. Can any put though some configuration examples that might help me sort this out.
1 REPLY 1

jcox
Champ in-the-making
Champ in-the-making
Have another look at the docs for mod_proxy.
You're forgetting to set  "ProxyRequests off"  before
your other directives.

As an example for how to set up a reverse proxy,  see:

http://wiki.alfresco.com/wiki/Virtualization_Server_FAQ#How_can_you_simplify_the_URLs_that_end-users...


While the virt server faq shows how to make a "pretty"
reverse proxy facade for 1 virtualized webapp, the
technique you'd use for making the URL for the
Alfresco webapp itself would be quite similar.

I hope this helps you.

   Cheers,
   -Jon