Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: haj on April 01, 2004, 01:12:05 AM
-
URL: http://no.longer.valid/phpwiki/index.php/How%20to%20install%20mod_dav
Request: Please test and report your results.
-
Install went fine (on a 6.01), but calendar for mozilla does not work.
Michael
-
Ooops, sorry I forgot that:
Dav lockfile:
* Open template fragment
pico /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/35DavLock
* Type that content:
<IfModule mod_dav.c>
DAVLockDB /var/run/davLocks/DAVLock
</IfModule>
* Save the file (ctrl+X)
* Create lock directory and give it the right ownership
mkdir /var/run/davLocks
chown www:www /var/run/davLocks
Also added a note on sharing calendars.
HowTo updated
[/b]
-
Hi,
so now i can read an ics file (which i copied into the files folder of an "webdeav'ed" ibay), but calendar cannot write to it.
Maybe webdav location should move away from the ibays to the webshare directories (http://no.longer.valid/mylinks/visit.php?cid=123&lid=296),
which work great for uploads, and is allready .htaccess-enabled.
Michael
-
Sorry, my mistake - works great.
Michael
-
Laurent,
thanks for your work on that. After your updated documentation, it's working fine here.
Looking at the available clients, I like the approach with .ics files but I feel a need for the web based access as an alternative when users are travelling (same as imap mail client plus webmail).
I downloaded and played with phpicalendar and so far I can read the .ics file that I created with Mozilla's calendar but I cannot update through the web interface.
Has anybody experience with phpicalendar?
Regards,
Michael Doerner
-
Hi all
When enabling WebDav on my server i am unable to log onto sever_manager using ssl
Any idea's
-
Laurent,
thanks for your work on that. After your updated documentation, it's working fine here.
Looking at the available clients, I like the approach with .ics files but I feel a need for the web based access as an alternative when users are travelling (same as imap mail client plus webmail).
I downloaded and played with phpicalendar and so far I can read the .ics file that I created with Mozilla's calendar but I cannot update through the web interface.
Has anybody experience with phpicalendar?
Regards,
Michael Doerner
PhpIcalendar can only read ics :)
Hi all
When enabling WebDav on my server i am unable to log onto sever_manager using ssl
Any idea's
try
#service httpd-admin restart
-
Laurent,
thanks for your work on that. After your updated documentation, it's working fine here.
Looking at the available clients, I like the approach with .ics files but I feel a need for the web based access as an alternative when users are travelling (same as imap mail client plus webmail).
I downloaded and played with phpicalendar and so far I can read the .ics file that I created with Mozilla's calendar but I cannot update through the web interface.
Has anybody experience with phpicalendar?
Regards,
Michael Doerner
-
Install went ok on 5.6. Thanks a lot for this !
But there's still something I would like to do : set up a semi-public area for viewing calendars (1 public user account), and a private area for updating the calendar.
I tested the access through a password protected i-bay : it's ok when updating. That makes my public user account for viewing.
The tricky part is to set up a second user account on the directory that stores the calendars (for limiting updates to 1 private user account).
I'm not really a linux guru, so if anyone can help...
thx in advance.
Frej.
-
Install went ok on 5.6. Thanks a lot for this !
But there's still something I would like to do : set up a semi-public area for viewing calendars (1 public user account), and a private area for updating the calendar.
I tested the access through a password protected i-bay : it's ok when updating. That makes my public user account for viewing.
The tricky part is to set up a second user account on the directory that stores the calendars (for limiting updates to 1 private user account).
I'm not really a linux guru, so if anyone can help...
thx in advance.
Frej.
Create a no-password-protected Ibays
Put there public Calendars
To have private calendars for user MYUSER:
- create a directory MYUSER in the Ibay
- cd to directory MYUSER
- pico .htaccess
- paste:
AuthUserFile /home/e-smith/files/ibays/IBAYNAME/html/MYSUSER/.htpasswd
AuthGroupFile /dev/null
AuthName "Please authenticate"
AuthType Basic
require MYUSER
- save
- create password file:
#htpasswd -c .htpasswd MYUSER
and choose a password
Haven't tried but should work
More infos there:
http://hoohoo.ncsa.uiuc.edu/docs/tutorials/user.html
-
ok for .htaccess that uses .htpasswd, but what if I just want to use the users and passwords inside my SME box ? I tried the following .htacces file :
AuthName "agendas"
AuthType Basic
AuthExternal pwauth
require user <username>
This is ok if I accordingly modify the setup of httpd.conf by adding AuthConfig to get :
AllowOverride Options FileInfo AuthConfig
This gives me a working website for viewing I put that file in the dir where the iCalendar file is stored... but updating that file does not work :-(
any idea ?
-
my mistake : publishing works if owner of the directory where calendars are stored is "www"
-
Hello,
Probably I did something wrong but I don't know what. And I dont know where to start repairing. Here's what happened:
I installed mod_dav according to the docs on this site. It responded ok on the commandline, but when I was done. The total webserver didn't responde. So even no server_manager through admin console. So no backup :evil:
How can I repair my templates without losing data/e-mail from the rest.
Many thanks,
dutch badger
-
My problem of a complete disfunctional apache solves when I disable mod_dav. Not really solved, but maybe I have to look closer to the docs first before trying again. First I'm making a backup now. Still I would like to know how to make it work. Mozilla Calendar.
-
I have SME 6 and get the following failed dependencies when running "rpm -Uvh mod_dav-1.0.3-5.i386.rpm"
error: failed dependencies:
webserver is needed by mod_dav-1.0.3-5
ld-linux.so.2 is needed by mod_dav-1.0.3-5
libc.so.6 is needed by mod_dav-1.0.3-5
libc.so.6(GLIBC_2.0) is needed by mod_dav-1.0.3-5
libc.so.6(GLIBC_2.1.3) is needed by mod_dav-1.0.3-5
Any Hints?
-
I had the same behavior on SME 6.5beta2.
/var/log/httpd/error_log reported:
<Directory> directive missing closing '>'
Examination found damage to /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/95AddModDav2ibays - I had meticulously copied and pasted the howto instructions into my server, but "pico" had wrapped the contents of this file when I pasted them in.
I corrected the file and re-ran:
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
and
/etc/e-smith/events/actions/restart-httpd-full
My web server came back fine.
After using chgrp and chown to make "www" the owner of my ibay folder webDAV works fine (although still with no usernames or passwords).
Hello,
Probably I did something wrong but I don't know what. And I dont know where to start repairing. Here's what happened:
I installed mod_dav according to the docs on this site. It responded ok on the commandline, but when I was done. The total webserver didn't responde. So even no server_manager through admin console. So no backup :evil:
How can I repair my templates without losing data/e-mail from the rest.
Many thanks,
dutch badger
-
Laurent Dinclaux has made a new version of his webdav rpm, if you have not used it already:
http://mirror.contribs.org/smeserver/contribs/ldinclaux/SME6.x/beta/smeserver-webdav/smeserver-webdav-1.0-3ld.noarch.rpm
-
Hi,
I've installed the WebDAV module and it's running fine on my v.6.01 box.
When administrating IBays it's easy to forget which WebDAV parameters was set and who were allowed access. I need a way to make a quick overview of all the settings.
Has anyone made an extension to the server manager for handling WebDAV - turning on/off and setting user access?
-
Badger, I had the same problem as you, I'm just glad to have my server back up, did you manage to fix your problem?
-
Is there a way to uninstall this package? I want to remove it completely.
-
I have SME 6 and get the following failed dependencies when running "rpm -Uvh mod_dav-1.0.3-5.i386.rpm"
error: failed dependencies:
webserver is needed by mod_dav-1.0.3-5
ld-linux.so.2 is needed by mod_dav-1.0.3-5
libc.so.6 is needed by mod_dav-1.0.3-5
libc.so.6(GLIBC_2.0) is needed by mod_dav-1.0.3-5
libc.so.6(GLIBC_2.1.3) is needed by mod_dav-1.0.3-5
Any Hints?
Have you downloaded the redhat 7.3 version?
Laurent Dinclaux has made a new version of his webdav rpm, if you have not used it already:
http://mirror.contribs.org/smeserver/contribs/ldinclaux/SME6.x/beta/smeserver-webdav/smeserver-webdav-1.0-3ld.noarch.rpm
Well, it is still in beta. It needs some improvements: use it at your own risk.
Is there a way to uninstall this package? I want to remove it completely.
Witch package?
Anyway, for any rpm just do:
'rpm -e packagename'
Hope I will find time to create a pannel.
Regards
-
Hello,
Probably I did something wrong but I don't know what. And I dont know where to start repairing. Here's what happened:
I installed mod_dav according to the docs on this site. It responded ok on the commandline, but when I was done. The total webserver didn't responde. So even no server_manager through admin console. So no backup :evil:
How can I repair my templates without losing data/e-mail from the rest.
Many thanks,
dutch badger
It is easy! Just delete what you have created and what you have installed :-D
rpm -e mod_dav
rm -fr /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/20LoadModule80mod_dav
rm -fr /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/30AddModule60mod_dav
rm -fr /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/35DavLock
rm -fr /var/run/davLocks
rm -fr /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/95AddModDav2ibays
/sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
/etc/e-smith/events/actions/restart-httpd-full
-
Thank you.
-
Hi All
Followed the HowTo very carefully and everything seemed to go fine until I tested.
Found out that I needed to restart httpd (service httpd restart
This may or maynot give you an error about a missing >. If so, simply edit your httpd.conf
You will need to issue the restart command after editing the httpd.conf
service httpd restart
You will also need to restart the httpd-admin service to allow access to the server-manager
service httpd-admin restart
Hope this helps everyone.
-
Laurent,
smeserver-webdav-1.0-3ld.noarch.rpm does not work on 7.x due to changed action scripts and db locations. Are you planning to release a 7.x version any time soon?
Peter
-
I'm also interresting by an update.
:-)
May it could work either with PHPCalandar or, better, with the extension of IMP/HORDE called Kronolith (http://www.horde.org/kronolith/) that seems to be compatible with ics files ?
No other way to have a write access by the web ? To mix the view between several individual calendars ?
-
All,
I have updated the wiki with an alpha howto on configuring webdav on 7.x.
http://no.longer.valid/phpwiki/index.php/How%20to%20install%20mod_dav%20on%20SME%207.x
-
pwalter
What mod_dav rpm file did you use ... doesn't say anywhere in the wiki ... the old one was for redhat 7.3 .... did you find one for centos 4.2
Regards,
Tib
-
Tib,
No additional rpm needed for SME 7.x. The necessary modules are included in the Apache 2.x configuration as shipped, and are *already* installed - they simply need to be configured for SME.
Peter
-
pwalter,
Does this work on SME7rc2? I tried like 4 times to follow the step-by step instructions and apache just broke everytime.
-
Does this work on SME7rc2? I tried like 4 times to follow the step-by step instructions and apache just broke everytime.
Yes, it works for me. What does "just broke" mean, exactly? To restore the Apache configuration, just remove the template fragments, then
sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
/etc/rc7.d/S86httpd-e-smith restart