Hello,

mod_rewrite and .htaccess are not activated on my ISP server, so i
want cakePHP working without that functionnalities.
so i followed the tutorial doing this:
  -> uncomment define ('BASE_URL', env('SCRIPT_NAME')) in /app/config/
core.php
  -> remove all .htacces files

the problem is url like www.example.com/cakephp/index.php/posts/view
doesn't work on the server (error 404 - not found)
so i succeed to access the page with that url : 
www.example.com/cakephp/index.php?posts/view,
modifying /index.php file with explode('/index.php?',$uri) instead of
explode('/index.php',$uri).
i don't know if it is a good thing, but it works.

so now, my problem is for the htmlhelper::link() function, which
generates links like www.example.com/cakephp/index.php/posts/view.

i localized the method i have to modified : htmlhelper::url().
So my question is, am i on the right way doing those thing to have
cakephp working (i think i now have to write a customize helper to
redifine the url() method to have url like i want)?

Or is there any easier way to have url like  
www.example.com/cakephp/index.php?posts/view
or www.example.com/cakephp/index.php?url=posts/view generated by
cakephp helpers.

Thanks.


--~--~---------~--~----~------------~-------~--~----~
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