RewriteCond %{SERVER_PORT} !^443$
RewriteRule MATCHME https://%{SERVER_NAME}%{REQUEST_URI} [L,R]
IF MATCHME is not in the URL then will the RewriteRule NOT Be processed? Could you link me to some documentation?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
That is correct. If the pattern
MATCHMEis not present, no rewriting will take place.If you require a catch-all rule to be matched when your
RewriteCondis active, you can specify an additional rule like:Review the mod_rewrite documentation.