Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Website and Server Administration Forum


You are currently viewing our Website and Server Administration Forum as a guest. Please register to participate.
Login



Reply
http and https redirects
Old 06-18-2009, 04:47 PM http and https redirects
Novice Talker

Posts: 11
Name: Eric
Trades: 0
I have a website with a store section and I have never worked with httpd or htaccess or whatnot.

How would I make it so anything under the http://www.mysite.com/store/ directory automatically redirects to https://... , while any other directory automatically redirects to http?

For example, if customer were to type in http://www.mysite.com/store/cart.php, it would automatically redirect to "https://www.mysite.com/store/cart.php". If customer typed in "https://www.mysite.com/" it would redirect to "http://www.mysite.com/".

Thanks for any suggestions! Much appreciated.
yangez is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 06-18-2009, 06:10 PM Re: http and https redirects
Brian07002's Avatar
Defies a Status

Posts: 2,138
Name: ...
Location: ...
Trades: 0
Here's a good bit of info on that topic:

http://www.google.com/#hl=en&q=https...fp=Yxcf45uQ1Fc
__________________
Made2Own

Please login or register to view this content. Registration is FREE
Brian07002 is offline
Reply With Quote
View Public Profile
 
Old 06-18-2009, 07:10 PM Re: http and https redirects
ldcdc's Avatar
Hosting watcher

Posts: 1,111
Name: Daniel
Trades: 0
These should help:

http://www.besthostratings.com/artic...-htaccess.html

http://www.webmasterworld.com/apache/3150549.htm
__________________

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
ldcdc is offline
Reply With Quote
View Public Profile Visit ldcdc's homepage!
 
Old 06-19-2009, 11:14 AM Re: http and https redirects
Novice Talker

Posts: 11
Name: Eric
Trades: 0
Nice. Thanks for those last two links.
yangez is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to http and https redirects
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.75491 seconds with 12 queries