The transition from Apache to nginx

0 like 0 dislike
5 views
Anyway, now I have configured and installed the nginx+php-fpm (ubuntu 10.04).

Formed the following problem: it is necessary to put the system to project management qdPM.
And it requires a Directive to the web server AllowOverride All. Of course this applies to Apache.
So how do you make this system run under nginx?

here's a piece of log:
2010/11/11 18:23:19 [error] 20285#0: *72 open() "/var/www/*****.EN/pm/qdpm/index.php/home/validateLoginForm" failed (20: Not a directory), client: xx.xx.174.10, server: pm.*****.ru, request: "POST /qdpm/index.php/home/validateLoginForm HTTP/1.1", host: "pm.*****.EN", referrer: "http://pm.*****.EN/qdpm/"
by | 5 views

2 Answers

0 like 0 dislike
If I understand correctly the problem, then the solution will be something like this
\r
location / { proxy_set_header Host $Host; proxy_set_header X-Real-IP $remote_addr; if (!-e $request_filename) { rewrite ^(.+)$ /index.php?$1 last; } } 
by
0 like 0 dislike
1)
And it requires a Directive to the web server AllowOverride All
This Directive simply indicates that a program somewhere in their directories slips .htaccess
Describe its counterpart funds nginx.
\r
2) Why do you need php-fpm? You correctly understand the meaning of replace mod_php with php-fpm?
by

Related questions

0 like 0 dislike
2 answers
0 like 0 dislike
4 answers
0 like 0 dislike
4 answers
110,608 questions
257,186 answers
0 comments
28,876 users