Just guessing but try this:

http://book.cakephp.org/view/37/Apache-and-mod_rewrite-and-htaccess

The last part about setups that have already been "rewritten". Your
provider might be using mod_rewrite for it's ssl urls and then Cake's
rewriting will not work as expected.

/Martin



On Mar 29, 8:02 pm, karma <[email protected]> wrote:
> Hi!
>
> I have a problem getting cakephp to set correct webroot directory.
> I've the webroot installed in "/ssl/application_name
> /webroot" folder at the service providers server. The application
> works perfectly when I access it through
> "www.thesite.com/ssl/application_name".
>
> BUT
>
> The service provider offers SSL-encryption through this centered
> service, where the site is accessed through address "https://
> ssl.serviceprovider.com/thesite.com/application_name/". This messes
> the application up cause the webroot is not set correctly. I tried to
> change WWW_ROOT constant but it doesn't help. If I echo $this->webroot
> in a view it says "/ssl/application_name/". I need to get this
> application to work through this centered SSL.
>
> So, how could I get the application work correctly in this kind of a
> setup? I'm in quite a hurry to get this to work so any help is
> appreciated!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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