Just solved, as suggested by some nice guys on #cakephp on
irc.freenode.net, it was a matter of setting the DocumentRoot as
indicated in http://book.cakephp.org/2.0/en/installation.html#production,
that is at /cake_install/app/webroot.

On Dec 19, 7:11 pm, Mario <mario.calli...@gmail.com> wrote:
> Hi all,
>
> I have just added to a fully working site based on CakePHP 2.0 and
> Apache 2.2.16 a wildcard SSL certificate. Created virtual hosts
> pointing HTTPS to the same HTTP app.
>
> But when I load the HTTPS version, the certificate is ok but lots of
> errors: first thing
> [Mon Dec 19 16:34:57 2011] [error] [client ...] PHP Notice:  Constant
> CAKE_CORE_INCLUDE_PATH already defined in /srv/www/xxx2/public_html/
> app/webroot/index.php on line 59
> [Mon Dec 19 16:34:57 2011] [error] [client ...] PHP Stack trace:
> [Mon Dec 19 16:34:57 2011] [error] [client ...] PHP   1. {main}() /srv/
> www/xxx2/public_html/index.php:0
> [Mon Dec 19 16:34:57 2011] [error] [client ...] PHP   2. require() /
> srv/www/xxx2/public_html/index.php:40
> [Mon Dec 19 16:34:57 2011] [error] [client ...] PHP   3. define() /srv/
> www/xxx2/public_html/app/webroot/index.php:59
>
> If I comment out the CAKE_CORE_INCLUDE_PATH definition in /srv/www/
> xxx2/public_html/index
> the site is loading but all the depending files are not, example
> GEThttps://test1.xxx2.com/css/additional.css404 (Not Found)
>
> I am sure there is quite simple explanation for the issue, but I can't
> find it external help...
>
> Any idea?
>
> P.S. Just to give a bit of additional context, I am in this because I
> need (as per Facebook request) to provide also an HTTPS version of a
> Facebook app

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to