Re: app/webroot path missing using default mod_rewrite setup

2009-10-13 Thread brian
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

Re: app/webroot path missing using default mod_rewrite setup

2009-10-13 Thread Josh K
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

Re: app/webroot path missing using default mod_rewrite setup

2009-10-13 Thread brian
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

app/webroot path missing using default mod_rewrite setup

2009-10-13 Thread Josh K
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_