Hello Justin, On Mon, Jun 15, 2009 at 2:22 PM, Justin Pasher<justinp@xxxxxxxxxxxxxxxxxxx> wrote: >> RewriteCond %{HTTPS} !=on >> RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI} [R,L] >> > > You don't need to use REQUEST_URI (maybe it's not available in the context > of RewriteRule?). You can just capture the results of RewriteRule match. > > RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L] Ok, so I changed RewriteCond %{HTTPS} !=on - RewriteRule ^.*$ https://%{SERVER_NAME}%{REQUEST_URI}/$1 [R,L] + RewriteRule (.*) https://%{SERVER_NAME}/$1 [R,L] in the .htaccess file. But still when I go to http://Domain.com/subdirectory I get redirected to https://Domain.com NOT the https://Domain.com/subdirectory Something else wrong with what I did maybe? Bob --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx