1

Mod rewrite issue in firefox

view story
linux-howto

http://stackoverflow.com – I created a .htaccess file that does two things: redirects http to https and also www. to non-www. Here is the code: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} RewriteBase / RewriteCond %{HTTP_HOST} ^www.profstream.com [NC] RewriteRule ^(.*)$ https://profstream.com/$1 [L,R=301] This works fine in Chrome, Safari, and Opera but for some reason when I type profstream.com/sandbox/login.php for example in Firefox it redirects to https://profstream.com/https://www.profstream.com/sandbox/login.php. What am I doing wrong here? (HowTos)