You are most likely running all the sites from the same directory so
the  htaccess applies to all websites.

assuming you are using apache you need to create a seperate entry in
your virtualhosts to point to the cakephp webroot.
so your default home page for cake at ~/cake/ this is where your
htaccess file should sit along with the index.php file from /app/
webroot/

Look at creating virtualhosts first on google and then look at the
problem you have above. It's not a cakephp issue it's a server setup
problem.



On May 5, 8:49 am, Kent <[EMAIL PROTECTED]> wrote:
> I know this question has been asked before but the answers have not
> seemed to help. I am trying to go thru this tutorial and I have
> created the user model the register view and the users_controller just
> as chapter one said. From the group I have added the "RewriteBase /
> cake/" to the .htaccess files under ~/cake/ directory. When I run the
> app from localhost I get yhe register screen and I enter the data and
> press register. The next screen I see is the object not found 404
> error with the url pointing to /localhost/users/register instead of /
> cake/users/register. I then copied the .htaccess file to the web root.
> It then worked successfully and inserted the row into the database.
> However the other applications I am trying ro run such as egroupware
> and simple invoices then went to cake also and I could not run them.
> So I removed the .htaccess file from root and went back to the 404
> error in cake. I feel I am missing something simple here could someone
> please point me in the right direction?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to