On Sat, Nov 28, 2015 at 11:40:34AM -0700, Ben Goren wrote: > So, I'm having a devil of a time getting productivity/davical up and running. > > This is on: > > $ uname -a > OpenBSD clarke.trumpetpower.com 5.8 GENERIC.MP#0 i386 > > (I'm following -stable. Haven't checked for updates in a couple weeks, but > I'm otherwise up-to-date.) > > Everything is installed from packages from the local FTP mirror. > > I first tried with httpd as the Web server and then with nginx at a > suggestion from somebody on the Davical mailing list. > > I can connect to /admin.php and add a user and that sort of stuff; the PHP / > database / everything else side of everything is working. > > However, I can't actually access any calendars with any CALDAV clients. And, > according to the folks at the Davical mailing list, I should be able to > browse to: > > http://clarke.trumpetpower.com:8443/caldav.php/username/calendar > > and see something useful; however, I get a 404. And, when I browse just to > /caldav.php, I just get, "Get requests on collections are only supported for > calendars." > > Again, at the suggestion of somebody on the Davical mailing list, I tried > using nginx instead of httpd, but the symptoms are identical.
What nginx config ? Here's mine with php-fpm on 5.6.. server { server_name davical.fqdn; access_log logs/davical-access; error_log logs/davical-error; root /var/www/davical/htdocs/; location / { index index.php; } location /images/ { } location ~ ^(.*\.php)(.*)$ { include fastcgi_params; fastcgi_pass unix:run/php-fpm.sock; fastcgi_split_path_info ^(.*\.php)(.*)$; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } } And if i go to davical.fqdn/caldav.php/myuser/calendar, the browser sends me the whole ical file. Have you tried with a real caldav client like lightning ? Landry
pgp9HfC8ZN5lr.pgp
Description: PGP signature