On Tue, Oct 13, 2009 at 2:17 PM, Josh K wrote:
>
> Thanks. That works. Would WWW_ROOT still work properly if I ever made
> any changes to the .htaccess setup, moved my webroot directory, or
> changed servers? I think all I would need to do in that case is to
> set the correct path in app/webroo
Thanks. That works. Would WWW_ROOT still work properly if I ever made
any changes to the .htaccess setup, moved my webroot directory, or
changed servers? I think all I would need to do in that case is to
set the correct path in app/webroot/index.php, rather than adjusting
file_get_contents in th
On Tue, Oct 13, 2009 at 11:23 AM, Josh K wrote:
>
> When I enabled mod_write in CakePHP, I set my .htaccess files
> according to
> http://book.cakephp.org/view/37/Apache-and-mod_rewrite-and-htaccess.
> Accessing the URLs work fine with this default setup.
>
> However, $webroot now = /, which me
When I enabled mod_write in CakePHP, I set my .htaccess files
according to
http://book.cakephp.org/view/37/Apache-and-mod_rewrite-and-htaccess.
Accessing the URLs work fine with this default setup.
However, $webroot now = /, which means paths using the webroot
variable are incorrect:
file_get_