4

Many default SSL setup have settings to ignore .htaccess at all. So server use your .htaccess for http, but for security reason ignore default rules overwrite for https. Check your ssl config (try - /etc/httpd/conf.d/ssl.conf) what flag you have for AllowOverride? Possible you have None - in this case, the server will not even attempt to read .htaccess ...


2

Try this :: 1.) Go to your SSL configuration file : /etc/httpd/conf.d/ssl.con 2.) Find your Virtual Host : <VirtualHost_default_:443> 3.) Write down : Path to your directory <Directory "/var/www/html/magento"> AllowOverride All </Directory> 4.) Restart your apache : service httpd restart


1

Did you actually mean this? RewriteCond %{QUERY_STRING} range.php?type=baropt&item=01 [NC] RewriteRule ^(.*)$ http://domain.com/range/bars/led-bar? [R=301,L] You should use RewriteCond, not RewriteRule is first line, as it'a conditional that applies to the rule, the rule itself is in second line. Also replace &amp ; with simple ampersand (unless ...


Only top voted, non community-wiki answers of a minimum length are eligible