[horde] CalDAV setup

Harlan harlan.bloom at gmail.com
Fri Jan 26 22:15:53 UTC 2018



On 01/26/2018 01:42 PM, Jan Schneider wrote:
>
> Zitat von Harlan <harlan.bloom at gmail.com>:
>
>> On 01/26/2018 12:30 PM, Jan Schneider wrote:
>>>
>>> Zitat von Harlan <harlan.bloom at gmail.com>:
>>>
>>>> On 01/26/2018 01:57 AM, Jan Schneider wrote:
>>>>>
>>>>> Zitat von Harlan <harlan.bloom at gmail.com>:
>>>>>
>>>>>> On 01/25/2018 02:20 PM, Jan Schneider wrote:
>>>>>>>
>>>>>>> Zitat von Harlan <harlan.bloom at gmail.com>:
>>>>>>>
>>>>>>>> On 01/25/2018 01:49 PM, Jan Schneider wrote:
>>>>>>>>>
>>>>>>>>> Zitat von Harlan <harlan.bloom at gmail.com>:
>>>>>>>>>
>>>>>>>>>> On 01/24/2018 11:25 AM, Grouchy Sysadmin wrote:
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On 01/24/2018 11:06 AM, Harlan wrote:
>>>>>>>>>>>> I did forget to mention that I'm currently running Horde 
>>>>>>>>>>>> 5.2.22 running on Debian Jessie.  It was installed using 
>>>>>>>>>>>> pear, not from the debian packages.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> On 01/23/2018 04:18 PM, Harlan wrote:
>>>>>>>>>>>>> Hello,
>>>>>>>>>>>>>
>>>>>>>>>>>>>   I've been trying to get remote access to my calendars 
>>>>>>>>>>>>> working.
>>>>>>>>>>>>>
>>>>>>>>>>>>>   If I go to this URL: https://www.mydomain.com/webmail/rpc/
>>>>>>>>>>>>>
>>>>>>>>>>>>>     I get a listing of "services" that Horde thinks are 
>>>>>>>>>>>>> available:
>>>>>>>>>>>>>
>>>>>>>>>>>>> principals     Collection 2018-01-23T21:37:56+00:00
>>>>>>>>>>>>> calendars     Collection 2018-01-23T21:37:56+00:00
>>>>>>>>>>>>> addressbooks     Collection 2018-01-23T21:37:56+00:00
>>>>>>>>>>>>> kronolith     Collection 2018-01-23T21:37:56+00:00
>>>>>>>>>>>>> turba     Collection 2018-01-23T21:37:56+00:00
>>>>>>>>>>>>> nag     Collection 2018-01-23T21:37:56+00:00
>>>>>>>>>>>>> ansel     Collection 2018-01-23T21:37:56+00:00
>>>>>>>>>>>>> whups     Collection 2018-01-23T21:37:56+00:00
>>>>>>>>>>>>> gollem     Collection 2018-01-23T21:37:56+00:00
>>>>>>>>>>>>>
>>>>>>>>>>>>>   However, when I click on the the link (name) for any of 
>>>>>>>>>>>>> them, all I get is a 404/Not found error.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>   Obviously, something in my settings are not correct.
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>   What do I need to change to make these work????
>>>>>>>>>>>>>
>>>>>>>>>>>>>   What specific settings files you do you need to see to 
>>>>>>>>>>>>> help answer this question????
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> Thanks,
>>>>>>>>>>>>>
>>>>>>>>>>>>> Harlan...
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Which web server are you using? Do you have rewriting 
>>>>>>>>>>> configured and working? There should be an .htaccess file in 
>>>>>>>>>>> /webmail/rpc/ 1b133ee07c80f3d01d9c10177d186c99d569acd2
>>>>>>>>>>> for Apache servers.
>>>>>>>>>> I run Apache.
>>>>>>>>>>
>>>>>>>>>> Here is my .htaccess file:
>>>>>>>>>> # IMPORTANT: DO NOT EDIT THIS FILE!
>>>>>>>>>> # It will be overwritten with any future upgrade.
>>>>>>>>>>
>>>>>>>>>> <IfModule authz_core_module>
>>>>>>>>>>     Require all granted
>>>>>>>>>> </IfModule>
>>>>>>>>>> <IfModule !authz_core_module>
>>>>>>>>>>     Allow from all
>>>>>>>>>> </IfModule>
>>>>>>>>>>
>>>>>>>>>> <IfModule mod_rewrite.c>
>>>>>>>>>>     RewriteEngine On
>>>>>>>>>>     RewriteRule .* - 
>>>>>>>>>> [env=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
>>>>>>>>>>     RewriteRule .* - 
>>>>>>>>>> [env=REDIRECT_HTTP_AUTHORIZATION:%{HTTP:Authorization}]
>>>>>>>>>>     RewriteCond   %{REQUEST_FILENAME}  !-d
>>>>>>>>>>     RewriteCond   %{REQUEST_FILENAME}  !-f
>>>>>>>>>>     RewriteRule ^(.*)$ rampage.php [QSA,L]
>>>>>>>>>>     RedirectPermanent /.well-known/caldav /webmail/rpc/
>>>>>>>>>> </IfModule>
>>>>>>>>>>
>>>>>>>>>> With the addition you mentioned, some programs now say 
>>>>>>>>>> everything is ok, except there is still no calendar, nor 
>>>>>>>>>> anything else, available.  When I connect using a web 
>>>>>>>>>> browser, still getting the same listing and still none of the 
>>>>>>>>>> links work.
>>>>>>>>>>
>>>>>>>>>> Thanks,
>>>>>>>>>>
>>>>>>>>>> Harlan...
>>>>>>>>>
>>>>>>>>> Those are not to be consumed by the browser, but by CalDAV 
>>>>>>>>> clients.
>>>>>>>>>
>>>>>>>> My CalDAV client isn't finding any of these either, especially 
>>>>>>>> the calendars I have in my account.
>>>>>>>
>>>>>>> So what happens in those programs that you mentioned that say 
>>>>>>> everything would be okay? What happens if you click on the 
>>>>>>> "calendars" link with a browser?
>>>>>>>
>>>>>> In a web browser when I click on the calendars link, or any other 
>>>>>> link that shows up, I get "
>>>>>>
>>>>>>
>>>>>>  Not Found"
>>>>>>
>>>>>> The CalDAV client just says there is nothing to choose.
>>>>>
>>>>> Is this an error message from your web server or from sabre/dav?
>>>>>
>>>> This is from the web server.  The CalDAV client is saying that it 
>>>> can't find any calendars.
>>>
>>> This is not what I was trying to ask. You said, you got a Not Found 
>>> error, I assume in the browser. Was this an error from Apache or 
>>> from Sabre?
>>>
>> This is what the browser returns:
>>
>>
>>  Not Found
>>
>> The requested URL /webmail/rpc/calendars was not found on this server.
>>
>> ------------------------------------------------------------------------
>> Apache/2.4.10 (Raspbian) Server at www.domain.com Port 443
>
> Then you still don't have rewriting correctly enabled in your Apache 
> configuration. Fix that, or disable pretty URLs in the Horde 
> configuration and use the new URLs generated then.
>
I disabled the pretty URLs and it is now working!!!!

The solution came down to .htaccess not being right and disabling the 
pretty URLs.

Thank You ALL for your help!!!  I really do appreciate it!!!

Harlan...



More information about the horde mailing list