Redirect non-www ssl traffic to www ssl (apache)
- by The NinjaSysadmin
Hello,
I'm attempting to get a redirect which is failing, and for some reason I can't think today. I have a vHost file within HTTPD that listens on standard port 80 and port 443. I'm attempting to redirect https://domain.com/(.*) to https://www.domain.com/$1 so that the URL remains intact.
My config is as follows:
ServerName www.domain.com
…