11 messages in ru.sysoev.nginxRe: drupal try_files php fastcgi
FromSent OnAttachments
Otto BretzMar 14, 2009 3:13 am 
Igor SysoevMar 14, 2009 8:44 am 
Otto BretzMar 16, 2009 2:03 am 
Igor SysoevMar 16, 2009 3:33 am 
mikeMar 16, 2009 9:26 am 
Cliff WellsMar 16, 2009 9:51 am 
Igor SysoevMar 16, 2009 10:12 am 
Igor SysoevMar 16, 2009 10:15 am 
Cliff WellsMar 16, 2009 10:21 am 
Mark AlanMar 16, 2009 1:42 pm 
Leon KellermannMar 16, 2009 8:24 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: drupal try_files php fastcgiActions...
From:mike (mike@gmail.com)
Date:Mar 16, 2009 9:26:29 am
List:ru.sysoev.nginx

2009/3/16 Igor Sysoev <is@rambler-co.ru>:

Have you @drupal location ?

This is one thing I want to get up on the wiki cookbook, a simple

@wordpress @drupal

etc.

Simple being the key word.

A lot of people do wordpress crap with wp-content/*.js and all these other filters and all you need is a simple

if (!-e $request_filename) {} or try_files $uri $uri/ @wordpress or try_files $uri $uri/ /path/to/main/wordpress/index.php

etc.

right now i run my blog using this:

error_page 404 = /wordpress/index.php?q=$request_uri;

works like a charm. i do want to start using try_files as I assume that is more efficient and not kind of a silly hack "hey, if it's a 404, use -this- as the page handler!"