473,408 Members | 1,845 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,408 software developers and data experts.

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
Jun 11 '11 #1

✓ answered by robin1983

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\apache\Apache2.2.11\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.
Expand|Select|Wrap|Line Numbers
  1. <Directory />
  2.     Options FollowSymLinks
  3.     AllowOverride All
  4.     # Order deny,allow
  5.     # Deny from all
  6. </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

3 8605
Markus
6,050 Expert 4TB
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.
Jun 11 '11 #2
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\apache\Apache2.2.11\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.
Expand|Select|Wrap|Line Numbers
  1. <Directory />
  2.     Options FollowSymLinks
  3.     AllowOverride All
  4.     # Order deny,allow
  5.     # Deny from all
  6. </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
Jun 12 '11 #3
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?
Nov 11 '12 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: praveenrn | last post by:
Hi, Iam running a webservice in my local machine and wrote dii client to contact it. it was able to do it. But the problem is when i try to contact the server which is at some other location...
0
by: PHPBABY3 | last post by:
Need Consultant to Help with CakePHP Hey, I know PHP but need to learn CakePHP right away. Where's the best documentation? Looking for a consultant to help via phone, email or chat. p h...
6
by: nosipho | last post by:
Hi guys I'm new in networking no experience at all, now what I want to do is: I want to be able to log in any PC on the network and be able to access my files. Like for example ,on this site...
0
by: grezlik | last post by:
Hi! I have major problems with cakephp & smarty, (cake ver is 1.2 and smarty 2.6.18 ) there is a code (from cake/libs/view/view.php class SmartyView { .. .. ..
4
by: jambalapamba | last post by:
hi all i am loading a html document in my iframe which comes from the same domain, when i am trying to acess the document(html page) in the iframe using java script i am getting access...
3
by: Animesh K | last post by:
Hello All: After having some experience with PHP, I am thinking to use one of the frameworks for my website. CakePHP looks promising (among others). Cake requires some .htacess settings and I...
3
by: jerrystar | last post by:
how to learn cakephp. where to get cakephp step by step tutorial
0
by: arunj82 | last post by:
Hi All, I am doing a project in cakephp. What my problem is when ever i close my browser and when i reopen it, session id(i.e userAgent) in cakephp is not changing. I want to use this session id...
2
by: buzzy18 | last post by:
Hi all, I am using CakePHP to develop a bidding site. I have created a controller called 'daemons' and it performs 4 different tasks which I need to run continuously on the server every minute. I...
1
by: ahmed mahmoud | last post by:
Hi I am using cakephp on linux ,and using xampp. I am trying to excute bake cake command: and this screen appear to me the problem when i select c: these warning and errors appear to me
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.