Arnar

The following successfully does HTTPS and mod_proxy.
Only problem left is the Redirect rule.
If someone types http://myapp.org/log_in I want it to
automatically convert to https://myapp.org/log_in.

Listen 443
NameVirtualHost *:80
NameVirtualHost *:443
<VirtualHost *:80>
 ServerName        myapp.org
 ServerAlias       www.myapp.org
 DocumentRoot      /var/www/myapp
 Redirect          /log_in      https://myapp.org/log_in
 ProxyPass         /    http://127.0.0.1:8080/
 ProxyPassReverse  /    http://127.0.0.1:8080/
</VirtualHost>
<VirtualHost *:443>
 ServerName        myapp.org
 ServerAlias       www.myapp.org
 DocumentRoot      /var/www/myapp
 SSLEngine             On
 SSLCertificateFile    /etc/apache2/ssl/mydomain.publickeysigned
 SSLCertificateKeyFile /etc/apache2/ssl/mydomain.privatekey
 ProxyPass         /    http://127.0.0.1:8080/
 ProxyPassReverse  /    http://127.0.0.1:8080/
</VirtualHost>


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to