Tuesday, July 24, 2012

pagination not work after change to Nginx

Hi all,

i have an apps build using cakephp1.1 .

i use the pagination component which come with 1.1

The app run using lighttpd, and its ok.

now i switch to nginx , and the pagination breaks, also the sorting facilites.

the error is, the link not point to my webroot adress, example:

http://www.mywebsite.com/product/page/2   <=== using lighttpd

product/page/2   <=== using nginx

so the url is not there, and the application point to no server...  it should ok if the link is /product/page/2  , but the link generate for the page is product/page/2

any one know how to handle this , coz i need to use nginx.

thanks in advanced

Mulianto

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