LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 07-03-2003, 10:24 AM   #1
Apollo77
Member
 
Registered: Feb 2003
Location: Toronto
Distribution: RH8 / FC1 / Gentoo / Debian / FreeBSD / Centos / Ubuntu
Posts: 182

Rep: Reputation: 31
WebDAV configuration problem


I am trying to enable Webdav so I can access a webfolder. I have basic authentication working fine, but instead of seeing the contents of the webfolder, I get the default Apache Test Page once authentication passes. What's wrong?

I'm running Apache 2.0.40 that came with RH 8.0. There is ample info out there on configuring httpd.conf and I can't see where I have gone wrong.

Here are the relevant sections in my httpd.conf file:
------------------
DAVLockDB /etc/httpd/mod_dav/DAVLock

<VirtualHost *>
ServerName example.examplehost.com
DocumentRoot /var/www/html/webdavtest
<Directory "/var/www/html/webdavtest">
DAV On
AuthType Basic
AuthName "Test of WebDAV"
AuthUserFile /etc/httpd/mod_dav/user.passwd
Require valid-user
</Directory>
</VirtualHost>
--------------------

Both dav_module and dav_fs_module get loaded.

I have chmod'ed 755 both etc/httpd/mod_dav and /var/www/html/webdavtest and the user.passwd file. User and Group are apache.

Am I missing something? Do I need to do something else?

Thanks!
Apollo
 
Old 07-03-2003, 10:43 AM   #2
Apollo77
Member
 
Registered: Feb 2003
Location: Toronto
Distribution: RH8 / FC1 / Gentoo / Debian / FreeBSD / Centos / Ubuntu
Posts: 182

Original Poster
Rep: Reputation: 31
Oh yeah, forgot to mention that the entry in my error_log file is:

"Directory index forbidden by rule: /var/www/html/webdavtest".

I suspect the answer lies in that message, but I don't know what it means. Is there something else I need to do to give Apache permission to that directory?
 
Old 07-04-2003, 10:12 AM   #3
Apollo77
Member
 
Registered: Feb 2003
Location: Toronto
Distribution: RH8 / FC1 / Gentoo / Debian / FreeBSD / Centos / Ubuntu
Posts: 182

Original Poster
Rep: Reputation: 31
Ok, I now realize don't just enter the URL in your browser. You need to create a webfolder (IE) or use some other WebDAV client (Konqueror supports this, and many others).

I am getting close. I can now connect to my webdav folder and see the contents. However, I cannot delete, move, copy, etc -- anything that changes the contents. Sounds like a permission problem, right? I have chmod-ed 755 the folder and contents. Owner and Group are apache.

Any suggestions what is wrong? This is driving me mad.

Thanks!
Apollo
 
Old 07-04-2003, 11:55 AM   #4
Apollo77
Member
 
Registered: Feb 2003
Location: Toronto
Distribution: RH8 / FC1 / Gentoo / Debian / FreeBSD / Centos / Ubuntu
Posts: 182

Original Poster
Rep: Reputation: 31
I'm going to assume nobody has answers -- the other alternative would be nobody cares

Maybe this will help:

1. Does webDAV use more than one port? I ask because I am behind a firewall and have only opened one port for WebDAV.

2. Is it possible that WebDAV will not work in an apache Virtual Host container?
 
Old 07-05-2003, 11:27 PM   #5
Apollo77
Member
 
Registered: Feb 2003
Location: Toronto
Distribution: RH8 / FC1 / Gentoo / Debian / FreeBSD / Centos / Ubuntu
Posts: 182

Original Poster
Rep: Reputation: 31
It never fails to amaze me how often the solution is something completely unexpected. I'll post it here in case it helps someone.

Apache apparently didn't like the ServerName I was using (no I don't mean example.examplehost.com). I'm not going to post the real URL, but it started with two digits -- example: 26seagulls.examplehost.com. After banging my head against the wall for several days, I changed it to something like seagulls.examplehost.com (I got rid of the digits). Bingo! everything works perfectly now.

An Apache bug? An Apache quirk? I don't know, but my problem is solved. Hope this helps someone -- post a reply if that's you.

Apollo
 
Old 12-22-2003, 11:31 AM   #6
adamantium
LQ Newbie
 
Registered: Nov 2003
Posts: 12

Rep: Reputation: 0
if you are having problems making changes to your webdav folder make sure that the folder itself has proper permissions for apache to read/write etc... to it.
I don't think it's that no one cares more like know one knows. From what I have seen not a lot of people use it or even know about the feature. I actually just stumbled upon the other day.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apache and WebDav download problem Arti Linux - Networking 2 07-29-2005 01:03 AM
webdav tszhim Linux - Software 1 05-10-2005 10:02 PM
webdav configuration error !! hitesh_linux Linux - Networking 5 12-25-2004 03:10 AM
webdav configuration dominant Linux - General 0 04-21-2004 08:25 AM
WebDAV - 'client denied by server configuration' error jamesrh Linux - Software 1 10-29-2003 12:08 PM


All times are GMT -5. The time now is 07:13 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration