Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-11-2009, 12:42 PM   #1
Senior Member
Registered: Jun 2008
Location: Germany
Distribution: Slackware
Posts: 1,466
Blog Entries: 6

Rep: Reputation: 51
How do I enable WebDAV in Apache httpd?

I have been reading to setup the same. But I am facing an issue here.

Whenever I am editing the file:
Alias /webdav /var/www/webdav
 Dav on
in wedav.conf under /etc/httpd/conf.d folder.

It says:
[root@chat conf.d]# service httpd restart
Stopping httpd:                                            [FAILED]
Starting httpd: Syntax error on line 2 of /etc/httpd/conf.d/webdav.conf:
DAV not allowed here
[root@chat conf.d]#
Any idea how to fix this?
Old 10-12-2009, 03:45 AM   #2
Registered: May 2008
Posts: 97

Rep: Reputation: 20
You need to put the 'Dav On' directive inside a Directory directive. For example,
<Directory /home/eth1/dav>
Dav On
Then do a configuration check,

/etc/init.d/httpd configtest
With a 'Syntax Ok' message you can restart the daemon,

/etc/init.d/httpd start
You can also check the following,



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

Similar Threads
Thread Thread Starter Forum Replies Last Post
webdav / apache 2 sir-lancealot Linux - Server 4 02-03-2008 03:26 AM
Failed to start apache :Starting httpd: Syntax error on line 1027 of /etc/httpd/conf/ payjoe Linux - Newbie 3 09-21-2007 08:24 AM
WebDAV and apache astromac Linux - Networking 1 08-25-2006 03:13 PM
webdav and apache 2 hescominsoon Mandriva 0 02-09-2004 08:05 PM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 11:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:00 PM.

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