Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: Bozely on April 21, 2020, 01:15:09 PM
-
Hi I have two iBays that look identical however when I connect to one from a client machine it goes straight in to the files directory and the other doesn't.
iBay 1 the path shows \\myserv\myibay1 in my client but goes straight to the files folder despite it not being visible in the UNC path, however when I check the same directory on the command line directly on the server I see three subfolders (files,html,cgi). As if my client is being forwarded into the files folder. A little unexpected.
iBay 2 looks the same but takes me to the three sub folders, which is expected behaviour I suppose. This iBay is for files only so I want it to behave like the other without the need to enter \\myserv\myibay2\files\ to get to the ibay file location.
Can anybody shed any light?
Thanks,
-
It depends if you've got the "Execution of dynamic content (CGI, PHP, SSI)" set or not? In trhe Ibays/modify
-
Thanks Brian, yeah I changed this after the initial setup and the behavior continued, however, it has now started going straight to the files folder. A little time delay between updating setting it would seem, A cron job maybe?
Does anybody know how this technically works?
-
Bozely
Not quite Brian, see below.
If you read the manual you would see:
From
https://wiki.contribs.org/SME_Server:Documentation:Administration_Manual:Chapter14
Quoting:
Note:
If an i-bay is set for no public access via web or anonymous ftp, users connecting to the i-bay through Windows or Macintosh file sharing will see only the contents of the files directory. However, if the i-bay settings are later changed to allow public access through web or anonymous ftp, users will then see the top-level directory of the i-bay with the three subdirectories of html, files and cgi-bin. The items they were used to seeing before will now be found in the files directory.
-
Just goes to show how clever the software is, and the importance of reading the documentation!
-
Yes I did see this but the switch back to files was delayed so I was chasing my tail for a bit there hence the post. How does this technically work i.e. creating a directory forward?
-
I don't believe that there is any implicit delay, but a "signal-event post-upgrade; signal-event reboot" will always apply anything that might have been left hanging.
-
Bozely
How does this technically work i.e. creating a directory forward?
Probably aliases, but not sure.
If you read the template code & so on, you will soon unravel how it is done.