Loading...
 
Skip to main content

Architecture / Installation


HTTP > HTTPS redirect broken

Hi Team.

I had this working correctly, but let someone assist in trying to help Munin Apache stats for TW show up correctly. Some modifications were done to the httpd.conf file, and now the HTTP > HTTPS redirect doesn't work. I don't think the guy modified .htaccess, only the Apache conf files.

I now have (3) .conf files, and I'm pasting what should be the relevant info from those files, as I am pretty certain he was only modifying the Virtual Host containers.

Can someone please take a look? I'm going to spend some time just going over Apache documentation, but wanted to get this out there.

going to any wiki page with "https" works, just the redirect is busted.

Thanks!

Copy to clipboard
#### httpd.conf ##### ExtendedStatus On SetHandler server-status Order deny,allow Deny from all Allow from 127.0.0.1 NameVirtualHost *:80 ServerAdmin he...@ab... ServerName 127.0.0.1 SetHandler server-status Order Deny,Allow Deny from all Allow from 127.0.0.1 #### 20101020httpd.conf ##### NameVirtualHost *:80 ServerAdmin he...@ab... ServerName 127.0.0.1 SetHandler server-status Order Deny,Allow Deny from all Allow from 127.0.0.1 #### httpd.conf.old ###### Listen 10.0.100.249:80 Listen 127.0.0.1:80 NameVirtualHost *:80 ServerAdmin he...@ab... ServerName 127.0.0.1 SetHandler server-status Order Deny,Allow Deny from all Allow from 127.0.0.1 ServerName wiki.abc.com DocumentRoot /var/www/html/tiki ServerAdmin he...@ab... CustomLog logs/wiki.abc.com-access_log combined ErrorLog logs/wiki.abc.com-error_log

I did see this on a previous post in this forum from 2006

RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}Question


that should be in .htaccess?