0

I'm trying to redirect ALL traffic for http://*.domain.com to https://secure.domain.com.

What I have so far:

NameVirtualHost *:80
<VirtualHost *:80>
  ServerName domain.com
  ServerAlias *.domain.com
  RewriteEngine On
  RewriteCond %{HTTPS} off
  RewriteRule (.*) https://secure.domain.com%{REQUEST_URI}
</VirtualHost>

This seems to work for:

www.domain.com
www.domain.com/whatever
anything.domain.com
anything.domain.com/whatever

But not for:

domain.com
domain.com/whatever

What am I missing?

1 Answer 1

0

Hmm... disregard, I think:

Seems to be affecting only Chrome right now, and only in non-incognito mode.(?!)

Works as expected in Safari, Chrome (incognito) and Firefox (all on Mac).

Not working in Chrome (non-incognito mode)... perhaps some odd caching issue?

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .