Koozali.org formerly Contribs.org

SharedFolder web access problem

Offline alext

SharedFolder web access problem
« on: October 11, 2012, 05:42:45 PM »
I am running an SME 7.5.1 server and I installed the SharedFolders V1.20 contrib about 2 years ago.
My main users have been on the local LAN using windows workstations and have had successful access to the shares on the server, (users have their own login accounts on the server).
Recently I have had a request to make the shares available via the Internet.
I configured the contrib via the server manager panel for "Entire Internet access (require pwd outside local)" and "Force secure access enabled" but keep getting "HTTP 404 Not found" errors. (I am accessing using secure https).

I can access my ibays via the Internet without problems.

I have downloaded the SharedFolders V1.74 rpm as I thought this may solve the problem. However, I am a little afraid of installing it over the original in case I lose my shared folders, (I am currently doing a backup just in case).

Any ideas?
Cheers.


...

Offline Daniel B.

  • *
  • 1,694
    • Firewall Services, la sécurité des réseaux
Re: SharedFolder web access problem
« Reply #1 on: October 11, 2012, 06:13:40 PM »
You can upgrade, you won't loose your existing Shared Folders  :smile:. There's now a lot of fixes and new features since release 0.1-20.

For your problem, you also need to enable the Indexes option. Without the index option enabled, the web server deny file listing, and just look for index.html or index.htm (or index.php if dymanic content is enabled). If none is find, you get a 404.

Regards, Daniel
C'est la fin du monde !!! :lol:

Offline alext

Re: SharedFolder web access problem
« Reply #2 on: October 12, 2012, 08:55:30 AM »
Thanks VIP-re, I will install the latest version although I think it's prudent to finish my backup first.

Do I need to uninstall V 0.1.20 before installing V 1.74 or can I just install over the top of the original?

I enabled Indexes on my shares as you advised and tried again but this time I get a connection timeout when attempting to connect via the Internet using https.

I am able to connect successfully to ibays on the same server.

Cheers,
« Last Edit: October 12, 2012, 09:16:49 AM by alext »
...

Offline Daniel B.

  • *
  • 1,694
    • Firewall Services, la sécurité des réseaux
Re: SharedFolder web access problem
« Reply #3 on: October 12, 2012, 12:53:32 PM »
I enabled Indexes on my shares as you advised and tried again but this time I get a connection timeout when attempting to connect via the Internet using https.

I am able to connect successfully to ibays on the same server.

I don't think you can have a timeout when trying to connect to a Shared Folder while exploring ibays is working. If you have a timeout, that mean you cannot connect to apache. The only explanation would be that you're connecting to your ibays using plain http (port 80), while you try to connect to your shared folder using https (port 443), and port 443 is either closed from the outside, or not forwarded to your SME server (if you have a router in front of it).

Regards, Daniel
C'est la fin du monde !!! :lol:

Offline alext

Re: SharedFolder web access problem
« Reply #4 on: October 12, 2012, 02:56:56 PM »
Many thanks VIP-ire, that seems to have fixed it.

My router was blocking HTTPS (port 443) requests.

I thought HTTPS was working as I use the server-manager via https but then realised that that access was on the local LAN rather than via Internet.

Did you see my added question re. installation?
Quote
Do I need to uninstall V 0.1.20 before installing V 1.74 or can I just install over the top of the original?

I have one extra question: does the new version allow users to upload files to the share on the server?

Cheers,
...

Offline Daniel B.

  • *
  • 1,694
    • Firewall Services, la sécurité des réseaux
Re: SharedFolder web access problem
« Reply #5 on: October 12, 2012, 03:05:07 PM »
The recommended way is to update with yum (so it can grab dependencies if needed)

Code: [Select]
yum --enablerepo=smecontribs update smeserver-shared-folders

And yes, with the latest versions, you can upload files using the webdav protocol. I'd also recommend looking at Ajaxplorer (search the wiki) which integrates nicely with the Shared Folders contrib, and provide a user friendly interface to manage your files (but Ajaxplorer probably needs SME 8 ).

C'est la fin du monde !!! :lol:

Offline alext

Re: SharedFolder web access problem
« Reply #6 on: October 12, 2012, 03:54:29 PM »
Magnifique!!!

I will be upgrading this server to SME V8 in the near future and I will certainly have a look at the Ajax explorer.

Many thanks for your help.

Cheers,
Alex
...