[Building Sakai] Proxying through Apache

chuot con chuot_con1999 at yahoo.com
Wed Apr 7 04:05:34 PDT 2010


Hi all,

I need to set up SSL with tomcat proxying through Apache. When I access this URL:https://localhost/portal, the browser automated to redirect to https://localhost:8443/portal
How do I config the server run on port 80 ?

This is configuration of server.xml file:

    <Connector port="8080" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" redirectPort="8443" acceptCount="100"
               connectionTimeout="20000" disableUploadTimeout="true" URIEncoding="UTF-8" 
               proxyName="localhost" proxyPort="8443" scheme="https" address="localhost" />

    <Connector port="8443" maxHttpHeaderSize="8192"
               maxThreads="150" minSpareThreads="25" maxSpareThreads="75"
               enableLookups="false" disableUploadTimeout="true"
               acceptCount="100" scheme="https" secure="true"
               clientAuth="false" sslProtocol="TLS" URIEncoding="UTF-8" 
               proxyName="localhost" proxyPort="8443"/>


This is configuration of sakai.properties file:
# SECURITY
#force.url.secure=443


This is configuration of httpd.conf file:
ProxyPass /apachehostedpath ! 
ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/


I have referenced in this site :
http://confluence.sakaiproject.org/display/DOC/Sakai+Admin+Guide+-+Advanced+Tomcat++%28and+Apache%29+Configuration

http://n2.nabble.com/Deploying-Sakai-Proxying-through-Apache-td3142458.html#a3142663
But I could resolve it.

Please help me resolve this problem. 
Thanks for your helping.

Regards.

Thinh.



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100407/59d608c7/attachment.html 


More information about the sakai-dev mailing list