Re: Getting directory list from web server??

2017-11-07 Thread Matthias Rebbe via use-livecode
Tim,

you can change this setting/behaviour directly in your cPanel account.

In cPanel go to "Advanced Section" and select “Indexes".
You get a list of folder names something like this

 / (Current Folder) 
 access-logs
 cache
 etc
 logs
 mail
 perl5
 public_ftp
 public_html
 softaculous_backups
 ssl
 tmp
 www

There is a folder icon at the beginning of each entry.

If you want to change the setting for an entry, then click on the text of the 
folder name.
If you want to edit the settings for a subfolder(which currently is not 
listed), then click on the leading icon of the folder name which contains that 
subfolder. You get then the subfolders of that folder listed, again each with a 
leading folder icon.
Clicking on the icon always opens that folder and lists its subfolders. And so 
on….

By default the account uses the “Default system setting”, which might have been 
changed due to a security update or so.

When you have selected the correct subfolder you will see 4 options.

Default System Setting
No indexing
Standard Indexing (filename only)
Fancy Indexing (filename and description)

Select Standard Indexing to get a listing as before.

Regards,
Matthias 



 
Matthias Rebbe
+49 5741 31
‌wirmachen.software ‌

> Am 07.11.2017 um 04:24 schrieb Tim Selander via use-livecode 
> >:
> 
> Hi,
> 
> Up until now, in my livecode server script,
> 
> put URL "http://www.myserver.com/radio/15/ 
> " after vlist
> 
> has gotten me text list of the directory contents.
> 
> Now it gets me a "You don't have permission to access." error message.
> 
> on-rev hosting, "sage" is the server.
> 
> Anyone know what is going on?
> 
> TIA
> 
> Tim Selander
> Tokyo, Japan
> 
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com 
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Getting directory list from web server??

2017-11-06 Thread Phil Davis via use-livecode

Hi Tim,

Here is a wild guess.

I maintain an account on sage too. Late last week I contacted on-rev 
support about an issue and was told this:


   There was an update to cPanel yesterday that overwrote our custom
   apache templates that allow LiveCode Server to work.

They restored the required templates and my site works again, but maybe 
their recent changes have something to do with the new behavior you see.


Regards -
Phil Davis


On 11/6/17 7:24 PM, Tim Selander via use-livecode wrote:

Hi,

Up until now, in my livecode server script,

put URL "http://www.myserver.com/radio/15/; after vlist

has gotten me text list of the directory contents.

Now it gets me a "You don't have permission to access." error 
message.


on-rev hosting, "sage" is the server.

Anyone know what is going on?

TIA

Tim Selander
Tokyo, Japan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode



--
Phil Davis

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Getting directory list from web server??

2017-11-06 Thread Mike Bonner via use-livecode
My guess would be that the default setting for directory browsing on the
server has been changed to off.  You have a couple options if that is the
case.. enable directory browsing with using an htaccess file, or put an .lc
script page in there that gets the list of files and folders and returns
them to you.

To use the .htaccess method, create a .htaccess file (not the dot at the
beginning) and put this line into it..

Options +Indexes

If I remember correctly, this will affect the folder where you place it,
and its subfolders.

On Mon, Nov 6, 2017 at 8:24 PM, Tim Selander via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Hi,
>
> Up until now, in my livecode server script,
>
> put URL "http://www.myserver.com/radio/15/; after vlist
>
> has gotten me text list of the directory contents.
>
> Now it gets me a "You don't have permission to access." error message.
>
> on-rev hosting, "sage" is the server.
>
> Anyone know what is going on?
>
> TIA
>
> Tim Selander
> Tokyo, Japan
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Getting directory list from web server??

2017-11-06 Thread Tim Selander via use-livecode

Hi,

Up until now, in my livecode server script,

put URL "http://www.myserver.com/radio/15/; after vlist

has gotten me text list of the directory contents.

Now it gets me a "You don't have permission to access." error message.

on-rev hosting, "sage" is the server.

Anyone know what is going on?

TIA

Tim Selander
Tokyo, Japan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode