[kronolith] Accessing calendar via WebDAV from nginx

Johan Huldtgren johan+kronolith at huldtgren.com
Thu Oct 7 19:07:24 UTC 2010


hello,

this is a bit of a long shot, but perhaps somebody has some
tips to offer. I've setup the horde suite with nginx and
fastcgi, everything works fine with the exception of fetching
my calendar via WebDAV. When I use my browser to try to
access the subscription link:

https://server.example.com/rpc.php/kronolith/user/user.ics

I get an error page informing me that the XML file has no
style information and a referrer to

https://server.example.com/rpc/index.php?wsdl

I never get a log in, but I'm uncertain if there is
something wrong with the nginx rewrite rule, or if this
is some sort of DAV problem. If I switch over to apache
this works just fine, when accessing the calendar link
I'm given the login box and then given an ics file.

logfile under nginx:

"GET /rpc.php/kronolith/user/user.ics HTTP/1.1" 200 164  
"http://server.example.com/kronolith/calendars/" "Mozilla/5.0  
(Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914  
Firefox/3.6.10"

logfile under apache:

"GET /rpc.php/kronolith/user/user.ics HTTP/1.0" 401 26  
"http://server.example.com/kronolith/calendars/" "Mozilla/5.0  
(Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914  
Firefox/3.6.10"
"GET /rpc.php/kronolith/user/user.ics HTTP/1.0" 200 59571  
"http://server.example.com/kronolith/calendars/" "Mozilla/5.0  
(Windows; U; Windows NT 5.1; en-US; rv:1.9.2.10) Gecko/20100914  
Firefox/3.6.10"

Relevant parts from the nginx configuration:

location ~ \.php$ {
	fastcgi_param HTTPS on;
	fastcgi_pass   127.0.0.1:9000;
	fastcgi_param  SCRIPT_FILENAME  /var/www/horde/$fastcgi_script_name;
	include fastcgi_params;
}

location /rpc {
	try_files $uri $uri/ /rpc/index.php?$request_uri;
}


OS: OpenBSD 4.8-current (GENERIC) #258:

Relevant packages / versions:

Horde: 3.3.8
Imp: H3 (4.3.7)
Ingo: H3 (1.2.4)
Kronolith: H3 (2.3.4)
Mnemo: H3 (2.2.3)
Nag: H3 (2.3.5)
Turba: H3 (2.3.4)

pear-1.7.2
pear-Auth-SASL-1.0.4
pear-Cache-1.5.4p2
pear-Console-Table-1.1.3p0
pear-DB-1.7.6p2
pear-Date-1.4.6p1
pear-File-1.2.2p1
pear-File-Find-1.3.0p0
pear-HTTP-Request-1.4.4p0
pear-HTTP-WebDAV-Server-1.0.0rc4p1
pear-Log-1.11.5
pear-MDB2-2.4.1p0
pear-Mail-1.2.0b2p1
pear-Mail-Mime-1.5.3
pear-Mail-mimeDecode-1.5.1
pear-Net-DNS-1.0.1
pear-Net-SMTP-1.4.1
pear-Net-Socket-1.0.9p0
pear-Net-URL-1.0.14p2
pear-SOAP-0.12.0p0
pear-Services-Weather-1.4.0p2
pear-XML-Parser-1.2.6p1
pear-XML-Serializer-0.18.0p1
pear-XML-Tree-1.1p2
pear-XML-Util-1.1.1p2
pear-utils-1.7.2
pecl-Fileinfo-1.0.4
pecl-LZF-1.5.2
pecl-geoip-1.0.7
pecl-imagick-2.3.0
php5-core-5.2.14
php5-fastcgi-5.2.14
php5-gd-5.2.14
php5-imap-5.2.14
php5-mbstring-5.2.14
php5-mcrypt-5.2.14
php5-mhash-5.2.14
php5-pgsql-5.2.14
php5-tidy-5.2.14


Thanks,

.jh



More information about the kronolith mailing list