0
は、私は私のmycooldomain.com.conf(apache2の)それはhttpsにリダイレクトapache2のハンドルサブドメインとSSL
Redirect permanent/https://mycooldomain.com
にこのラインを持っています。 私は何をしようとしていますが、すべてのドメイン要求は、例えば、httpsを を通過しながら、HTTPにサブドメインをリダイレクトです:user.mycooldomain.com/blah今http://user.mycooldomain.com にサブドメインをリダイレクトする一方 mycooldomain.com/helpはhttps://mycooldomain.com にリダイレクトされます
RewriteEngine on
RewriteCond %{HTTP_HOST} user.mycooldomain.com
RewriteRule ^(.*)$ http://user.mycooldomain.com/$1 [QSA, R=301, L]
Redirect permanent/https://mycooldomain.com
:書き換えルールを追加します