First time here? Check out the FAQ!

c_j_walesch's profile - activity

2017-01-22 05:47:43 -0500 received badge Notable Question (source)
2016-03-14 09:35:54 -0500 received badge Popular Question (source)
2016-03-14 09:35:54 -0500 received badge Famous Question (source)
2013-11-19 10:28:04 -0500 asked a question HTTPS-only on Apache: Redirects to HTTP

I configured askbot on apache/wsgi with https only. When I enter the base url https: //myserver.com/ask/ in a browser, I get redirected to http: //myserver.com/ask/questions/. This gets my a 404, because didn't (and don't want to) configure http.

My config:

<VirtualHost 1.2.3.4:443>
 ServerAdmin root@myserver.com
 DocumentRoot /srv/askbotqa
 ServerName myserver.com

 SSLEngine on
 SSLCertificateFile /etc/apache2/ssl/server.crt
 SSLCertificateKeyFile /etc/apache2/ssl/server.key

 Alias /admin/media/ /usr/local/lib/python2.6/site-packages/django/contrib/admin/media/
 WSGIScriptAlias /ask/ /srv/askbotqa/django.wsgi

 CustomLog /var/log/httpd/askbot/access_log common
 ErrorLog /var/log/httpd/askbot/error_log
</VirtualHost>

How can I make it work with https only?

2013-11-19 10:01:36 -0500 received badge Autobiographer