Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: haj on April 01, 2004, 01:12:05 AM

Title: -CCR- How to install mod_dav
Post 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.
Title: -CCR- How to install mod_dav
Post by: salesman on April 01, 2004, 09:14:12 AM
Install went fine (on a 6.01), but calendar for mozilla does not work.

Michael
Title: -CCR- How to install mod_dav
Post by: haj on April 02, 2004, 12:44:26 AM
Ooops, sorry I forgot that:

Quote
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]
Title: -CCR- How to install mod_dav
Post by: Anonymous on April 04, 2004, 07:47:35 AM
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
Title: -CCR- How to install mod_dav
Post by: Anonymous on April 04, 2004, 08:14:39 AM
Sorry, my mistake - works great.
Michael
Title: -CCR- How to install mod_dav
Post by: mdo on April 04, 2004, 11:39:32 AM
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
Title: -CCR- How to install mod_dav
Post by: stiperstones on April 04, 2004, 06:40:20 PM
Hi all
When enabling WebDav on my server i am unable to log onto sever_manager using ssl
Any idea's
Title: -CCR- How to install mod_dav
Post by: Anonymous on April 05, 2004, 12:09:36 AM
Quote from: "mdo"
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 :)

Quote
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
Title: -CCR- How to install mod_dav
Post by: haj on April 05, 2004, 12:11:59 AM
Quote from: "mdo"
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
Title: ok, still...
Post by: frej on April 09, 2004, 12:56:59 AM
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.
Title: Re: ok, still...
Post by: Anonymous on April 09, 2004, 08:55:43 AM
Quote from: "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
Title: ok for .htaccess, but...
Post by: frej on April 15, 2004, 01:34:07 AM
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 ?
Title: oups
Post by: frej on April 15, 2004, 11:27:12 PM
my mistake : publishing works if owner of the directory where calendars are stored is "www"
Title: What went wrong? No webserver after install webdav on 6.0r3
Post by: badger on April 17, 2004, 09:29:58 PM
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
Title: Disabling Moddav again 'solves' problem.
Post by: badger on April 17, 2004, 10:34:28 PM
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.
Title: error: failed dependencies:
Post by: Anonymous on July 04, 2004, 01:54:07 PM
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?
Title: Re: What went wrong? No webserver after install webdav on 6.
Post by: mmccarn on February 07, 2005, 09:38:54 PM
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).


Quote from: "badger"
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
Title: -CCR- How to install mod_dav
Post by: mbachmann on February 08, 2005, 10:35:44 AM
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
Title: WebDAV in server manager
Post by: bebran on April 18, 2005, 02:10:34 PM
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?
Title: -CCR- How to install mod_dav
Post by: Smitro on April 25, 2005, 10:49:01 PM
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?
Title: -CCR- How to install mod_dav
Post by: Smitro on May 04, 2005, 03:17:59 AM
Is there a way to uninstall this package? I want to remove it completely.
Title: Re: error: failed dependencies:
Post by: haj on May 04, 2005, 05:07:27 AM
Quote from: "Anonymous"
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?

Quote
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.

Quote

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
Title: Re: What went wrong? No webserver after install webdav on 6.
Post by: haj on May 04, 2005, 05:14:07 AM
Quote from: "badger"
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

Code: [Select]

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  
Title: -CCR- How to install mod_dav
Post by: Smitro on May 04, 2005, 10:52:36 AM
Thank you.
Title: a few issues
Post by: ki11er on June 16, 2005, 03:07:07 AM
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.
Title: -CCR- How to install mod_dav
Post by: pwalter on March 29, 2006, 05:06:44 PM
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
Title: WebDav + ICalendar on SME 7
Post by: RvLardin on March 30, 2006, 12:57:22 PM
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 ?
Title: -CCR- How to install mod_dav
Post by: pwalter on April 09, 2006, 09:19:49 PM
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
Title: -CCR- How to install mod_dav
Post by: Tib on April 17, 2006, 04:04:42 PM
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
Title: -CCR- How to install mod_dav
Post by: pwalter on April 17, 2006, 06:31:52 PM
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
Title: -CCR- How to install mod_dav
Post by: bubbers214 on May 17, 2006, 09:08:42 PM
pwalter,

Does this work on SME7rc2?  I tried like 4 times to follow the step-by step instructions and apache just broke everytime.
Title: -CCR- How to install mod_dav
Post by: pwalter on May 17, 2006, 09:59:28 PM
Quote
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
Code: [Select]
sbin/e-smith/expand-template /etc/httpd/conf/httpd.conf
/etc/rc7.d/S86httpd-e-smith restart