Incompatible modules found! What a headache!!!

pegleglax - December 11, 2008 - 05:42
Project:File Server
Version:6.x-1.0-alpha3
Component:Miscellaneous
Category:bug report
Priority:critical
Assigned:Unassigned
Status:active
Description

YEEEEEEEEEEESSSSSSSSSSSSSSSSSSS!!!!!!!!!!!!!!!!!!!!!!

Da/\/\n..... I spent HOURS figuring this one out.

Okay... I've been pulling my hair out because I couldn't get the dav directory to mount. (in my case http://localhost/wcds/dav, localhost/wcds being the root drupal directory) I'm an Ubuntu linux user... and I virtualize Winblow$ XP so I can use Adobe CS3 Master Collection... etc...

So anyway, I tried many windows DAV clients including the ones listed in Readme.txt, and none were successful. Next I did [sudo apt-get install konqueror] to get the konqueror browser in a gnome environment... that install went well. I tried webdav://localhost/wcds/dav and I noticed something VERY strange. I kept seeing flashes in the info bar or "connected to server" or something and "waiting for reply..." but nothing happened. It kept on failing, infinitely.

So then I did as follows....

sudo apt-get install davfs2
sudo mkdir /media/wcds-dav
sudo mount.davfs http://localhost/wcds/dav /media/wcds-dav/

CRAP! Then I got the error "Mounting Failed". 301 Permanently Moved." And a light bulb flicked on......

A big, fat, glorious light bulb......

I had remembered that I install the drupal modules "Global Redirect" http://drupal.org/project/globalredirect and "Path Redirect" http://drupal.org/project/path_redirect.

Now Global Redirect will check to see if a URL is in use, and if not display a default 301 Perm. Moved message.... BINGO!

So I disabled the module, re-ran...
sudo mount.davfs http://localhost/wcds/dav /media/wcds-dav/
... and it worked!

I have not tested the windows clients, but I'd imagine they work.

Ways to go about fixing this:
1) Get the author of Global Redirect to write a UI for his module where exceptions can be made, i.e. www.[site].com/dav
2) Maybe you could somehow add code to fileserver so the two modules can co-exist???

But for now, I think it is very, very important that this be details on the fileserver project page under a section such as "Known Problems".

Cheers everyone! Thank you for this wonderful module!!!

 
 

Drupal is a registered trademark of Dries Buytaert.