[prev in list] [next in list] [prev in thread] [next in thread]
List: kronolith
Subject: Re: [kronolith] Accessing calendar via WebDAV from nginx
From: Johan Huldtgren <johan+kronolith () huldtgren ! com>
Date: 2010-10-08 12:42:13
Message-ID: 4CAF11A5.7010003 () huldtgren ! com
[Download RAW message or body]
> Do you have nginx set up to pass PATH_INFO to PHP?
Thank you Chuck, that was indeed what I was missing. For the archives, solution as follows:
Add the following to fastcgi_params
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
Change the php related location blocks nginx.conf
location /horde/rpc {
try_files $uri $uri/ @rpc;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_index index.php;
fastcgi_param HTTPS on;
fastcgi_pass 127.0.0.1:9000;
}
location @rpc {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
include fastcgi_params;
fastcgi_param HTTPS on;
fastcgi_index index.php;
fastcgi_pass 127.0.0.1:9000;
}
Restart nginx and off you go.
.jh
--
Kronolith mailing list - Join the hunt: http://horde.org/bounties/#kronolith
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: kronolith-unsubscribe@lists.horde.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic