Forum Moderators: phranque

Message Too Old, No Replies

Force https redirect

         

Beaujolais

3:05 pm on Apr 10, 2004 (gmt 0)

10+ Year Member



Regarding this thread: [webmasterworld.com...]

Is there a way how to force http to https redirect for my entire web root or even better from certain sub-dir and down?
Some rewrite for my httpd.conf?

I'm noob so an working example is much appreciated.

Thanks!

jdMorgan

10:34 pm on Apr 12, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Beaujolais,

Welcome to WebmasterWorld [webmasterworld.com]!

> Is there a way how to force http to https redirect for my entire web root

That's what the code in the thread you cited does...

You can easily add the subdirectory name to the pattern in that code so that only that subdirectory is redirected.

Give it a shot, and let us know how it goes.

Ref: Introduction to mod_rewrite [webmasterworld.com]

Jim