Tagged Questions
3
votes
1answer
123 views
redirect non-www to www while preserving protocol
I am aware of the fact that there are tons of questions in this section and in server fault dealing with re-directions from non-www to www URLs. But I couldn't find one dealing with this issue while ...
1
vote
2answers
2k views
Mod Rewrite - directing HTTP/HTTPS traffic to the appropriate virtual hosts
I have an Apache2 web server (v. 2.2.16) running on Debian hosting three virtual hosts. The first two hosts are HTTP only (server1 and server2). The last host is HTTPS only (server3). My virtual host ...
6
votes
3answers
1k views
Force SSL and WWW in .htaccess
I'm looking for a way to force SSL and WWW.
I've been able to force both separately but together I keep running into redirection issues. The following code works when handling a URL in this format: ...
4
votes
1answer
5k views
Properly force SSL with .htaccess, no double authentication
I'm trying to force SSL with .htaccess on a shared host. This means there I only have access to .htaccess and not the vhosts config. I know you can put a rule in the VirtualHost config file to force ...