drupal try_files php fastcgi

Igor Sysoev is at rambler-co.ru
Mon Mar 16 13:33:46 MSK 2009


On Mon, Mar 16, 2009 at 10:03:41AM +0100, Otto Bretz wrote:

> On Sat, Mar 14, 2009 at 4:44 PM, Igor Sysoev <is at rambler-co.ru> wrote:
> > What file should handle index of /test1/ ?
> 
> index.php. I changed the index directive and now I only get these

Then you probably need:

        location / {
            root   /var/www/htdocs;
            try_files      $uri  $uri/index.php  @drupal;   
        }

> messages and a page temporarily unavailable page:
> 2009/03/16 08:30:16 [error] 27364#0: *37 could not find named location
> "@drupal", client: 10.0.1.10, server: _, request: "GET /test1/
> HTTP/1.1", host: "10.0.1.11"
> 2009/03/16 08:30:46 [error] 27364#0: *39 could not find named location
> "@drupal", client: 10.0.1.10, server: _, request: "GET /test2/
> HTTP/1.1", host: "10.0.1.11"
> 
> Could it be something wrong with the fcgi setup?

Have you @drupal location ?


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list