cake1.1, apache1.3

Hi

could anyone please shed any light on using htaccess to force a
section of the site (ie myaccount) to use https.

The problem is that ALL requests get redirected to HTTPS instead of
just those to /myaccount/*


My htaccess in root dir looks like:

RewriteEngine On
RewriteBase /

# force myaccount urls to be HTTPS
RewriteCond %{SERVER_PORT !^443$
RewriteRule myaccount https://%{HTTP_HOST}/$1

# standard cake htaccess below
RewriteRule    ^$ /app/webroot/    [L]
RewriteRule    (.*) /app/webroot/$1 [L]


many thanks in advance

chris
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to