Push-Nachrichten von MacTechNews.de
Würden Sie gerne aktuelle Nachrichten aus der Apple-Welt direkt über Push-Nachrichten erhalten?
Forum>iPhone>Wie webCAL Calender selbst erstellen?

Wie webCAL Calender selbst erstellen?

Tomboman18.06.0908:49
Hi,
also ich find das neue OS ja wirklich super - vor allem gibt es eine Funktion, die mich in der Arbeit sehr unterstützen würde + alle Kollegen, die haben auch alle ein iPhone.

Ich will gerne einen Kalender erstellen, wo eingetragen werden:
- Abgabeschlüsse
- Seminar
- Meetings
- usw

Jeder iPhone User sollte sich jetzt darauf hin verbinden können, und aktuelle Änderungen automatisch bekommen - das is wohl webCAL

Nur die große Frage: Wie geht sowas? Hab eine Domain bei 1und1, da steht dass webCAL unterstützt wird, aber nicht wie. auch google war noch nicht mein bester freund dabei.

kann man hier eigentlich jedem user ein eigenen benutzernamen/passwort geben?

vielleicht is jemand da ja profi und kann newbie helfen

merci
0

Kommentare

Urkman18.06.0909:30
Das würde mich auch sehr interessieren...

Urkman
0
Alex.S
Alex.S18.06.0909:39
Hier ich auch!

Oder das hier:


First, open the file /etc/httpd/httpd.conf using the sudo command (e.g. sudo vi /etc/httpd/httpd.conf or sudo vim /etc/httpd/httpd.conf). You should see a long file that begins by decribing itself as the Apache HTTP server configuration file. You need to search for a line which reads #LoadModule digest_module libexec/httpd/mod_digest.so. Simply delete the "#" at the beginning of the line to enable it. Next, you need to search for and remove the sharp sign for #LoadModule dav_module libexec/httpd/libdav.so, #AddModule mod_digest.c, and #AddModule mod_dav.c. (If you decide not to use Digest authentication to password-protect your calendars, you can dispense with uncommenting the mod_digest lines)

Now, search for Directory ". You should see the line <Directory "/Library/WebServer/Documents">. This is the beginning of the section that defines that directory as the home for your web server. I entered the following stuff just before that line, but you can put it practically anywhere in this file, so long as it's not contained by the wrong thing. So unless you know what you're doing and have a reason for putting things somewhere else, make sure you start typing on the line before the <Directory "/Library/WebServer/Documents"> line.

First, set up a location for the 'lockfiles' for WebDAV. This location can be most anywhere on your computer, but it shouldn't be in your web tree (it shouldn't be in /Library/WebServer/Documents). I used /Library/WebServer/davlocks/. If you don't use this directory, remember that later when I describe how to set that location up.

# CHANGES BY GREG WESTIN - Turning on WebDAV
DAVLockDB /Library/WebServer/davlocks/DAVLockDB
DAVMinTimeout 600
Next, you need to turn WebDAV on specifically for a certain location. We don't want to turn it on everywhere because, as I said before, we only want to allow the permissions necessary for our purposes. I decided to put all my iCal files in a folder called "ical" at the top of my web tree. You can choose a different name, just remember to change all the references below.

<Location /ical>
DAV On
AllowOverride None
Options None
Now, you could be finished here, simply by putting in a closing </Location> tag. However, this would allow everyone unfettered access to that directory, to add, edit, and delete calendars which more appropriately should only be added and edited by you, and only read by people you give a password to. First, let's limit posting access to you. You'll need to set up a passwords file, which I'll describe later. I chose to put this file in a directory called /etc/httpd/passwords, but you can put it somewhere else if you'd like. Also, replace require user greg melissa with require user and then whatever usernames you'd like to use. You will probably only need one; I have two because my wife used to publish calendars to my computer.

