PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.unix > WebDAV authentication woes
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.unix Web servers for UNIX platforms.

WebDAV authentication woes

Réponse
 
LinkBack Outils de la discussion
Vieux 30/06/2006, 03h22   #1
fabrulous@yahoo.fr
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut WebDAV authentication woes

Hi all,

I've been RTFM and googling and spent hours trying to
figure it but I'm simply stuck...

I've set up a simple WebDAV with Apache 2 but without
SSL (on an LAN, the computer isn't accessible from the Internet)

First here is what's working:

Alias /webdav/ "/var/www/webdav/"
<Directory "/var/www/webdav">
Options All
Dav ON
</Directory>

With this and the /var/www/webdav/ directory created, I can
access to it using, say, Firefox:

http://127.0.0.1/webdav/fab/

and I get the list of what's inside .../webdav/fav/.

I've also got Sunbird to work and I'm sharing calendar between
several users. So far so good.

Then I'm trying to use simple authentication. If possible I'd like
to avoid SSL. I really want to keep it simple.

So I changed the <Directory> to this:

<Directory "/var/www/webdav">
AuthType Basic
AuthName "WebDAV Storage"
AuthUserFile /etc/httpd/passwd/passwd.dav
Dav ON
</Directory>

and passwd.dav looks like this:

fab:H9WkRwqEDUfAo


I restart httpd and when I try to access http://127.0.0.1/webdav/fab/
I receive an:

"Forbidden
"
"You don't have permission to access /webdav/fab/ on this server.

Apache's log says this:
[client 127.0.0.1] Directory index forbidden by rule:
/var/www/webdav/fab/

I don't know if this is normal or not. I mean: I don't know if it's
possible to "authenticate" to a WebDAV directory using Firefox.
Is it? How would I go about it?

Besides this, here comes the thing take makes me scratch my head:
Sunbird
still works fine and from any user. I can still create new calendars
etc. And
other people on the LAN can still access them.

I know I restarted httpd. Something obviously has changed as I can't
access
the webdav/fab/ dir from Firefox anymore.

But Sunbird apparently stills bypass authentication.

Moreover I'm using Sunbird 0.3a2 and I don't see where I'm actually
supposed
to enter a login/password. I just don't see this option anywhere.

Thanks a lot for any ,

fab


P.S: Sunbird shows "fix the WebDAV config" in the task list. I want
to delete that task

  Réponse avec citation
Vieux 21/07/2006, 09h20   #2
Kenneth Svee
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: WebDAV authentication woes

[ nobody ]

> Hi all,
>
> I've been RTFM and googling and spent hours trying to figure it but
> I'm simply stuck...
>
> I've set up a simple WebDAV with Apache 2 but without SSL (on an
> LAN, the computer isn't accessible from the Internet)
>
> First here is what's working:
>
> Alias /webdav/ "/var/www/webdav/"
> <Directory "/var/www/webdav">
> Options All
> Dav ON
> </Directory>
>
> With this and the /var/www/webdav/ directory created, I can
> access to it using, say, Firefox:
>
> http://127.0.0.1/webdav/fab/
>
> and I get the list of what's inside .../webdav/fav/.
>
> I've also got Sunbird to work and I'm sharing calendar between
> several users. So far so good.
>
> Then I'm trying to use simple authentication. If possible I'd like
> to avoid SSL. I really want to keep it simple.
>
> So I changed the <Directory> to this:
>
> <Directory "/var/www/webdav">
> AuthType Basic
> AuthName "WebDAV Storage"
> AuthUserFile /etc/httpd/passwd/passwd.dav
> Dav ON
> </Directory>


You've removed "Options All"? Try at least having "Options Indexes" to
allow the directory index.

> Besides this, here comes the thing take makes me scratch my head:
> Sunbird still works fine and from any user. I can still create new
> calendars etc. And other people on the LAN can still access them.
>
> I know I restarted httpd. Something obviously has changed as I can't
> access the webdav/fab/ dir from Firefox anymore.
>
> But Sunbird apparently stills bypass authentication.
>
> Moreover I'm using Sunbird 0.3a2 and I don't see where I'm actually
> supposed to enter a login/password. I just don't see this option
> anywhere.


I have no knowledge of Sunbird, but if your Sunbird session is stored
in a you will not be prompted for uname/pwd until you either
delete the existing session or restart your browser. Don't know
if this is the case though.


Rgds,
Kenneth Svee
  Réponse avec citation
Vieux 21/07/2006, 09h20   #3
Kenneth Svee
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: WebDAV authentication woes

[ nobody ]

> Hi all,
>
> I've been RTFM and googling and spent hours trying to figure it but
> I'm simply stuck...
>
> I've set up a simple WebDAV with Apache 2 but without SSL (on an
> LAN, the computer isn't accessible from the Internet)
>
> First here is what's working:
>
> Alias /webdav/ "/var/www/webdav/"
> <Directory "/var/www/webdav">
> Options All
> Dav ON
> </Directory>
>
> With this and the /var/www/webdav/ directory created, I can
> access to it using, say, Firefox:
>
> http://127.0.0.1/webdav/fab/
>
> and I get the list of what's inside .../webdav/fav/.
>
> I've also got Sunbird to work and I'm sharing calendar between
> several users. So far so good.
>
> Then I'm trying to use simple authentication. If possible I'd like
> to avoid SSL. I really want to keep it simple.
>
> So I changed the <Directory> to this:
>
> <Directory "/var/www/webdav">
> AuthType Basic
> AuthName "WebDAV Storage"
> AuthUserFile /etc/httpd/passwd/passwd.dav
> Dav ON
> </Directory>


You've removed "Options All"? Try at least having "Options Indexes" to
allow the directory index.

> Besides this, here comes the thing take makes me scratch my head:
> Sunbird still works fine and from any user. I can still create new
> calendars etc. And other people on the LAN can still access them.
>
> I know I restarted httpd. Something obviously has changed as I can't
> access the webdav/fab/ dir from Firefox anymore.
>
> But Sunbird apparently stills bypass authentication.
>
> Moreover I'm using Sunbird 0.3a2 and I don't see where I'm actually
> supposed to enter a login/password. I just don't see this option
> anywhere.


I have no knowledge of Sunbird, but if your Sunbird session is stored
in a you will not be prompted for uname/pwd until you either
delete the existing session or restart your browser. Don't know
if this is the case though.


Rgds,
Kenneth Svee
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 22h44.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12136 seconds with 11 queries