LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


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

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


I have been reading http://kbase.redhat.com/faq/docs/DOC-10637 to setup the same. But I am facing an issue here.

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

It says:
Code:
[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
                                                           [FAILED]
[root@chat conf.d]#
Any idea how to fix this?
 
Old 10-12-2009, 03:45 AM   #2
eth1
Member
 
Registered: May 2008
Posts: 97

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

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

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

 
  


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



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


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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration