Forum Moderators: phranque
so that it also stops all SSL accessDid you mean
the SSL/TLS access is configured in the virtual host context.
Did you mean
-- all access to selected files, whether http or https
or did you mean
-- everyone except you is redirected to http all the time
?
Is this your own server or is it happening in htaccess? The exact wording of the quoted RewriteRule (without leading / slash) suggests it's either in htaccess or in a <Directory> section
It seems I would need access to httpd.conf file, which I don't have access to.
RewriteCond %{REMOTE_ADDR} !your-ip-here
RewriteCond %{HTTPS} on [OR]
RewriteCond %{HTTP_HOST} !^www\.example\.com$
RewriteRule (.+) http://www.example.com/$1 [R=301,L](Check before cutting-and-pasting, because that was off the top of my head and phranque will probably spot a typo.) This version generates a redirect from HTTPS to HTTP--the opposite of the usual pattern. If, instead, you wanted to flat-out deny anyone making an HTTPS request (why?!) you'd need two separate rules. RewriteCond %{REMOTE_ADDR} your-ip-here
RewriteRule . - [L]and then any & all subsequent rules will apply only to !you visitors. But, again, this isn't a viable approach for all sites.