Jump to content

forcing ssl with mod_rewrite


Shaun

Recommended Posts

Hi ive posted this in the apache section and havent had any luck with replies etc so I thought you php monkeys would like a go [img src=\"style_emoticons/[#EMO_DIR#]/wink.gif\" style=\"vertical-align:middle\" emoid=\":wink:\" border=\"0\" alt=\"wink.gif\" /] ... this isnt a php question, its more of a mod_rewrite or htaccess question, but maybe someone here has used this method on a site etc?

Im looking for a way to make [a href=\"http://example.com\" target=\"_blank\"]http://example.com[/a] (www.example.com - [a href=\"http://www.example.com)\" target=\"_blank\"]http://www.example.com)[/a] to be forced to go to [a href=\"https://example.com\" target=\"_blank\"]https://example.com[/a] ... a working example would be entering www.paypal.com into your browsers address bar and it takes you straight to their https:// secure site.

Also on a note, would forcing ssl make sites load slower as ive looked around and https is a lot slower then http ... but does the speed depend on the quality of your ssl provider?

Also one last thing... I have never used mod_rewrite before so go easy on me ;)


thank you all in advance for your help :)
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.