Well, I checked, but it really doesn't look like a CakePHP url and by guessing I couldn't find it... IN any case, to access pages, the url should look like /cakephp/ controller/function/parameter, like cakephp/posts/edit/1 or something...
Can you tell us the name of the controller that handles blogposts (It's in the app/controllers dir and called posts_controller, blogs_controller or something similar) and the names of the functions in that controller that handle stuff (Probably an "function index()" and "Function edit()" etc...) On 12 okt, 21:18, Aeyel <[email protected]> wrote: > hi, thanks for your reply .My url is like this. > > http://team-kh.awpdc.com/~shenpaha/cakephp/ > > i was trying to setup sample blog code.but i can only view index > page.please tell me exact info that i shoud add in mod_rewrite > in .htaccess file.or any further guide u can give.I will be extremely > grateful. > > On Oct 12, 6:02 pm, Sam Sherlock <[email protected]> wrote: > > > that url looks like it might be wrong to me - can you explain your set up > > > is cake in a subdirectory name cakephp (I assume so but maybe you have a > > subdir within that called blog) > > > by default > > <CAKE-APP-INSTALL>/[controller]/[action]/[ID] > > > index of postshttp://...cakephp/posts/ > > > view post with an id of onehttp://...cakephp/posts/view/1 > > > check that in your apache.conf (or vortual hosts conf) that you have the > > following within a directory directive > > > AllowOverride All > > > more information > > herehttp://book.cakephp.org/view/37/Apache-and-mod_rewrite-and-htaccess > > > have you done the blog tutorial? > > > consult the mailing list for you server to get rewrite working (or host) > > > some hosts require a little extra to the htaccess eg dreamhost & others > > require rewrite base > > > seehttp://www.thoughtglade.com/posts/custom-php-dreamhost-cakephp > > > - S > > > 2009/10/12 Aeyel <[email protected]> > > > > Hye group Members, > > > > I am newbie to CakePHP i am trying to setup sample blog at my Dev > > > server but i am facing path issues.index page is working fine.but not > > > other links like > > >http://.......cakephp/blog/1/My_first_blog_post. > > > > please help me how to configure url rewrite properly. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
