Not able to access my url in CakePHP..

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • robin1983
    New Member
    • Oct 2007
    • 99

    Not able to access my url in CakePHP..

    Dear All,

    I have just installed CakePHP 1.3.10. I made all the necessary changes for database name, the value of random alpha numeric also. When I access the CakePhp folder through WAMP, I m getting message

    URL rewriting is not properly configured on your server.

    Help me configure it
    I don't / can't use URL rewriting


    Your tmp directory is writable.

    The FileEngine is being used for caching. To change the config edit APP/config/core.php

    Your database configuration file is present.

    Cake is able to connect to the database.

    So, after I created the first example just to show hello world as in tutorial. but when I try to view by visiting the URL : http://localhost/cakephp/posts/hello_world, it shows
    Not Found

    The requested URL /cakephp/posts/hello_world was not found on this server.

    Can any one suggest me what more configuration I need to complete so that I can see my example. As I m very much new to CakePHP I m not able to trouble shoot.

    Thank you in advance for your guidance.

    With Regards,

    Robindra Singha
    Delhi
  • Markus
    Recognized Expert Expert
    • Jun 2007
    • 6092

    #2
    It looks like CakePHP wants ModRewrite (or something like) enabled on your web server. Take a look at this to get an understanding of what that is.

    Comment

    • robin1983
      New Member
      • Oct 2007
      • 99

      #3
      Thanks for the response Markus, I made two changes in my httpd file of apache server under conf folder. the following are the changes which i did and now the everything is working as per expected.
      File Path: C:\wamp\bin\apa che\Apache2.2.1 1\conf

      1. Remove the # before the line LoadModule rewrite_module modules/mod_rewrite.so. Earlier there was # in the front of this line as the line was under comment.

      2.
      Code:
      <Directory />
          Options FollowSymLinks
          AllowOverride All
          # Order deny,allow
          # Deny from all
      </Directory>
      After changing both n saved. Now my cakephp is working properly. so, if any one face simmilar issue, kindly make the above changes then it will start work.

      Thanks for your support.

      With Regards,

      Robindra Singha
      Last edited by Markus; Jun 13 '11, 01:22 PM. Reason: Added [code] tags

      Comment

      • gemsirius
        New Member
        • Nov 2012
        • 1

        #4
        i do this like that,but it still does not work。
        RL rewriting is not properly configured on your server. 1) Help me configure it 2) I don't / can't use URL rewriting
        why?

        Comment

        Working...