AuthType Digest
AuthName "webdav access"
AuthDigestFile "/etc/httpd/passwords/webdav.digest"
<LimitExcept GET HEAD OPTIONS>
require user greg melissa
</LimitExcept>
Note: This setup uses so-called "Digest" authentication because it is more secure than "Basic" authentication, which sends your password in plain text. However, not all browsers can handle digest authentication. If you want to use Basic authentication, see the fourth FAQ at the bottom of this page.

Next, we want to allow any valid user in our passwords file to get things from this directory. I set up a 'guest' user, but you can set up individual users for your friends if you want, or not give anyone else access if you so choose.

<Limit GET HEAD OPTIONS>
require valid-user
</Limit>
</Location>
Ok, you should be done editing the httpd.conf file, so save and close it. If you have PHP enabled, however, or plan on enabling it, be sure to read the first FAQ on this page before finishing up with the httpd.conf file.


You're almost done. You now need to set up the aforementioned lockfile directory, ical directory, and password file, and then restart the web server.

First, the lockfile directory. Type "sudo mkdir /Library/WebServer/davlocks" and hit return to make the 'davlocks' directory. Now you need to make it 'owned' by the username that Apache uses, www. Type sudo chown www:www /Library/WebServer/davlocks.

Ok, done with that. Now let's set up the 'ical' directory. It's just like above: sudo mkdir /Library/WebServer/Documents/ical and then sudo chown www:www /Library/WebServer/Documents/ical. When you publish calendars, remember to publish to http://[your ip address or domain name]/ical, and when someone else subscribes, they use webcal://[your ip address or domain name]/ical/[calendar name].ics, both without any brackets, substituting the correct values.

Last, let's set up those passwords. For this, we use the 'htdigest' command. First, make the directory that will contain this file: sudo mkdir /etc/httpd/passwords. Next, use htdigest with the -c option to create the file (remember to substitute the username you want for 'greg'): sudo htdigest -c /etc/httpd/passwords/webdav.digest "webdav access" greg. For any other users you want to add, including a 'guest' or anonymous user, use a command like sudo htdigest /etc/httpd/passwords/webdav.digest "webdav access" guest (note the lack of the -c in this command, as we do not need to create the password file). For each of these, of course, you will be asked for a password for the given user. Note that the "AuthName" must match the second argument here.

Ok, you should be all set. Close that file, then simply type sudo apachectl graceful to restart your web server, and try it out! Remember to use the right syntax when publishing/subscribing, as iCal is picky. For me, things look like this:

To publish, I enter: http://ical.gregwestin.com/ical
To subscribe, people use: webcal://ical.gregwestin.com/ical/calendar.ics
In your case, you might not have your own domain name set up, and if you do, may not have the 'ical' subdomain set up. No problem. Your info might use 'www.mydomain.com' instead of 'ical.gregwestin.com', or it might use an IP address, in which case it would look something like (using a sample IP address of 140.247.145.23):

To publish: http://140.247.145.23/ical
To subscribe: webcal://140.247.145.23/ical/calendar.ics
This only works, of course, if you have a fixed IP address.
„Not so good in German but I do know English and Spanish fluently. Warum ich es mit dem Deutsch überhaupt versuche? Weil ich in Deutschland arbeite! Lechón
0
void
void18.06.0909:45
das läuft über daldav bzw groupdav (siehe jeweilige wiki-artikel)
ich bin auch schon was länger an der problematik dran und habe vor das auf nem server zu installieren.
falls ich erfolg habe, werde ich hier mal ein howto für ein minimalistisches serversetup schreiben, welches man zb in ner VM laufen lassen könnte.
„Developer of the Day 11. Februar 2013“
0
Urkman18.06.0909:50
Geht da nicht auch irgendwas einfaches mit einem Kalender von Google, Yahoo oder sowas?

