|
|
|
|
||||||
| comp.info.servers.unix Web servers for UNIX platforms. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 ![]() |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
[ 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 |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
[ 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 |
|
![]() |
| Outils de la discussion | |
|
|