Answer the question
In order to leave comments, you need to log in
Why doesn't RewriteRule for HTTPS work?
This rule in httpd.conf works for HTTP and doesn't work for HTTPS
RewriteRule ^/$ /site/hs/dash/ind [R]
I want to redirect request https://mysite.ru/ to https://mysite.ru/site /hs/dash/ind
Answer the question
In order to leave comments, you need to log in
You have to check the port:
RewriteEngine on
RewriteCond %{SERVER_PORT} !^443$
RewriteRule (.*) https://%{HTTP_HOST}:443/$1
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question