Forum Moderators: phranque

Message Too Old, No Replies

[Help]how to sort a folder(as in Window)on host running Apache 1.3.37

sort folder apache 1.3.37

         

diodio

1:48 pm on Aug 4, 2006 (gmt 0)

10+ Year Member



Hi,
I have a host running Apache 1.3.37. There are many folders on that host but the folder is not sorted as folders in Windows.

For example : this is the current layout of the folder

... [Parent directory]
folder1 [folder]
folder2 [folder]
file1.mpg [file]
file2.mpg [file]
OtherFolder1[folder]
OtherFolder2[folder]

I want to sort this folder so that all the folders on the top and the files at the bottom. What files I need to configure or create to achieve that.

Thank you very much.

[edited by: engine at 4:20 pm (utc) on Aug. 4, 2006]
[edit reason]
[1][edit reason] e-mail snipped, See TOS [webmasterworld.com] [/edit]
[/edit][/1]

coopster

4:16 pm on Aug 4, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



Welcome to WebmasterWorld, diodio.

Are you referring to the sort order of the DirectoryIndex [httpd.apache.org] when there is no index page? If so, have a look at the IndexOptions [httpd.apache.org] so you can specifiy the behavior of the directory indexing.

diodio

8:51 am on Aug 6, 2006 (gmt 0)

10+ Year Member



Thank you ver much Coopster. I found the FolderFirst indexing options.

Can you help me 1 more time : I do not have permission to edit the httpd.conf file of the host, all I can is create/upload/delete file in my folder.

So how can i configure my folder with FolderFirst indexing?

coopster

12:38 pm on Aug 6, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



If your host allows overrides you can set it in a per-directory override file (.htaccess).