I've been successfully proxying older versions of Sage behind Apache2 using SSL. The same script doesn't work with Sage 5.2 for some reason.
Here is my Apache code below (Code below redirects all to HTTPS.) The new problem is that when I try to log in as admin....Sage tries to go to https://sage.phil4.comhome/admin instead of https://sage.phil4.com/home/admin (Notice missing / in the middle!) Any help greatly appreciated. <VirtualHost 72.14.188.15:80> # ============================================================================= ServerName sage.phil4.com ServerAlias www.sage.phil4.com DocumentRoot /var/www Options Indexes FollowSymLinks # ============================================================================= <Directory /home/seb/MAIN/phil4/apache> Order Allow,Deny Allow from All </Directory> # ============================================================================= Redirect / https://sage.phil4.com # ============================================================================= </VirtualHost> <VirtualHost 72.14.188.15:443> # ============================================================================= ServerName sage.phil4.com ServerAlias www.sage.phil4.com DocumentRoot /var/www Options Indexes FollowSymLinks # ============================================================================= <Directory /home/seb/MAIN/phil4/apache> Order Allow,Deny Allow from All </Directory> # ============================================================================= SSLEngine On SSLCertificateFile /etc/apache2/ssl/sage.phil4.com.cert SSLCertificateKeyFile /etc/apache2/ssl/sage.phil4.com.private_key SSLCertificateChainFile /etc/apache2/ssl/sage.phil4.com.int_cert # ============================================================================= ProxyPass / http://127.0.0.1:8000/ ProxyPassReverse / http://127.0.0.1:8000/ # ============================================================================= </VirtualHost> -- You received this message because you are subscribed to the Google Groups "sage-support" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sage-support?hl=en.
