Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: shriddx on July 11, 2011, 09:59:38 PM
-
Done RTFM! :)
Have an iBay containing photos that I want to make publicly accessible to the whole world (read only, of course)..... and have a DynDNS applied domain name... (eg xyz.homedns.org).
My Windows domain is different (eg windom, DNS resolved locally selected)...
I can see my primary web page by using 'xyz.homedns.org' in a browser from a non-LAN machine - so that's fine... and although I should be able to see it on the LAN as 'www.windom' according to the manual it threw up an error and couldn't see it. But I added the domain 'xyz.homedns.org' resolved by Internet DNS servers and now I can also see it on a LAN PC.
The iBay is called 'photos'...
Permissions 'Group = Write, Everybody = Read'
No password
Public access via web/anon ftp, no password needed.
Both FTP and SSH in Remote Access are set to allow access from the entire internet
Router port forwarding for ports 23 and 22 correctly set and and access to a SSH protected Shared Folder on the same server works fine..
Try to access the ibay via browser as...
ftp:\\photos@ftp.xyz.homedns.org or
ftp:\\photos@xyz.homedns.org or
http:\\photos@xyz.homedns.org or
photos@xyz.homedns.org
and it cannot see anything to do with the server at all seemingly....
What am I doing wrong, please?
-
shriddx
Done RTFM! :)
I suggest you read the manual again more slowly & carefully, as I'm sure ibay access is mentioned as is FTP access to ibays.
The Windows workgroup or DOMAIN name is a totally different thing than a FQDN type Domain (ie URL name)
To access an ibay via http web browser anonymously use
http://xyz.homedns.org/photos
I think you are trying to access the ibay using FTP and this is not allowed by default.
You need to FTP in as a valid SME user (not as ibay name) and then cd/ to the ibay using a FTP client. You cannot get this type of access via a web browser by default. It is detailed quite clearly in the manual, just read it SLOWLY.
Otherwise use the smeserver-remoteuseraccess contrib.
Please search these forums on FTP and SFTP and remoteuseraccess and go back a few years, it has been answered in detail a number of times.
-
You may want to look at the gallery2 contrib for your photos
http://wiki.contribs.org/Gallery2 (http://wiki.contribs.org/Gallery2)
-
I am not really sure of your problem. My servers run in server only mode. Trying to access the sever locally inside the LAN using the url can have problems due to a router non being smart enough to point to the proper location.
To solve a problem like that. Instead of replacing the router, maybe with one even doing the same, edit your hosts file on your LAN computer.
-
I am not really sure of your problem.
OP isn't accessing the ibay the right way, tha's all; mary's answer clarify why.
My servers run in server only mode. Trying to access the sever locally inside the LAN using the url can have problems due to a router non being smart enough to point to the proper location.
To solve a problem like that. Instead of replacing the router, maybe with one even doing the same, edit your hosts file on your LAN computer.
this has nothing to do with OP's problem, and it's not a good idea.. use SME as dns server and you'll have no problems
-
Like 'purvis' I'm running SME in 'server only' mode.....
I'll try Mary's suggestion next time I go out to Wetherspoons/McDonalds with the Android pad but I'm sure I've already asked someone to try 'http:\\xyz.homedns.org\photos' without success (as I can't access from the LAN myself as explained before).
And I don't understand about this 'hosts' file?
What's that when its at home, please?
I'll look into the gallery2 contrib too, thanks!
Thanks for the info
Steve
-
I am not really sure of your problem. My servers run in server only mode. Trying to access the sever locally inside the LAN using the url can have problems due to a router non being smart enough to point to the proper location.
To solve a problem like that. Instead of replacing the router, maybe with one even doing the same, edit your hosts file on your LAN computer.
Problem is (was) that trying to see the iBay (contains folders of .JPG files) externally through the 'net was not possible ....
I know I had a music iBay set up for passworded FTP access (and 'remoteuseraccess' does ring a bell now) but changed that to a shared folder with SFTP access only... and think I had to re-set up the SME server (re-install all the softe=ware fron scratch) between the FTP and SSH versions of that so I've probably not installed 'remoteuseraccess'.... but I do know I used the format of ftp:\\music:password@xyz.homedns.org in a browser (IE) with no problem at that time to access and copy the music...
-
shriddx
Like 'purvis' I'm running SME in 'server only' mode.....
Well that might be your problem if the rest of your network is not configured correctly ie your router should be port forwarding port 80, your router should be handling dynamic IP updates, etc.
It's easier to configure the modem/router in bridged mode and SME server in gateway server mode. Less fiddling to get access to the server working correctly.
I'm sure I've already asked someone to try 'http:\\xyz.homedns.org\photos' without success.....
Ummm, no that won't work, use
http://xyz.homedns.org/photos
It works fine on my server from an external location
Also see
http://forums.contribs.org/index.php/topic,33138.msg140837.html#msg140837
-
shriddx
Please see
http://wiki.contribs.org/FTP_Access_to_Ibays
-
Mary,
Sorry for delay in responding and thanks for last 2 replies.
Actually only had chance to try out previous suggestions a few days ago... and only just logged back onto the forums and hence seen those latest replies.
Yep, I'm sure the last suggestion will resolve my problem - as it reminds me of what I did previous times!
Thanks again
Steve
-
A simple ibay full of photos would only give results to a browser if the httpd "Indexes" option is enabled for the directory or location that contains the photos (this option *is* enabled unless you've manually turned it off)
If you want to browse to http:/xyz.homedns.org/photos, the photos would have to be in /home/e-smith/files/ibays/photos/html.
If you have created 'xyz.homedns.org' on the SME server and told it to use the content of the 'photos' ibay, you would get the contents of /home/e-smith/files/ibays/photos/html by browsing to "http://xyz.homedns.org"
-
A simple ibay full of photos would only give results to a browser if the httpd "Indexes" option is enabled for the directory or location that contains the photos (this option *is* enabled unless you've manually turned it off)
It might be that the index.html/index.htm file still is in place. IIRC this has prevalence over the +Indexes setting.