Using Evolution 2.8.3 on Fedora Core 6. 

I'm trying to figure out how to share calendars with wife, also running
on same computer. 

I dinked around setting up publishing each of our calendars to a file,
and setting the up a calendars 
" On This Computer".  That looked promising, but I found that when her
calendar was changed and
published, I didn't see any changes in my view until I did the Evolution
--force-shutdown.  Not so 
handy. 

So I configured Apache to allow us to publish the calendar to our local
apache directory, using the notes in 
this URL:
http://fedoranews.org/mediawiki/index.php/Building_a_Simple_Calendar_Server_with_Fedora_and_WebDAV

And I setup the publishing of our calendars.   This seems to work, since
there is a .ics file which gets updated:

[EMAIL PROTECTED] cal]# pwd
/var/www/html/cal
You have new mail in /var/spool/mail/root
[EMAIL PROTECTED] cal]# ls -l
total 76
-rw-rw-rw- 1 pat    apache 39052 Apr  7 10:34 neal.ics
-rw-rw-rw- 1 apache apache 29781 Apr  6 09:45 pat.ics
-rw-rw-rw- 1 apache apache   392 Mar 12 22:49 test.ics


However, Apache log files do indicate some gripes, although you can see
the .ics file is updated...
--1f588a24-H--
Message: Warning. Match of "rx ^((?:(?:POS|GE)T|OPTIONS|HEAD))$" against
"REQUEST_METHOD" required. [id "960032"] [msg "Method is not allowed by
policy"] [severity "CRITICAL"]
Apache-Handler: dav-handler
Stopwatch: 1175956494589869 4508 (1773* 3007 -)
Producer: ModSecurity v2.1.0 (Apache 2.x)
Server: Apache/2.2.3 (Fedora)

--1f588a24-Z--


==> modsec_debug.log <==
[07/Apr/2007:10:34:54 --0400]
[192.168.100.133/sid#804823f0][rid#808dd588][/cal/neal.ics][2] Warning.
Match of "rx ^((?:(?:POS|GE)T|OPTIONS|HEAD))$" against "REQUEST_METHOD"
required. [id "960032"] [msg "Method is not allowed by policy"]
[severity "CRITICAL"]
[07/Apr/2007:10:34:54 --0400]
[192.168.100.133/sid#804823f0][rid#808eb5c0][/cal/neal.ics][2] Warning.
Match of "rx ^((?:(?:POS|GE)T|OPTIONS|HEAD))$" against "REQUEST_METHOD"
required. [id "960032"] [msg "Method is not allowed by policy"]
[severity "CRITICAL"]
[07/Apr/2007:10:34:54 --0400]
[192.168.100.133/sid#804823f0][rid#808dd588][/cal/neal.ics][2] Warning.
Match of "rx ^((?:(?:POS|GE)T|OPTIONS|HEAD))$" against "REQUEST_METHOD"
required. [id "960032"] [msg "Method is not allowed by policy"]
[severity "CRITICAL"]


So, looks like I've got a calendar I can share. 

I tried setting up a new Calendar under the Caldav section,    with a
URL of: caldav://192.168.100.133/cal/pat.ics, and a Username of webdav,
which is the the only user in the Apache WebDav section.     When I
click on this calendar, the apache log files indicate:

==> access_log <==
192.168.100.133 - - [07/Apr/2007:10:48:16 -0400] "OPTIONS /cal/pat.ics
HTTP/1.1" 401 481 "-" "Evolution/1.8.3"

==> modsec_audit.log <==
--b797592b-A--
[07/Apr/2007:10:48:17 --0400] 5PVs3sCoZIUAAGodUPYAAAAB 192.168.100.133
35931 192.168.100.133 80
--b797592b-B--
OPTIONS /cal/pat.ics HTTP/1.1
Host: 192.168.100.133
User-Agent: Evolution/1.8.3

--b797592b-F--
HTTP/1.1 401 Authorization Required
WWW-Authenticate: Basic realm="WebDAV Restricted"
Content-Length: 481
Connection: close
Content-Type: text/html; charset=iso-8859-1

--b797592b-H--
Stopwatch: 1175957296999646 690 (- - -)
Producer: ModSecurity v2.1.0 (Apache 2.x)
Server: Apache/2.2.3 (Fedora)

--b797592b-Z--

Occasionally Evolution will ask me for a password, but not always.    If
I change the userid in the Calendar definition, I can get
different log results....


--1542c616-H--
Apache-Error: [file
"/builddir/build/BUILD/httpd-2.2.3/modules/aaa/mod_auth_basic.c"] [line
272] [level 3] user webdavdork not found: /cal/pat.ics
Stopwatch: 1175957422497479 912 (- - -)
Producer: ModSecurity v2.1.0 (Apache 2.x)
Server: Apache/2.2.3 (Fedora)

--1542c616-Z--


==> error_log <==
[Sat Apr 07 10:50:22 2007] [error] [client 192.168.100.133] user
webdavdork not found: /cal/pat.ics

When I change it back to user webdav, it doesn't re-prompt for a
password again. 

The other thing I notice is that this doesn't appear to indicate any
desire to reload the calendar for changes.  How is that supposed 
to work? 



So, I thought I'd try setting up a calendar "On the Web", since it
clearly shows an update/reload time.   So, I set that up with a
URL of webcal://192.168.100.133/cal/pat.ics.    It never seems to ask me
for a password at all.  Sometimes I click on it and 
nothing happens at all.  Sometimes I get this in the logs...

==> access_log <==
192.168.100.133 - - [07/Apr/2007:10:59:49 -0400] "GET /cal/pat.ics
HTTP/1.1" 401 481 "-" "Evolution/1.8.3"
192.168.100.133 - - [07/Apr/2007:10:59:50 -0400] "GET /cal/pat.ics
HTTP/1.1" 401 481 "-" "Evolution/1.8.3"

==> modsec_audit.log <==
--8ec6b062-A--
[07/Apr/2007:10:59:49 --0400] Dj6G2sCoZIUAAGoeUogAAAAC 192.168.100.133
36723 192.168.100.133 80
--8ec6b062-B--
GET /cal/pat.ics HTTP/1.1
Host: 192.168.100.133
User-Agent: Evolution/1.8.3

--8ec6b062-F--
HTTP/1.1 401 Authorization Required
WWW-Authenticate: Basic realm="WebDAV Restricted"
Content-Length: 481
Connection: close
Content-Type: text/html; charset=iso-8859-1

--8ec6b062-H--
Stopwatch: 1175957989656282 1255 (- - -)
Producer: ModSecurity v2.1.0 (Apache 2.x)
Server: Apache/2.2.3 (Fedora)

--8ec6b062-Z--

--8ec6b062-A--
[07/Apr/2007:10:59:50 --0400] [EMAIL PROTECTED] 192.168.100.133
36724 192.168.100.133 80
--8ec6b062-B--
GET /cal/pat.ics HTTP/1.1
Host: 192.168.100.133
User-Agent: Evolution/1.8.3


So, I'm back to:

A. Is CalDav and "on the web" supposed to actually work?   Has anyone
gotten them to work?   What are the correct URLs?
B. It seems that Caldav has the facility to allow entry of a userid, but
not to refresh the calendar after a set time.
C. It seems  "On the Web" has the facility to refresh, but no means of
entering a userid. 
D. Is this some cruel joke? 
E. How does one approach debugging this when Evolution gives absolutely
no clues about what it is doing and what the 
responses are? 

_______________________________________________
Evolution-list mailing list
Evolution-list@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-list

Reply via email to