htaccess exclude given REQUEST_URI
Guys,
Been working several hours, i have a site which has SSL and im redirecting all non http to https i.e.
it always redirecting to , is it possible not to redirect a given REQUEST_URI Thanks in advance, Mike
# http to https
RewriteCond %{HTTPS} off
RewriteRule ^(.*) [R,L]
it always redirecting to , is it possible not to redirect a given REQUEST_URI Thanks in advance, Mike
-
Hi, If I understand correctly, you do *NOT* want the /play/ directory to be changed / adjusted via your rewrite rules? You can simply add a .htaccess file to your /play/ directory with 'RewriteEngine Off' inside of it, and this should work. 0 -
Hi, If I understand correctly, you do *NOT* want the /play/ directory to be changed / adjusted via your rewrite rules? You can simply add a .htaccess file to your /play/ directory with 'RewriteEngine Off' inside of it, and this should work.
Hi, thanks for the idea, that's what i did and it works. thanks again, Mike0
Please sign in to leave a comment.
Comments
2 comments