Yes, I know this rule. It's for Drupal system. I tryed to write rules to nginx, but it's failure
On Jul 14, 10:22 pm, "Chris Hartjes" <[EMAIL PROTECTED]> wrote: > On 7/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > Does somebody has written mod_rewrite rules to nginx http server (much > > better and faster, than apache) (http://sysoev.ru/nginx/download.html) > > In all my servers NGINX is priority HTTP server and then I wanted to > > use cakephp, I had a problem > > > Sorry for my english :) > > I use nginx for the VPS that runs my blogs, but I don't have anything > that runs CakePHP on it yet. However, I'm pretty sure that something > like this should work for the rewrite rules: > > location / { > if (!-e $request_filename) { > rewrite ^(.+)$ /index.php?q=$1 last; > break; > } > > } > > You might also want to try it without the / in front of index.php. > > Hope that helps. I have a CakePHP app that is going to be running on > that server so I will be able to try that out soon enough. ;) > > -- > Chris Hartjes > Senior Developer > Cake Development Corporation > > My motto for 2007: "Just build it, damnit!" > > @TheBallpark -http://www.littlehart.net/attheballpark > @TheKeyboard -http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
