Friday, July 25, 2014

Htaccess, SSL, and sub directory problem

Hi Bakers!

I've got a challenging issue.

I've trying to setup my htaccess to redirect all non https and non www traffic to https://www.

However all my tries did not succeed and unfortunatley my understanding of htaccess files is limited.

The cake project is in: http://www.domain.com/staff-incentive/

inside staff-incentive is the following
-app
-lib
-plugins

This is the normal CakePHP structure.

How do I ensure that all non https and non www. traffic goes to https://www. for the above url?

All htaccess files are the same as the normal cake 2.4 ones are. No changes.

Thanks in advance.
Greg

--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

---
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscribe@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/d/optout.

No comments: