tbsync setup -- iRony not working

Geoff Nordli geoffn at gnaa.net
Wed Feb 19 18:22:34 CET 2020


Hi.

I did not have that link in the config folder.  I added it.

Also, I adjusted the apache configuration.

I am getting a forbidden error message now.

URL:
https://XXXXX/iRony/.well-known/carddav (PROPFIND)

Request:
<d:propfind xmlns:d="DAV:"><d:prop><d:current-user-principal 
/></d:prop></d:propfind>

Response:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
<h1>Forbidden</h1>
<p>You don't have permission to access /iRony/.well-known/carddav
on this server.</p>
</body>
</html>

In the apache log.

[Thu Feb 13 12:01:52.694157 2020] [authz_core:error] [pid 2377] [client 
192.168.0.149:37290] AH01630: client denied by server configuration: 
/usr/share/iRony/public_html/.well-known

When I do my google fu, it suggests I should be using Require all 
granted instead for apache 2.4

When I change that it gives me a 405 method not allowed error message.


URL:
https://XXXXX/.well-known/carddav (PROPFIND)

Request:
<d:propfind xmlns:d="DAV:"><d:prop><d:current-user-principal 
/></d:prop></d:propfind>

Response:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
<head>
<title>405 Method Not Allowed</title>
</head>
<body>
<h1>Method Not Allowed</h1>
<p>The requested method PROPFIND is not allowed for the URL 
/.well-known/carddav.</p>
</body>
</html>



Any other ideas?

Geoff



On 2020-02-12 10:26 p.m., MIhai Badici wrote:
>
> Did you have a symlynk of roundcube config in iRony/config ?
>
>  ls -lah config/
> total 24K
> drwxr-xr-x  2 root root 4.0K Feb  1 17:19 .
> drwxr-xr-x 11 root root 4.0K Feb  1 14:18 ..
> lrwxrwxrwx  1 root root   42 Feb  1 14:16 config.inc.php -> 
> /usr/share/roundcubemail/config/config.inc.php
> -rw-r--r--  1 root root 5.9K Feb  1 17:19 dav.inc.php
>
> And in Apache:
>
>
>   Alias /iRony   /usr/share/iRony/public_html
>      <Directory /usr/share/iRony/public_html>
>                 Options Indexes FollowSymLinks MultiViews
>                 AllowOverride None
>                 Order allow,deny
>                 allow from all
>
>
>
>     RewriteEngine On
>     RewriteBase /iRony/
>     RewriteRule ^\.well-known/caldav   / [L,R=301]
>     RewriteRule ^\.well-known/carddav  / [L,R=301]
>
>     RewriteCond  %{REQUEST_FILENAME}  !-f
>     RewriteCond  %{REQUEST_FILENAME}  !-d
>     RewriteRule  (.*)                 index.php  [qsappend,last]
>
>     SetEnv CALDAV     1
>     SetEnv CARDDAV    1
>     SetEnv WEBDAV     1
> </Directory>
>
>
> On 2/13/20 8:00 AM, Geoff Nordli wrote:
>> It actually seems like an issue with iRony.  I am not getting any 
>> logging in /var/log/iRony/.
>>
>> curl https://server.ca/.well-known/caldav
>>
>> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>> <html><head>
>> <title>404 Not Found</title>
>> </head><body>
>> <h1>Not Found</h1>
>> <p>The requested URL /.well-known/caldav was not found on this 
>> server.</p>
>> </body></html>
>>
>> I have the iRony.conf file in httpd.conf.
>>
>> cat /etc/httpd/conf.d/iRony.conf
>> Alias /iRony   /usr/share/iRony/public_html
>>
>> <Directory "/usr/share/iRony/public_html/">
>>     AllowOverride All
>>
>>     <IfModule mod_authz_core.c>
>>         # Apache 2.4
>>         Require all granted
>>     </IfModule>
>>     <IfModule !mod_authz_core.c>
>>         # Apache 2.2
>>         Order Allow,Deny
>>         Allow from All
>>     </IfModule>
>>
>>     RewriteEngine On
>>     RewriteBase /iRony/
>>     RewriteRule ^\.well-known/caldav   / [R,L]
>>     RewriteRule ^\.well-known/carddav  / [R,L]
>>
>>     RewriteCond  %{REQUEST_FILENAME}  !-f
>>     RewriteCond  %{REQUEST_FILENAME}  !-d
>>     RewriteRule  (.*)                 index.php  [qsappend,last]
>>
>> </Directory>
>>
>> I have the dav and authz_core modules loaded:
>>
>> apachectl -M | grep authz_cor
>>  authz_core_module (shared)
>>
>> apachectl -M | grep dav
>>  dav_module (shared)
>>  dav_fs_module (shared)
>>  dav_lock_module (shared)
>>
>> Any other ideas?
>>
>> thanks,
>>
>> Geoff
>>
>>
>> On 2020-02-12 3:12 p.m., Geoff Nordli wrote:
>>> Hi.
>>>
>>> I am working on getting the calendar/tasks/contacts synced with 
>>> thunderbird.
>>>
>>> When I try to setup the tbsync it is failing.  Does anyone have some 
>>> setup notes on getting it running.
>>>
>>> URL:
>>> https://mail.XXXX?.well-known/caldav (PROPFIND)
>>>
>>> Request:
>>> <d:propfind xmlns:d="DAV:"><d:prop><d:current-user-principal 
>>> /></d:prop></d:propfind>
>>>
>>> Response:
>>> <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
>>> <html>
>>> <head>
>>> <title>405 Method Not Allowed</title>
>>> </head>
>>> <body>
>>> <h1>Method Not Allowed</h1>
>>> <p>The requested method PROPFIND is not allowed for the URL 
>>> /.well-known/caldav.</p>
>>> </body>
>>> </html>
>>>
>>>
>>> thanks,
>>>
>>> Geoff
>>>
>> _______________________________________________
>> users mailing list
>> users at lists.kolab.org
>> https://lists.kolab.org/mailman/listinfo/users


More information about the users mailing list