Re: how to set the root folder

2008-07-17 Thread Lucas Caro
try with: Configure::write('App.base', ''); inside config/core.php good luck. On Jul 16, 8:49 am, Adam Royle [EMAIL PROTECTED] wrote: There should be a .htaccess file in the level above your app folder which uses mod_rewrite to forward the request app/webroot/index.php So if your folder

how to set the root folder

2008-07-16 Thread RJ
The directory structure is as follows: /htdocs/appName/xyz/app app is the folder that contains all the cakephp files. Now when i hit any url , it appears as: http://localhost/apName/xyz/users/login, but the requirement is such that 'xyz' should not appear in the url. How to achieve the same ,

Re: how to set the root folder

2008-07-16 Thread Duncan
If you don't need the xyz dir, then why not move the whole cake install one directory up? /htdocs/appName/app On Jul 15, 11:15 pm, RJ [EMAIL PROTECTED] wrote: The directory structure is as follows: /htdocs/appName/xyz/app app is the folder that contains all the cakephp files. Now when i hit

Re: how to set the root folder

2008-07-16 Thread RJ
can't do it coz subversioning data resides in 'xyz' folder. The directory structure has remain that way... Ne way out? On Jul 16, 11:18 am, Duncan [EMAIL PROTECTED] wrote: If you don't need the xyz dir, then why not move the whole cake install one directory up? /htdocs/appName/app On Jul

Re: how to set the root folder

2008-07-16 Thread RJ
anybody to help On Jul 16, 11:21 am, RJ [EMAIL PROTECTED] wrote: can't do it coz subversioning data resides in 'xyz' folder. The directory structure has remain that way... Ne way out? On Jul 16, 11:18 am, Duncan [EMAIL PROTECTED] wrote: If you don't need the xyz dir, then

Re: how to set the root folder

2008-07-16 Thread RJ
if somebody can tell me how does the folder app does not appear in the url although all the files are in that folder.. for eg: localhost/project/users( though there is an 'app' folder inside 'project') mebbe can solve my problem. -RJ On Jul 16, 12:40 pm, RJ [EMAIL PROTECTED] wrote: anybody

Re: how to set the root folder

2008-07-16 Thread Adam Royle
There should be a .htaccess file in the level above your app folder which uses mod_rewrite to forward the request app/webroot/index.php So if your folder structure should look like: htdocs/.htaccess htdocs/app htdocs/cake htdocs/vendors etc... Hope that helps. Adam On Jul 16, 7:51 pm, RJ