CodingForums.com

CodingForums.com (http://www.codingforums.com/index.php)
-   Apache configuration (http://www.codingforums.com/forumdisplay.php?f=69)
-   -   Activate HTTPS ( SSL ) only for specific sites (http://www.codingforums.com/showthread.php?t=262683)

mike2033 05-26-2012 11:15 AM

Activate HTTPS ( SSL ) only for specific sites
 
Hello,

I'm very new to server administration so please do not kill me... Well, I would that HTTPS is activated on some sites. Very important here is that this is NOT possible anywhere on the server . I've found a source (.htaccess) , this links EVERY site to https:

RewriteEngine on
RewriteCond% {HTTPS} off
RewriteRule (. *) Https://% {HTTP_HOST}% {REQUEST_URI}


I have under my "htdocs" a forum (/ forum) and a "shop" (/Store). At the first (forum) HTTPS is not important, but I want that when you go to the "Shop" to get redirected instead of "http://example.com/Store/index.php" to page which is encrypted (https: // ...).

But when you come to forum there's NO HTTPS available, so even if you type HTTPS instead of HTTP

Do you possibly have any ideas or tips? Thank you already

My Apache is running on an XAMPP

Best regards. Maik


All times are GMT +1. The time now is 04:12 AM.

Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.