Conditional statement for redirecting IPs using .htaccess?

Well I searched for about half an hour, and then right after I posted on SO I found the answer...lol. For anyone who is trying to do a similar thing all you have to do is use a variable for the web address, instead of hard coding it The way I did it was by adding this to my . Htaccess: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} This way it simply will take any url entered and change it from http to https Cheers.

Well I searched for about half an hour, and then right after I posted on SO I found the answer...lol. For anyone who is trying to do a similar thing all you have to do is use a variable for the web address, instead of hard coding it. The way I did it was by adding this to my .

Htaccess: RewriteEngine On RewriteCond %{HTTPS} off RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} This way it simply will take any url entered and change it from http to https Cheers.

You can click on the empty tick to mark a question as answered. And as a bonus (at least if it is someone else answers), both of you will get reputation points. – Hendrik Brummermann Jul 19 '10 at 23:06.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions


Thank You!
send