Koozali.org: home of the SME Server

WebDAV HowTo? and securing phpMyadmin

Offline chris_da_man

  • 16
  • +0/-0
WebDAV HowTo? and securing phpMyadmin
« on: August 19, 2007, 12:05:43 AM »
Hi,

I have two questions concerning the SME and his contribs.

I searched and tried the whole day to set up a WebDAV directory on my SME. But the HowTo everyone links to seems to be gone.
Now I installed Subversion, but this is not 100% what i want, because I only can fill in content with an svn-client. I can connect to the directory the way i would connect a WebDAV directory (with Windows and link it as a internet folder), but only readable.

Is there an easy way to set up a WebDAV directory? Or can anyone repeat this lost HowTo?

And my second question is if I can secure the phpMyadmin console like the sme server-manager that I have only access to it from the local network. At the moment you can access it from the internet with https://adress/phpmyadmin, of course there comes a login-prompt, but when i try to reach the server-manager, it won't even let me to a login prompt.
Is the same behavior anyhow possible with the phpmyadmin console?

Thanks a lot for your answers!!!!!!

Oh, I'm using SME 7.1

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: WebDAV HowTo? and securing phpMyadmin
« Reply #1 on: August 19, 2007, 08:42:00 AM »
I searched and tried the whole day to set up a WebDAV directory on my SME. But the HowTo everyone links to seems to be gone.
Now I installed Subversion, but this is not 100% what i want, because I only can fill in content with an svn-client. I can connect to the directory the way i would connect a WebDAV directory (with Windows and link it as a internet folder), but only readable.

Is there an easy way to set up a WebDAV directory? Or can anyone repeat this lost HowTo?
I believe soon the old wiki will be available as static HTML, otherwise maybe Google cache might hold something...

And my second question is if I can secure the phpMyadmin console like the sme server-manager that I have only access to it from the local network. At the moment you can access it from the internet with https://adress/phpmyadmin, of course there comes a login-prompt, but when i try to reach the server-manager, it won't even let me to a login prompt.
Is the same behavior anyhow possible with the phpmyadmin console?
Quote
Yes you can you will have to modify the template to autmoatically have it add the AllowFrom settings which the server can determine itself. Examples of this should be in the template section og the httpd.conf template.

Oh, I'm using SME 7.1
Consider upgrading as SME 7.1 had some bugs, which are fixed in SME 7.2. Read the upgrade instructions in the wiki first if you decide to do so.
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 chris_da_man

  • 16
  • +0/-0
Re: WebDAV HowTo? and securing phpMyadmin
« Reply #2 on: August 19, 2007, 11:55:57 AM »
Cool, thanks!!!

The phpmyadmin-task is solved!!!!

Seems for WebDAV like I will have to wait until the old wiki becomes available, the google cache doesn't hold the page....

Thanks for helping!!!

Offline raem

  • *
  • 3,972
  • +4/-0
Re: WebDAV HowTo? and securing phpMyadmin
« Reply #3 on: August 19, 2007, 04:45:51 PM »
chris_da_man

Try the waybackmachine
http://www.archive.org/web/web.php
...

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: WebDAV HowTo? and securing phpMyadmin
« Reply #4 on: August 19, 2007, 10:57:47 PM »
Try the waybackmachine
That won't work as the contribs.org site are not indexed by the Wayback machine, I already tried that...
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 chris_da_man

  • 16
  • +0/-0
Re: WebDAV HowTo? and securing phpMyadmin
« Reply #5 on: August 20, 2007, 12:20:57 AM »
Yep, it doesn't :-(
But thanks for your answers!!!

Offline StephenHodgman

  • *
  • 31
  • +0/-0
Re: WebDAV HowTo? and securing phpMyadmin
« Reply #6 on: August 20, 2007, 12:47:29 AM »
chris_da_man,

