Link Station > Section Technique > Software >

[CONSEIL] Comment installer et utiliser webdav




Aller au Forum:
Notez ce sujet :

  Sujet précédent   Sujet suivant
Auteur
Sujet    Tout développer | Tout contracter NOUVEAU SUJET    RÉPONDRE
Réduire ce messageCConanConfirméNiveau 7 · CinéphageRéférenceur Appliqué
Membre depuis
2002
Messages
731
Plus
Membre n°
903
Inscription
05 Apr 2002
Âge
45 ans
Sujets lancés
43
Ancienneté
100 %
Participation
46 %
[CONSEIL] Comment installer et utiliser webdavAncien message 03-02-2004 14:20
Coucou TLM

J'ai réussi à crée un server webdav sous IIS mais sous Apache (easyPHP) j'ai pas réussi.J'ai réussi à charger le module mais j'amrerai attribuer un pass et log pour différent répertoire.

Voila si vous avez une autre idée ou log por crée un server Webdav je suis ouvert

MErci

__________________
Ce qui nous tue pas nous rend plus forts
______________________________

Edité par Conan le 03-02-2004 à 15:50

Signaler ce message à un modérateur | IP: Logguée

Réduire ce messageSshakes808080GuruNiveau 27 · FigurantRéférenceur Appliqué
Membre depuis
2002
Messages
8978
Plus
Membre n°
517
Inscription
08 Mar 2002
Sujets lancés
354
Ancienneté
100 %
Participation
91 %
Ancien message 03-02-2004 14:31
<!-- [msg_moderateur] -->

salut conan,

le tag : d'abord, c'est pas [howto], c'est [HOWTO]...


ensuite, le tag : c'est pas [HOWTO] (c'est réservé aux tutos ça), mais plutot [CONSEIL] ou [PB]


[CONSEIL] Comment installer et utiliser webdav ?
ou
[PB] webdav : impossible de le créer sous apache / pb attribution pass et log.


A toi de voir si tu veux des réponses plutot précises ou plutot généralistes. Mais quelle que soit ton intention, merci de corriger rapidement.

[edit] . merci

__________________
Racket logiciel

Edité par shakes808080 le 03-02-2004 à 15:59

Signaler ce message à un modérateur | IP: Logguée

Réduire ce messageCConanConfirméNiveau 7 · CinéphageRéférenceur Appliqué
Membre depuis
2002
Messages
731
Plus
Membre n°
903
Inscription
05 Apr 2002
Âge
45 ans
Sujets lancés
43
Ancienneté
100 %
Participation
46 %
Ancien message 03-02-2004 15:51

__________________
Ce qui nous tue pas nous rend plus forts
______________________________

Signaler ce message à un modérateur | IP: Logguée

Réduire ce messageSSolacinGuruNiveau 11 · CinéphileRéférenceur Novice
Membre depuis
2003
Messages
8254
Plus
Membre n°
11117
Inscription
23 Mar 2003
Localisation
974
Âge
52 ans
Sujets lancés
28
Ancienneté
96 %
Participation
89 %
Ancien message 04-02-2004 07:46
Je pense qu'en partant de cette page ici, tu devrais trouver ton bonheur

__________________

Signaler ce message à un modérateur | IP: Logguée

Réduire ce messageCConanConfirméNiveau 7 · CinéphageRéférenceur Appliqué
Membre depuis
2002
Messages
731
Plus
Membre n°
903
Inscription
05 Apr 2002
Âge
45 ans
Sujets lancés
43
Ancienneté
100 %
Participation
46 %
Ancien message 05-02-2004 00:02
Oui merci

J'ai passer des heures sur ces pages est rien, j'ai bien comprit comment charger le module mais le blokage de certain répertoire avec un log pass j'ai pas réussi.

__________________
Ce qui nous tue pas nous rend plus forts
______________________________

Signaler ce message à un modérateur | IP: Logguée

Réduire ce messageSSolacinGuruNiveau 11 · CinéphileRéférenceur Novice
Membre depuis
2003
Messages
8254
Plus
Membre n°
11117
Inscription
23 Mar 2003
Localisation
974
Âge
52 ans
Sujets lancés
28
Ancienneté
96 %
Participation
89 %
Ancien message 05-02-2004 07:06
Tiens Conan, j'espère que tu y trouveras ton bonheur :
Citation

Enabling WebDAV on Apache
By Martin Brown