Urkman
0
void
void18.06.0910:09
void
das läuft über daldav bzw groupdav ...
muss natürlich caldav heißen
Urkman
Geht da nicht auch irgendwas einfaches mit einem Kalender von Google, Yahoo oder sowas?
ich glaube google unterstützt das, allerdings dürfte man das nicht so frei konfigurieren können (eingeschränkte zugriffe, passwörter, etc)
„Developer of the Day 11. Februar 2013“
0
pixeldude
pixeldude18.06.0910:17
Mein Tipp: Yahoos neuer beta-Kalender funktioniert perfekt mit CalDAV!
Termine UND To-do, echt Super.
Google kann nur Termine.
Auch schreibzugriff auf abonnierte Kalender ist möglich.
0
void
void18.06.0910:34
pixeldude
Auch schreibzugriff auf abonnierte Kalender ist möglich.

Wovon hängt der Schreibzugriff ab? Das ist mir recht wichtig... Wie konfiguriert man das?
Ich habe zZ nen Apache2 mit Webdav und Basic-Auth... Kalender veröffentlichen ist np, aber abonnierte Kalender sind nur lesbar (obwohl ich für _jeden_ Zugriff nach User/PW fragen lasse)
„Developer of the Day 11. Februar 2013“
0
Urkman18.06.0911:19
pixeldude
Mein Tipp: Yahoos neuer beta-Kalender funktioniert perfekt mit CalDAV!
Termine UND To-do, echt Super.
Google kann nur Termine.
Auch schreibzugriff auf abonnierte Kalender ist möglich.

Hast du mal einen Link?

Urkman
0
pixeldude
pixeldude18.06.0911:26
Ich denke mit webDAV geht das nicht, nur mit calDAV.
In Yahoo kann man einstellen welche Benutzer/Kalender Schreib- oder Lesezugriff haben.
Hat auch geklappt zB in einen Google-Kalender etwas reinzustellen.
Man muss also erst in der Weboberfläche des Kalenders die Einstellungen machen, dann wird das auch in iCal übernommen, sogar die Farben stimmen bei mir.

Am besten selbst probieren:




0
pixeldude
pixeldude18.06.0911:41
If you are running iPhone 3.0 software (released Summer of 2009) or newer, syncing calendar to your iPhone can be done without plugging into your computer.
Make sure you are using the Calendar Beta. If you go to http://calendar.yahoo.com do you see the words “Yahoo! Calendar Beta” in the top left corner? If you are not using the beta you can switch to it by visiting http://switch.calendar.yahoo.com
Go to your iPhone settings application.
Tap "Mail, Contacts, Calendars".
Tap "Add Account".
Tap "Other" and then tap "Add CalDAV Account".
For the "Server" you can simply type "yahoo"
Now type in the Yahoo! username and password you use to signin to your calendar
Once you click save, the iPhone will verify your username and password.
Next time you open up your iPhone Calendar you will see a page allowing you to select with Yahoo! Calendar layer you want to view/edit.
0
void
void18.06.0912:41
pixeldude
Ich denke mit webDAV geht das nicht, nur mit calDAV.

scheint zu stimmen... ich habe mal grade davical (caldav implementation) auf meinen server installiert... damit klappen lese und schreibzugriffe.

webdav ist also nur dann sinnvoll, wenn ein kalender nur lesbar veröffentlicht werden soll. (dafür die deutlich einfachere lösung)
„Developer of the Day 11. Februar 2013“
0
void
void18.06.0912:49
um zurück auf die ausgangsfrage zu kommen:
die webdav lösung (für andere dann nur lesbar - aber das sollte für deine anforderungen ja reichen) macht im prinzip nichts anderes, als eine ics-datei auf einen server zu laden.

theoretisch kannst du auch aus iCal deine kalender manuell exportieren und auf einem server bereitstellen. das ist natürlich nicht ganz so angenehm, aber du umgehst die problematik, deinem server webdav beizubringen.
„Developer of the Day 11. Februar 2013“
0

Kommentieren

Diese Diskussion ist bereits mehr als 3 Monate alt und kann daher nicht mehr kommentiert werden.