Koozali.org: home of the SME Server

Webshare working (almost) ! [SOLVED]

Offline svangool

  • ***
  • 73
  • +0/-0
Webshare working (almost) ! [SOLVED]
« on: November 28, 2006, 02:02:03 AM »
Hello all,

I made a webdav based webshare using:
http://no.longer.valid/phpwiki/index.php/How%20to%20install%20mod_dav%20on%20SME%207.x

[EDIT: Meanwhile I'm using the standard 7.1 webdav]

This worked fine using the webfolder mechanism of WXPSP2, but it is open (no user/password) and unsecure if you want to use this from an extranet location.
So I added the recommendations of "mmccarn" in:
http://forums.contribs.org/index.php?topic=33157.0 referring to step 3 of:
http://forums.contribs.org/index.php?topic=32078.msg135245#msg135245
Only use the webshare part (the primary I-bay part and "admin" part are not needed for SME7).

This allows to access the webshare at the client side by HTTPS (secure).

There is only one problem, I cannot delete folders/directories from the client side, files is no problem.
Who can help me with that part?

[EDIT: Solution at the end of this thread]

Thanks, Sjef.
......

Offline mmccarn

  • *
  • 2,627
  • +10/-0
Webshare working (almost) ! [SOLVED]
« Reply #1 on: December 01, 2006, 04:53:38 PM »
I saw this behavior and fixed it either by changing the httpd.conf security entry for the parent i-bay or by changing the os permissions on the webshare or by playing with umask (sorry, I forget which...)

I'll look for any notes I may have made and bring them back here when I can.

[edit]
Did you add the modifications for the Primary i-bay from my post?  The notes at the bottom describe odd behavior when creating directories until after I modified the Primary i-bay...
[/edit]

Offline svangool

  • ***
  • 73
  • +0/-0
Webshare working (almost) ! [SOLVED]
« Reply #2 on: December 01, 2006, 05:10:02 PM »
Quote
Did you add the modifications for the Primary i-bay from my post?


Yes I did, but it didn't make a difference (probably because I'm running 7.0).
......

Offline svangool

  • ***
  • 73
  • +0/-0
Webshare working (almost) ! [SOLVED]
« Reply #3 on: February 20, 2007, 05:04:13 PM »
It took a while but I have webdav (standard 7.1) working now also as a webshare.
The solution was in a very different direction: the toggle "SVNAutoversioning" needs to be "ON" for that.

So copy "/etc/e-smith/templates/etc/httpd/conf/httpd.conf/VirtualHosts/28SubversionContent" to "/etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/VirtualHosts/28SubversionContent"
and add a line for your webshare e.g. for webshare "swebshare":
Code: [Select]
if ($key eq "swebshare")
{
  $OUT .= "        SVNAutoversioning on\n";
}

After the line with:
Code: [Select]
 $OUT .= "        SVNPath /home/e-smith/files/repositories/$key\n";
......

Offline OzMoosis

  • **
  • 46
  • +0/-0
Webshare working (almost) ! [SOLVED]
« Reply #4 on: February 26, 2007, 11:35:27 AM »
Hi,

I'd like to try webshare, see if I can use OpenOffice to directly acces files on SME. However, from these discussions I don't understand one important detail: what are you using as the basis for your installation? Is is some contrib, or is it the original mod_dav-1.0.3-5.i386.rpm? Or something else altogether???

Thanks,

Oz

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Webshare working (almost) ! [SOLVED]
« Reply #5 on: February 26, 2007, 11:48:58 AM »
Quote from: "OzMoosis"
Hi,

I'd like to try webshare, see if I can use OpenOffice to directly acces files on SME. However, from these discussions I don't understand one important detail: what are you using as the basis for your installation? Is is some contrib, or is it the original mod_dav-1.0.3-5.i386.rpm? Or something else altogether???

Thanks,

Oz
It seems to be a small RPM which I wrote. It will install the default mod_dav rpm and integrate this with SME Server, the functionality is still very basic as I merely needed it to be implemented to enable smeserver-subversion to be ran on SME Server. It only installs a few templates and a database entry to have it included and loaded by httpd daemon, there is no webinterface,  server-manager panel or things like that. Maybe I will venture there if I can find the time to experiment with it.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline StephenHodgman

  • *
  • 31
  • +0/-0
Webshare working (almost) ! [SOLVED]
« Reply #6 on: April 30, 2007, 05:27:07 AM »
I have configured our system so I can have any iBay accessable with https.
We can create and delete files and directories at will.
Validation can be either the ibay name OR individual users, giving true file locking.
I did not modify the Primary iBay at all.

I have created a HOWTO but do not have an easy place to post it right now.  It is based on other work and my own modifications.  Let me know if you would like a copy (for what it is worth).
What is needed is a way Web Admin Panel.  I dont know how to do that yet so if anyone wants to help...

Thanks for all the help to get me to this point.

Offline StephenHodgman

  • *
  • 31
  • +0/-0
Webshare working (almost) ! [SOLVED]
« Reply #7 on: April 30, 2007, 05:49:11 AM »
Quote from: "OzMoosis"
Hi,

I'd like to try webshare, see if I can use OpenOffice to directly acces files on SME. However, from these discussions I don't understand one important detail: what are you using as the basis for your installation? Is is some contrib, or is it the original mod_dav-1.0.3-5.i386.rpm? Or something else altogether???

Thanks,

Oz


Our experience is that OpenOffice only works properly with a webDav folder accessed under HTTP and no validation.  Under HTTPS is does not work, just opens the file in read only mode.

Offline TrevorB

  • *
  • 259
  • +0/-0
    • http://www.batley.id.au
Webshare working (almost) ! [SOLVED]
« Reply #8 on: April 30, 2007, 06:03:11 AM »
Quote from: "StephenHodgman"
I have created a HOWTO but do not have an easy place to post it right now.  It is based on other work and my own modifications.
What is wrong with the wiki (http://wiki.contribs.org/Category:Howto)?

You just need to ask for author access (http://wiki.contribs.org/Help:Editing_pages).
Quote from: "StephenHodgman"
What is needed is a way Web Admin Panel.  I dont know how to do that yet so if anyone wants to help...
Start with your howto and then we'll follow the discussion here.

Trevor B

Offline StephenHodgman

  • *
  • 31
  • +0/-0
Webshare working (almost) ! [SOLVED]
« Reply #9 on: April 30, 2007, 06:44:58 AM »
Quote from: "TrevorB"
Quote from: "StephenHodgman"
I have created a HOWTO but do not have an easy place to post it right now.  It is based on other work and my own modifications.
What is wrong with the wiki (http://wiki.contribs.org/Category:Howto)?

You just need to ask for author access (http://wiki.contribs.org/Help:Editing_pages).
Quote from: "StephenHodgman"
What is needed is a way Web Admin Panel.  I dont know how to do that yet so if anyone wants to help...
Start with your howto and then we'll follow the discussion here.

Trevor B


Ah, the naivity of a newbie.  Here I was, creating my own documentation for our internal uses and I should have been thinking of the wider world form the start  :D

Thanks for the advice.  I will ask for access and see how I go working with the Wiki.