There is nothing worse when setting up a website than having to build some complicated method of viewing and updating the information on the site. There are lots of solutions -- using a local copy, using a combination of HTTP and FTP tools to download the original and upload the changes and of course the full-blown dynamic/content managed system that provides that nice cuddly front end for you to enter the information into.
In order to simplify the way you update websites, WebDAV was invented. Web-based Distributed Authoring and Versioning (WebDAV) uses extensions to the existing HTTP protocol to enable multiple users to manage and modify the files in a remote system. Using suitably enabled clients you can view, open, edit and save files directly into the filesystem of the Web site as it were of a remote website.
There are some obvious immediate benefits of this, not least of which the ability to edit the website without jumping through too many hoops, but it's the inventive use of the technology beyond editing a remote website that has lead to a recent explosion in interest of WebDAV. Nowhere is this explosion more prevalent than in the Mac OS X arena, where the iCal calendar application, provided free by Apple, can publish calendars to a WebDAV server so that other users can subscribe to the calendars and find out what you're doing.
Enabling WebDAV on your Apache server is a two stage process:
• You need to build and/or install the mod_dav module to add WebDAV services to your Apache installation.
• You must make some changes to your Apache configuration to tell it the directories in which to enable WebDAV services.
Installing mod_dav
For Apache 1.3.x under Unix you need the mod_dav module from http://www.webdav.org/mod_dav/, the package you need is listed at the top of the main part of the page, or you can download Version 1.3 using http://www.webdav.org/mod_dav/mod_d...3-1.3.6.tar.gz. Note that you'll need at least Apache version 1.3.6 to use the mod_dav module and it's best to use dynamic module loading rather than having to recompile the Apache binary. Once you've downloaded the package and extracted it using gunzip and/or tar, it should just be a case of:
./configure
make
make install
That will copy the libdav.so module created into your apache's libexec directory, probably /usr/local/apache/libexec.
Mac OS X and Mac OS X Server should come with the DAV module as part of the standard installation -- check the /usr/libexec/httpd directory for the libdav.so. If it isn't there, follow the steps above for Unix to compile your own version.
For Apache 1.3.x under Windows, the same site also provides a copy of a ready to run library to include (see http://www.webdav.org/mod_dav/win32/ for more details). You'll need to download the extension and then copy the module into the modules directory in your Apache installation.
For Apache 2.x a version of the mod_dav module is included. To ensure it's in your installation under Unix/Mac OS X you'll need to recompile the Apache source, running the configure utility with the --enable-dav option. Binary packages come with the module already enabled.
Windows versions of Apache 2 come with the mod_dav module.
If you are using a statically built server you can skip over this bit. If you're using a dynamic setup, you must tell Apache to load the corresponding DAV module. For Apache 1.3.x under Unix edit the httpd.conf file, find the LoadModule section and uncomment or add the line:
LoadModule dav_module libexec/libdav.so
Under Windows you need:
LoadModule dav_module libexec/mod_dav.dll
Under Mac OS X you need:
LoadModule dav_module libexec/httpd/libdav.so
For Apache 2.x under Unix or Mac OS X, mod_dav you'll need:
LoadModule dav_module modules/mod_dav.so
Under Windows you need:
LoadModule dav_module modules/mod_dav.dll
The next steps are more complex, so we'll take a little breather and find out exactly what is needed. To make use of WebDAV you must provide the location of a lock file (using the DAVLockDB directive) which will be used to record which user has a particular file open for writing or updating and prevents multiple users from trying to write to the same file. You can also specify a timeout value; Apache will automatically remove a lock if no access occurs during this period, the client specifies the requested timeout during connection, but you can override this using the DAVMinTimeout directive. These first two settings are handled by two lines in our httpd.conf file that you can you place more or less anywhere; the first sets the lock file location and the second the timeout value, in seconds:
DAVLockDB /tmp/DAVLock
DAVMinTimeout 600
I've used /tmp here for the lock file location, if you're particularly security conscious you might to use a different directory which is more secure. Note as well that these settings are global to the Apache server instance - we don't need to specify different lock databases for different directories. You can, however, specify different timeout values for different directories just by embedding the DAVMinTimeout.
To enable individual directories with DAV functionality we use a Location directive -- a straightforward DAV directive tells Apache to enable WebDAV on this location. We can also use the Location directive to enable security on the directory both to secure the information we'll be storing and to prevent just anybody adding information to our WebDAV enabled directory. The following block specifies the location of a password file and limits everything but read operations from our directory using the LimitExcept directive:
<Location /dav/>
DAV On
AuthType Basic
AuthName "WebDAV Restricted"
AuthUserFile /export/http/webs/pri.mcslp/dav/.DAVlogin
<LimitExcept GET HEAD OPTIONS>
Require user webdav
</LimitExcept>
</Location>
The last step is to create our password file (unless we're using an existing one) and if necessary the directory we're enabling with WebDAV:
mkdir /export/http/webs/pri.mcslp/dav
chgrp www /export/http/webs/pri.mcslp/dav
chmod 775 /export/http/webs/pri.mcslp/dav
htpasswd -c /export/http/webs/pri.mcslp/dav/.DAVlogin webdav
Once all that is done, we need to restart the Apache server to enable the new settings. Under Unix/Mac OS X we can do this with apachectl:
apachectl restart
Within Windows, use the Restart control option available from the Start menu.
Testing your Setup
If you are using Mac OS X, probably the easiest way to test it is to share one of your calendars in iCal. Choose Publish from the Calendar menu, choose Publish from a Web Server and enter the full URL of your server and DAV-enabled directory, then enter the username and password you set. Assuming everything has gone correctly, you should have published your calendar to the WebDAV share.
Under Windows, Windows 98, Me, 2000 and XP can all access a Web Share (the Microsoft term for a WebDAV-enabled directory). Use the Add a Network Place wizard, either through the links in the My Network Places window or through a standard File Open/Save dialog and enter the URL - you'll be prompted for a username and password.
Alternatively use a WebDAV enabled client like JEdit. JEdit is Java based and happens to be a very good editor. It also has a plug-in that allows you to open and save files directly from and to a WebDAV folder.

Source : Serverwatch

__________________

Signaler ce message à un modérateur | IP: Logguée

Réduire ce messageMMaousseGuruNiveau 25 · Chef opérateurRéférenceur Novice
Membre depuis
2002
Messages
15626
Plus
Membre n°
1121
Inscription
14 Apr 2002
Sujets lancés
211
Ancienneté
100 %
Participation
100 %
Ancien message 05-02-2004 09:23
Alors ? Ca donne quoi ?

__________________
Time goes by

Signaler ce message à un modérateur | IP: Logguée

Réduire ce messageSSolacinGuruNiveau 11 · CinéphileRéférenceur Novice
Membre depuis
2003
Messages
8254
Plus
Membre n°
11117
Inscription
23 Mar 2003
Localisation
974
Âge
52 ans
Sujets lancés
28
Ancienneté
96 %
Participation
89 %
Ancien message 05-02-2004 10:11
Ben si ca marche pas aprés ça, moi j'abandonne !!!!!!

__________________

Signaler ce message à un modérateur | IP: Logguée

Réduire ce messageGGinTonicGuruNiveau 24 · Chef opérateurRéférenceur Confirmé
Membre depuis
2002
Messages
9292
Plus
Membre n°
3344
Inscription
28 Jul 2002
Localisation
juste au dessus de Maitre Dum ..
Âge
51 ans
Sujets lancés
449
Ancienneté
99 %
Participation
91 %
Ancien message 05-02-2004 12:53
Et avec des permissions NTFS sur les répertoires, ca ne marche pas ?

Signaler ce message à un modérateur | IP: Logguée

Réduire ce messageSSolacinGuruNiveau 11 · CinéphileRéférenceur Novice
Membre depuis
2003
Messages
8254
Plus
Membre n°
11117
Inscription
23 Mar 2003
Localisation
974
Âge
52 ans
Sujets lancés
28
Ancienneté
96 %
Participation
89 %
Ancien message 06-02-2004 09:38
Tu crois que le problème viendrais des permissions même des repertoires ?

__________________

Signaler ce message à un modérateur | IP: Logguée

Réduire ce messageCConanConfirméNiveau 7 · CinéphageRéférenceur Appliqué
Membre depuis
2002
Messages
731
Plus
Membre n°
903
Inscription
05 Apr 2002
Âge
45 ans
Sujets lancés
43
Ancienneté
100 %
Participation
46 %
Ancien message 06-02-2004 13:07
Bon je vais retester avec ce que tu ma donné on va voir

__________________
Ce qui nous tue pas nous rend plus forts
______________________________

Signaler ce message à un modérateur | IP: Logguée

Il est actuellement 19:15 (GMT) NOUVEAU SUJET    RÉPONDRE   
  Sujet précédent   Sujet suivant
Link Station > Section Technique > Software > [CONSEIL] Comment installer et utiliser webdav

Aller au Forum:
Notez ce sujet :


Réponse rapide
Afficher une version imprimable | Chercher dans ce sujet | Envoyer cette page par email | S'inscrire à ce sujet | Télécharger ce sujet
Règles du forum :
Créer de nouveaux sujets
Répondre aux messages
Attacher des fichiers
Editer vos messages
: not autorisé
: not autorisé
: not autorisé
: not autorisé
Le Code HTML est OFF
Le BBCode est ON
Les Smileys sont ONs
Le code [IMG] est ON
Page générée en 0.050124 secondes en exécutant 46 requêtes SQL.
Apache - Compression GZIP : Activée.