try (an adaption) of this
AddType x-mapp-php5 .php
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule /v6$ /v6/ [L]
RewriteRule ^$ /v6/webroot/ [L]
RewriteRule (.*) /v6/webroot/$1 [L]
</IfModule>
the cake app is in this v6 dir
hth - S
2008/5/7 Tallbrick <[EMAIL PROTECTED]>:
>
> I have also encountered this issue and have not yet found the
> solution. The issue is definatly intermittent - at times accessing
> with a www prefix will generate the error and sometimes not... And
> the error that I get is always:
>
> ===========================
> Warning: include(cake/bootstrap.php) [function.include]: failed to
> open stream: No such file or directory in /var/www/vhosts/domain.com/
> httpdocs/app/webroot/index.php<http://domain.com/httpdocs/app/webroot/index.php>on
> line 82
>
> Warning: include(cake/bootstrap.php) [function.include]: failed to
> open stream: No such file or directory in /var/www/vhosts/domain.com/
> httpdocs/app/webroot/index.php<http://domain.com/httpdocs/app/webroot/index.php>on
> line 82
>
> Warning: include() [function.include]: Failed opening 'cake/
> bootstrap.php' for inclusion (include_path='/var/www/vhosts/domain.com/
> httpdocs/app/:. <http://domain.com/httpdocs/app/:.>') in /var/www/vhosts/
> domain.com/httpdocs/app/webroot/
> index.php <http://domain.com/httpdocs/app/webroot/index.php> on line 82
>
> Fatal error: Can't find CakePHP core. Check the value of
> CAKE_CORE_INCLUDE_PATH in app/webroot/index.php. It should point to
> the directory containing your /cake core directory and your /vendors
> root directory. in /var/www/vhosts/domain.com/httpdocs/app/webroot/
> index.php <http://domain.com/httpdocs/app/webroot/index.php> on line 83
> ============================
>
> ...And after googling the error text it looks like at least 10 other
> sites are (unknowingly?) experiencing the same issue as well...
>
> As a precaution, I've set Plesk to "Use a single directory for housing
> SSL and non-SSL content" but, what can be done to fix the www prefix
> issue?
>
> I am new to Cake, and any ideas are appreciated :)
>
>
> On Mar 20, 3:11 pm, Walker Hamilton <[EMAIL PROTECTED]> wrote:
> > Yeah, 1and1.com is wrong. It's a server configuration problem.
> >
> > The big reason I know this is that the https is resolving via the
> > canonicalurlwhile the non-secure version is not. This is an apache
> > configuration issue.
> >
> > Many servers serve secure & non-secure http from the same directory,
> > but other (media temple's default plesk installs for instance) serve
> > http from one directory & https from another.
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---