Friday, July 25, 2014

Re: Htaccess, SSL, and sub directory problem

a simple redirect for http:// to http://www
and then again for nonssl to ssl
or combine them in a single htaccess rule
there are tons of material for this on the web by the way.

see first results when you google:
http://stackoverflow.com/questions/13977851/htaccess-redirect-to-https-www

Am Freitag, 25. Juli 2014 11:31:57 UTC+2 schrieb LordG:
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.


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: