if you just have a single cakephp application and you want the urls
like http://127.0.0.1/users/login, you should set the document root of
your web server as .../app/webroot.
if your application is still in dev stage and you don't care the
leading part of the urls, you have make sure you give the complete
path. it may be confused. let me explain, suppose you extract all
files under the folder html, for example html/cake_1.2, which has the
folders app, cake, vendors, and etc. your urls should be like
http://127.0.0.1/cake_1.2/users/login.
if you want more info. about installation of cakephp, please read my
article
http://techsteve.blogspot.com/2008/03/practices-of-advanced-setup-for-cakephp.html
hope this can help you.

Steve


On Apr 16, 1:48 am, KND <[EMAIL PROTECTED]> wrote:
> Hi all,
>  CakePHP is a new tool for me, I never worked on any framework
> before..! To learn about CakePHP I already readhttp://manual.cakephp.orgpages 
> and copy the code sample from that
> manual. I installed cake in /var/www/html directory. In my Apache
> server webroot is /var/www/html. Now my question is how can run my
> application(What will be the URL to access my application? In one
> point I am sure that the database configuration is OK, because when I
> through the URLhttp://127.0.0.1/caketo the server, the server
> returns a CakePHP introductory page with a status....
>
> "Your database configuration file is present.
> Cake is able to connect to the database."
>
> ---------------
> Controller page name: users_controller.php having class name
> UsersControllers with member function login().
>
> view page name: login.thtml
>
> model page name: user.php
> ---------------
>
> Please help me...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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