Friday, August 26, 2011

Re: Why Cakephp told me "I don't / can't use URL rewriting" when i've visited the website at /posts/index or /posts/view

the default home.ctp has a display to inform if rewrite is not working.
is the cake.generic stylesheet applied & can you view localhost/pages/home (with css applied too)?
if the answer to the above is yes then all is well the home.ctp you have is displaying an element that the stylesheet should hide.
all is infact fine.

otherwise you need to look at you mod rewrite setup - search the group for discussions on this (some hosts are pesky & mod rewrite is a PIA anyhoo*)
http://book.cakephp.org/view/917/Apache-and-mod_rewrite-and-htaccess

*1and1 and godaddy especially
 - S



On 25 August 2011 03:02, bigfish0711 <arserangel@gmail.com> wrote:
hello,buddies.

i can visited the website in my computer using locahost with /posts/
index or /posts/view(is apache running the module of rewrite
successful ?the controllers and models are ok.),but cakephp show me
the errors:

URL rewriting is not properly configured on your server.
Help me configure it
I don't / can't use URL rewriting

when i using the default layout default.ctp.

the rewrite module of apache is built-in,I've not write "LoadModule ..
"in httpd.conf,the version of apache is 2.2.19
the version of php is 5.3.6.
the OS is linux mint.

ps: my english is so poor,i'm learning it hardly,please point any
syntax error to me,many thanks for everyone.



--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: