LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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, 11:42 AM   #1
your_shadow03
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 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, 02: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



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 02:26 AM
Failed to start apache :Starting httpd: Syntax error on line 1027 of /etc/httpd/conf/ payjoe Linux - Newbie 3 09-21-2007 07:24 AM
WebDAV and apache astromac Linux - Networking 1 08-25-2006 02:13 PM
webdav and apache 2 hescominsoon Mandriva 0 02-09-2004 07:05 PM
httpd chokes on ScriptAlias line in Apache httpd.conf lhoff Linux - Software 1 07-14-2003 10:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:02 AM.

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
Open Source Consulting | Domain Registration