how to use ssl to secure subdomains of a cakephp app
Hi there,
my cakephp app allows users to create subdomains.
for eg,
user1 creates subdomain1.example.com and
user2 creates subdomain2.example.com and so on...
all subdomains are pointing to the same app folder.
if a new subdomain is created, i merely keep track of it by inserting
new record in subdomains table. no new copies of `app` folder are
created.
i have a action common in all subdomains called orders/checkout
i want to ssl secure this page.
Do I
a)
create a separate subdomain such that all visitors to the different
subdomains are redirected to it?
eg, visitors at subdomain1.example.com or subdomain2.example.com will
ALL be directed to https://secure.example.com/orders/checkout when
they run the orders/checkout action
OR
b)
all the visitors at subdomain1.example.com are directed to
https://subdomain1.example.com/orders/checkout
all the visitors at subdomain2.example.com are directed to
https://subdomain2.example.com/orders/checkout
and so on..
if it is a) how do i achieve that?
if it is b) how do i achieve that?
is there an alternative to a) and b)? if so, how do i achieve that?
Thank you .
Happy holidays
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home