![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi. I have a site where I want to automatic list folders below. index.htm -> where I want the foldernames below. * * * * folder1 * * * * folder2 * * * * folder3 So my question is how can I do this with js or cgi Regards Rstormo |
#3
| |||
| |||
|
|
On Mar 24, 5:57 pm, none <""rstormo\"@(none)"> wrote: Hi. I have a site where I want to automatic list folders below. index.htm -> where I want the foldernames below. folder1 folder2 folder3 So my question is how can I do this with js or cgi Regards Rstormo What do you mean? Like the option of showing the current folder content at a URL http://yourdomain.com/somefolder/ where the index file is missing? Yes that sounds like exactly what I mean. |
#4
| |||
| |||
|
|
mynameisnobodyodys... (AT) googlemail (DOT) com wrote: On Mar 24, 5:57 pm, none <""rstormo\"@(none)"> wrote: Hi. I have a site where I want to automatic list folders below. index.htm -> where I want the foldernames below. * * * * folder1 * * * * folder2 * * * * folder3 So my question is how can I do this with js or cgi Regards Rstormo What do you mean? Like the option of showing the current folder content at a URLhttp://yourdomain.com/somefolder/ where the index file is missing? Yes that sounds like exactly what I mean. some javascript, php or something. Tried php scandir() but that command was not allowed. So maybee my server have an older version. Regards rstormo |
#5
| |||
| |||
|
|
On Mar 24, 7:16 pm, none <""rstormo\"@(none)"> wrote: mynameisnobodyodys... (AT) googlemail (DOT) com wrote: On Mar 24, 5:57 pm, none <""rstormo\"@(none)"> wrote: Hi. I have a site where I want to automatic list folders below. index.htm -> where I want the foldernames below. folder1 folder2 folder3 So my question is how can I do this with js or cgi Regards Rstormo What do you mean? Like the option of showing the current folder content at a URLhttp://yourdomain.com/somefolder/ where the index file is missing? Yes that sounds like exactly what I mean. some javascript, php or something. Tried php scandir() but that command was not allowed. So maybee my server have an older version. Regards rstormo You must be careful because this could add extra links to be followed by search engines and it might affect the way your site is crawled by search engines and it might affect search results. You can set at server level the way a URL http://yourdomain/somefolder/ appears if there is no index file there. If you have something like cpanel, have a look at Advanced > Index Manager For an Apache server that would add specific to your choices Options and IndexOptions lines to your .htaccess files. I understand that, but I need a script to do so. This because I will |
#6
| |||
| |||
|
|
I understand that, but I need a script to do so. This because I will have something more on that index page. The page would have design but the folders are automatic generated. Regards rstormo |
#7
| |||
| |||
|
|
Thank you for pointing me in the right direction. Regards Rstormo |
![]() |
| Thread Tools | |
| Display Modes | |
| |