Koozali.org: home of the SME Server

iBay go straight to files directory using UNC path without /files

Offline Bozely

  • *
  • 75
  • +0/-0
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,

Offline brianr

  • *
  • 988
  • +2/-0
Re: iBay go straight to files directory using UNC path without /files
« Reply #1 on: April 21, 2020, 03:23:21 PM »
It depends if you've got the "Execution of dynamic content (CGI, PHP, SSI)" set or not? In trhe Ibays/modify
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline Bozely

  • *
  • 75
  • +0/-0
Re: iBay go straight to files directory using UNC path without /files
« Reply #2 on: April 21, 2020, 04:21:52 PM »
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?

« Last Edit: April 21, 2020, 04:26:20 PM by Bozely »

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: iBay go straight to files directory using UNC path without /files
« Reply #3 on: April 21, 2020, 05:28:34 PM »
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.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline brianr

  • *
  • 988
  • +2/-0
Re: iBay go straight to files directory using UNC path without /files
« Reply #4 on: April 21, 2020, 05:40:20 PM »
Just goes to show how clever the software is, and the importance of reading the documentation!
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline Bozely

  • *
  • 75
  • +0/-0
Re: iBay go straight to files directory using UNC path without /files
« Reply #5 on: April 21, 2020, 05:46:22 PM »
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?

Offline brianr

  • *
  • 988
  • +2/-0
Re: iBay go straight to files directory using UNC path without /files
« Reply #6 on: April 21, 2020, 07:49:16 PM »
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.
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: iBay go straight to files directory using UNC path without /files
« Reply #7 on: April 27, 2020, 01:24:51 AM »
Bozely

Quote
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.
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.