[Building Sakai] Proxying through Apache
Steve Swinsburg
steve.swinsburg at gmail.com
Wed Apr 7 05:22:45 PDT 2010
Hi Thinh,
For fronting Tomcat with Apache via mod_proxy_ajp, there is a mini guide here:
http://confluence.sakaiproject.org//x/PgMAB
This is for a pretty minimal setup and no SSL. If you prefer mod_jk with SSL terminated at Apache, I can send through the settings for that as well.
cheers,
Steve
On 07/04/2010, at 9:05 PM, chuot con wrote:
> 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.
>
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20100407/26921bb6/attachment.html
More information about the sakai-dev
mailing list