drupal try_files php fastcgi

Igor Sysoev is at rambler-co.ru
Sat Mar 14 18:44:35 MSK 2009

On Sat, Mar 14, 2009 at 11:14:00AM +0100, Otto Bretz wrote:

> Hi,
> I'm having trouble getting $subject to work. I'm running 0.6.35 with
> the try_files patch. I tried to follow the config posted in [1]. My
> current config can be found at [2].
> I'm also not able to get a simple phpinfo page to work,
> http://themansion.mine.nu/test1/. Drupal is installed in
> http://themansion.mine.nu/test2/

This line

2009/03/14 10:59:00 [error] 17863#0: *31 directory index of "/var/www/htdocs/tes
t1/" is forbidden, client:, server: _, request: "GET /test1/ HTTP/1
.1", host: "themansion.mine.nu"

means that you have no index file in /test1/ - /test1/index.html (default
index file):

        location / {
            root   /var/www/htdocs;
            #index  index.html index.htm;
            try_files      $uri  $uri/  @drupal;

What file should handle index of /test1/ ?

Igor Sysoev

More information about the nginx mailing list