LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-22-2008, 04:02 PM   #1
sir-lancealot
Member
 
Registered: Aug 2007
Posts: 346

Rep: Reputation: 31
webdav / apache 2


Hey guys, I need to publish / share a calendar, so I am looking at webdav. This is a CentOS4 / Apache2 box with the following settings;

httpd.conf;
LoadModule dav_fs_module modules/mod_dav_fs.so
LoadModule dav_module modules/mod_dav.so

# WebDAV module configuration section.
#
<IfModule mod_dav_fs.c>
# Location of the WebDAV lock database.
DAVLockDB /var/lib/dav/lockdb
</IfModule>

The vhosts file has;
<Directory /home/person/websites/domain.com/htdocs/WEBdav/>
DAV On
AuthType Basic
AuthName "WebDAV Restricted"
AuthUserFile /usr/local/passwords
Require user username
</Directory>
</VirtualHost>

Going to publish calendar, or even browser, if I hit that URL, I get the popup, successful auth but the calendar never publishes.

Thanks.
 
Old 01-22-2008, 04:05 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
What do your logs indicate? Sounds more like a calendar problem than WebDAV issue at this time.
 
Old 02-01-2008, 07:38 PM   #3
baldur_the_god
Member
 
Registered: Feb 2007
Posts: 54

Rep: Reputation: 15
dav

I am having a lot of problems getting dav to work...I set it up and it worked on core 7...I updated the server and then it stopped and have not been able to find out why...if you find a solution, let me know...
 
Old 02-02-2008, 06:28 AM   #4
sir-lancealot
Member
 
Registered: Aug 2007
Posts: 346

Original Poster
Rep: Reputation: 31
[SOLVED] webdav calendar

I used the same config as above,

Vhosts shows;
<Directory "/home/user/websites/domain.com/htdocs/WEBdav/user">
DAV On
AuthType Basic
AuthName "WebDAV Restricted"
AuthUserFile /usr/local/passwords
Require user myuser
</Directory>

Then what I did was create a blank file (touch mycal.ics), made sure apache had access to read/write to that file. Then using thunderbird (lightning plugin) or sunbird, subscribed to that caledar and it worked perfect.

Hope you have the same luck.
 
Old 02-03-2008, 02:26 AM   #5
baldur_the_god
Member
 
Registered: Feb 2007
Posts: 54

Rep: Reputation: 15
cal thing

I found an issue with mod_security. in my webdav settings, it was blocking me. i have to disable a couple of the rules in order to get my dav working but it did work. where i found it was in my log under httpd error log. i do not know if it is the same problem but this was the fix..

IfModule mod_security2.c>
SecRuleRemoveById set the problem rules here
</IfModule>

I do not like to do this but it was the only way I could get dav working...this should go in your httpd.conf file...

the key was finding the error in your httpd error log file and figuring out that it was modsecurity that was doing it.

baldur

Last edited by Matir; 02-08-2008 at 12:34 PM. Reason: Removed commercial link.
 
  


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
Configure Apache 2.0 with Webdav jlukensow Linux - Newbie 0 04-16-2007 12:57 PM
apache with webdav on slackware 11 - acrobat cannot use it? lievendp Linux - General 0 12-13-2006 05:09 AM
WebDAV and apache astromac Linux - Networking 1 08-25-2006 02:13 PM
Apache logs + webDav netcrawl Linux - Networking 0 04-21-2004 03:14 PM
webdav and apache 2 hescominsoon Mandriva 0 02-09-2004 07:05 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:00 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
Open Source Consulting | Domain Registration