Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 2nd February 2009, 15:10
progkix progkix is offline
HowtoForge Supporter
 
Join Date: May 2008
Location: Indianapolis, IN
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via ICQ to progkix Send a message via AIM to progkix Send a message via MSN to progkix Send a message via Yahoo to progkix Send a message via Skype™ to progkix
Cool Fedora 10 Apache2 WebDAV

I've followed the steps outline in the article about setting up WebDAV in Apache2 on Fedora 10 but I'm not having any luck in successfully testing it.

The dav and dav_fs modules are enabled in httpd.conf.

Here's the VirtualHost segment from httpd.conf:

<VirtualHost *:80>
DocumentRoot /var/www/web/dav/
ServerAdmin webmaster@sdps-bbs.com
<Directory /var/www/web/dav/>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Alias /webdav /var/www/web/dav

<Location /webdav/>
DAV On
AuthType Basic
AuthName "WebDAV Restricted"
AuthUserFile /var/www/web/passwd.dav
Require valid-user
</Location>
</VirtualHost>

And here's the output from the cadaver test:

csmith@lnx7 : ~ ==> cadaver http://localhost/dav
Could not access /dav/ (not WebDAV-enabled?):
405 Method Not Allowed
Connection to `localhost' closed.


Any clues or ideas would be greatly appreciated.

Thanks in advance

Charlie Smith
Reply With Quote
Sponsored Links
  #2  
Old 3rd February 2009, 19:49
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,729 Times in 2,567 Posts
Default

Do you have any other vhosts in your Apache configuration, or is this the only one?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 3rd February 2009, 21:19
progkix progkix is offline
HowtoForge Supporter
 
Join Date: May 2008
Location: Indianapolis, IN
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via ICQ to progkix Send a message via AIM to progkix Send a message via MSN to progkix Send a message via Yahoo to progkix Send a message via Skype™ to progkix
Default

Falko,

I have 3 or 4 other vhosts in my Apache configuration.

Charlie
Reply With Quote
  #4  
Old 4th February 2009, 17:38
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,729 Times in 2,567 Posts
Default

Make sure that the WebDAV vhost is listed as the first one in your Apache configuration, or add a ServerName directive to it.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 4th February 2009, 18:11
progkix progkix is offline
HowtoForge Supporter
 
Join Date: May 2008
Location: Indianapolis, IN
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via ICQ to progkix Send a message via AIM to progkix Send a message via MSN to progkix Send a message via Yahoo to progkix Send a message via Skype™ to progkix
Default

Moved it to the top of the vhost list but that made my main site inaccessible.

Also tried giving it a ServerName directive and that didn't work either.

Thanks
Reply With Quote
  #6  
Old 5th February 2009, 20:47
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,729 Times in 2,567 Posts
Default

Can you post your vhost configurations here?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 6th February 2009, 03:18
progkix progkix is offline
HowtoForge Supporter
 
Join Date: May 2008
Location: Indianapolis, IN
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via ICQ to progkix Send a message via AIM to progkix Send a message via MSN to progkix Send a message via Yahoo to progkix Send a message via Skype™ to progkix
Default

# main site
<VirtualHost *:80>
ServerName www.sdps-bbs.com
DocumentRoot /var/www/html
ServerAdmin webmaster@sdps-bbs.com
</VirtualHost>

# virtual host test
<VirtualHost *:80>
ServerName www.virt.sdps-bbs.com
DocumentRoot /var/www/virt
ServerAdmin webmaster@sdps-bbs.com
ErrorLog logs/virt-error_log
TransferLog logs/virt-access_log
</VirtualHost>

# social application test
<VirtualHost *:80>
ServerName www.cyberfun.sdps-bbs.com
DocumentRoot /var/www/elgg
ServerAdmin webmaster@sdps-bbs.com
ErrorLog logs/elgg-error_log
TransferLog logs/elgg-access_log
<Directory /var/www/elgg>
AllowOverride All
</Directory>
</VirtualHost>

# four sisters web site
<VirtualHost *:80>
ServerName www.foursisters.sdps-bbs.com
DocumentRoot /var/www/yarbro
ServerAdmin webmaster@sdps-bbs.com
ErrorLog logs/yarbro-error_log
TransferLog logs/yarbro-access_log
</VirtualHost>

# internet radio broadcasting
<VirtualHost *:80>
ServerName www.radio.sdps-bbs.com
DocumentRoot /var/www/radio
ServerAdmin webmaster@sdps-bbs.com
ErrorLog logs/radio-error_log
TransferLog logs/radio-access_log
</VirtualHost>

# webdav
<VirtualHost *:80>
DocumentRoot /var/www/web/dav/
ServerAdmin webmaster@sdps-bbs.com
<Directory /var/www/web/dav/>
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

Alias /webdav /var/www/web/dav

<Location /webdav/>
DAV On
AuthType Basic
AuthName "WebDAV Restricted"
AuthUserFile /var/www/web/passwd.dav
Require valid-user
</Location>
</VirtualHost>
Reply With Quote
  #8  
Old 6th February 2009, 19:10
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,729 Times in 2,567 Posts
Default

Add
Code:
ServerName localhost
to the WebDAV vhost and check if the cadaver thing is working then.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 7th February 2009, 16:01
progkix progkix is offline
HowtoForge Supporter
 
Join Date: May 2008
Location: Indianapolis, IN
Posts: 9
Thanks: 0
Thanked 1 Time in 1 Post
Send a message via ICQ to progkix Send a message via AIM to progkix Send a message via MSN to progkix Send a message via Yahoo to progkix Send a message via Skype™ to progkix
Default

Woohoo - it does work.

I love HowtoForge. I get so much excellent help here. I'm glad I decided to pay up!

Many thanks once again.

Charlie
Reply With Quote
  #10  
Old 8th February 2009, 19:41
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,729 Times in 2,567 Posts
 
Default

If you want to connect from outside, you must also add a hostname that is accessible from outside with a ServerAlias directive:
Code:
ServerAlias webdav.example.com
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Tags
apache2, fedora, webdav

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Webdav + quota access to web's root patch krakoukas Tips/Tricks/Mods 5 8th September 2008 18:21
SSI with Apache2 on Debian jchaven Server Operation 7 25th August 2008 17:06
Replacing Fedora 9 with Kubuntu jandac Installation/Configuration 4 29th July 2008 15:28
The Perfect Setup - Fedora Core 4 british.assassin Server Operation 9 21st February 2008 17:29
Virtual Users And Domains With Postfix, Courier And MySQL can't login wildgoosed HOWTO-Related Questions 18 11th July 2007 21:34


All times are GMT +2. The time now is 09:12.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.