Koozali.org: home of the SME Server

Webshare contrib install howto

Offline Thomas

  • **
  • 65
  • +0/-0
Webshare contrib install howto
« on: May 23, 2006, 06:22:36 AM »
I have looked at Darrell May's Webshare contrib and would like to install it on my SME 6.0.1 server.  Can someone tell me step by step how to install it?

It would be much appreciated!
Thomas

Offline raem

  • *
  • 3,972
  • +4/-0
Re: Webshare contrib install howto
« Reply #1 on: May 23, 2006, 12:49:03 PM »
Thomas

copy the rpm to a empty folder ie ibay or user home folder
log on to the server as root

cd to that folder
eg
cd /home/e-smith/files/ibays/ibayname/files   (or wherever)

rpm -Uvh *.rpm

Read the instructions when the rpm is installed

Open server manager & configure webshare folders, users & passwords

Access the webshare using a browser & upload, download files etc.
...

Offline Thomas

  • **
  • 65
  • +0/-0
Webshare contrib install howto
« Reply #2 on: May 28, 2006, 05:34:03 AM »
I copied these files to my ibay:
devinfo-mitel-webshare-0.0.1-3.noarch.rpm
install.sh
perl-Apache-Htpasswd-1.3-10.i386.rpm
phpfm.tar.gz

I then changed to that directory and ran:
rpm -Uvh *.rpm

On the screen this is what was returned:
Preparing...  #######[100%]
   1:devinfo-mitel-webshare #######[50%]
   2:perl-Apache-Htpasswd  #######[100%]
then it returned to a prompt.

In the server-manager console I have webshare under Unknown and was able to create a webshare but when I go thr URL for the webshare I am not prompted for a username and password and the screen "You are not authorized to view this page".

I am concerned about several things:
a) Why 50% on the devinfo-mitel-webshare rpm?
b) Why Unknown in server-manager?
c) Why am I not given a chance to login?

Any help with this would be greatly appreciated!
Thomas

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Webshare contrib install howto
« Reply #3 on: May 28, 2006, 09:51:59 AM »
Quote from: "Thomas"
[...]
In the server-manager console I have webshare under Unknown and was able to create a webshare but when I go thr URL for the webshare I am not prompted for a username and password and the screen "You are not authorized to view this page".

I am concerned about several things:
a) Why 50% on the devinfo-mitel-webshare rpm?

Don't be it is just an overall progress indicator, if therer were three RPM's to be installed it would have been 33%, 67% and 100%.
Quote from: "Thomas"
b) Why Unknown in server-manager?

That is strange, file a bug report in the contribs section. Have you tried to build the navigation panels again as I guess something failed there:
Code: [Select]
/etc/e-smith/events/actions/navigation-conf
Quote from: "Thomas"
c) Why am I not given a chance to login?
Maybe the configuration files got not expanded correctly or a service failed to restart. Can you post the relevant section of the /var/log/messages and /var/log/httpd/error_log section? We might be able to see what is happening and what is going wrong.
Quote from: "Thomas"
Any help with this would be greatly appreciated!
Thomas
Hope this gets you started.
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 raem

  • *
  • 3,972
  • +4/-0
Webshare contrib install howto
« Reply #4 on: May 29, 2006, 01:27:20 AM »
Thomas

> ...was able to create a webshare....
> I am not prompted for a username and password....
>..."You are not authorized to view this page".

Did you create at least one user and pasword for the webshare ?
Existing sme server users are not authenticated against.

Did you use https://yourdomain/websharename

not http://...
...

Offline Ness

  • ***
  • 108
  • +0/-0
    • http://www.tapiochre.co.uk
Folders in Webshare
« Reply #5 on: February 08, 2007, 12:53:43 AM »
I've added the very useful Webshare contrib to my server.

I have found it to be really useful and, with the clear docs, it was a matter of half an hour's work to sort out folders, hiding files and directories, cahnging the css file etc.

One question... Unless I am missing a trick, I need to have the phfmXXX files in any and all webshares I might create.  ie. inside /webshare/a and well as webshare/b and so on.

Is this correct, or can I centralise all of the phfmXX files- apart of course from the file that holds the username and passwords for each of the shares /a and /b

Chris
Chris Elliott - SME Server user and helper