I can access my site using /index.php?q=node/1 or /?q=node/1
When I add the code below, /?q=node/1 stop working:
location / {
index index.php index.htm index.html;
try_files $uri /_cache$uri /index.php;
}
why?
Marcos N.
+55 44 9918-8488
I can access my site using /index.php?q=node/1 or /?q=node/1
When I add the code below, /?q=node/1 stop working:
location / {
index index.php index.htm index.html;
try_files $uri /_cache$uri /index.php;
}
why?
Marcos N.
+55 44 9918-8488
On Fri, Dec 11, 2009 at 12:56:11AM -0200, Marcos N. wrote:
I can access my site using /index.php?q=node/1 or /?q=node/1
When I add the code below, /?q=node/1 stop working:
location / { index index.php index.htm index.html; try_files $uri /_cache$uri /index.php; }
why?
You should add a directory test:
try_files $uri /_cache$uri /index.php;
try_files $uri $uri/ /_cache$uri /index.php;
–
Igor S.
http://sysoev.ru/en/
Thanks, that works!
Marcos N.
+55 44 9918-8488
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs