Befox / cdav

Dolibarr module to access calendars and address book from CalDAV/CardDAV tools
GNU General Public License v3.0
47 stars 28 forks source link

Only getting 404. #28

Closed st31ny closed 5 years ago

st31ny commented 5 years ago

I am using Dolibarr 8.0.3 and installed and activated cdav.

I can successfully access https://server.example.com/dolibarr/htdocs/cdav/server.php after entering my credentials and get a page with links to adddressbooks, calendars, principals, public, and, for administrators, documents.

However, all links just give me the standard dolibarr 404 page. What am I doing wrong here? Do I need to setup a rewrite rule to enable resoling links like https://server.example.com/dolibarr/htdocs/cdav/server.php/addressbook? Since I can successfully authenticate, I guess that the rewrite issues described in the readme do not apply here.

My environment:

Thanks for your support!

jpfox commented 5 years ago

it's strange, generally, when authentication is good, accessing other pages works.

I do not use nginx (only apache). It seems that part after server.php is not pass to php as query-string. Have a look her maybe : https://serverfault.com/questions/685525/nginx-php-fpm-query-parameters-wont-be-passed-to-php

st31ny commented 5 years ago

Thanks a lot for your fast reply! Indeed you're right — my nginx configuration only allowed locations ending in php to be processed by php-fpm. Now, I use the example config on nginx's homepage which includes explanation about PATH_INFO and works like a charm.