I have done this (setup WebDAV) successfully and have some internal documentation. 
So far it has not made it to the contribs.  Not enough hours in the day. I plan to get it there in a bit.
Meanwhile I have put it on one of our servers.  I hope it is useful. 
It allows any ibay to become a webDAV folder using HTTPS and user validation
http://correa.namsys.com.au/misc/files/sme/doco/WebDavWithHTTPS.pdf

If you have any feedback I would be interested.

Offline chris_da_man

  • 16
  • +0/-0
Re: WebDAV HowTo? and securing phpMyadmin
« Reply #7 on: August 20, 2007, 01:17:12 AM »
GREAT!!!!

Thanks a lot!

I'm looking forward to testing it! I will be able to do this at Wednesday or Thursday.

I'm gonna let you know if I can make it work on my server!
« Last Edit: August 20, 2007, 01:19:26 AM by chris_da_man »

Offline raem

  • *
  • 3,972
  • +4/-0
Re: WebDAV HowTo? and securing phpMyadmin
« Reply #8 on: August 20, 2007, 03:04:36 AM »
StephenHodgman
Quote
http://correa.namsys.com.au/misc/files/sme/doco/WebDavWithHTTPS.pdf

Your HOWTO refers to mod_dav
see http://wiki.contribs.org/DAV
installed using
yum install smeserver-mod_dav --enablerepo=smedev
...

Offline StephenHodgman

  • *
  • 31
  • +0/-0
Re: WebDAV HowTo? and securing phpMyadmin
« Reply #9 on: August 20, 2007, 05:41:37 AM »
Ray,
Regarding the mod_dav, I understand.  When I wrote this pdf I was not aware of the specific contrib.
I will update it when I post it down the track.

Offline chris_da_man

  • 16
  • +0/-0
Re: WebDAV HowTo? and securing phpMyadmin
« Reply #10 on: August 20, 2007, 01:01:47 PM »
Reading your contribution Ray, I'm wondering what the '--enablerepo=smedev' does...

I installed the mod_dav contrib, for the svn-contrib needs this module, but without --enablerepo=smedev.

Do I have to install it again for using WebDAV?

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: WebDAV HowTo? and securing phpMyadmin
« Reply #11 on: August 20, 2007, 01:05:55 PM »
Reading your contribution Ray, I'm wondering what the '--enablerepo=smedev' does...
It temporarily, for the course of this execution only, enables the smedev repository.

I installed the mod_dav contrib, for the svn-contrib needs this module, but without --enablerepo=smedev.
You probably configured this repository to be enbaled by default, which is not advised to do so.

Do I have to install it again for using WebDAV?
I do not see why, as long as you have mod_dav installed and enabled.
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
Re: WebDAV HowTo? and securing phpMyadmin
« Reply #12 on: August 20, 2007, 03:10:55 PM »
Chris,
Dav is a module that loads in the apache web server.  If it is there for svn then is is there for anything else as well.
The instructions I have allow it to be turned on and off with a config property for an iBay.

Offline chris_da_man

  • 16
  • +0/-0
Re: WebDAV HowTo? and securing phpMyadmin
« Reply #13 on: August 20, 2007, 05:15:17 PM »
Ahhhhhhh, now I understand ;-)

My mistake, I did a local-install...

But thanks for your answers!!!!
« Last Edit: August 20, 2007, 05:20:01 PM by chris_da_man »

Offline chris_da_man

  • 16
  • +0/-0
Re: WebDAV HowTo? and securing phpMyadmin
« Reply #14 on: August 23, 2007, 05:07:52 PM »
K, today I tried to get WebDAV working according to your HowTo.
Seems like I can't make it. But I think it's because I have the SVN-contrib installed. At the moment i don't want to remove that, because I'm working with it ;-)
If I do erverything right according to your HowTo I don't have access to my server via browser at all. So I un-did all the steps an got it working again.
Then I only added the 75BrowserMatchMod_Dav and 95AddModDav2ibays with the same outcome that I couldn't access the server via browser.
Well, as I said, I think it's because I have SVN installed.

But thanks a lot!!!
When I've got some more time, I will try to make it work with an installed svn as well. (But as I'm a noob, this could take a little time ;-) )