How to sort the directories and files in different orders?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I placed my Release directory at DocumentRoot, /apache-httpd/htdocs. There is no index.html at DocumentRoot. I can see the list of directories and files in my browser under Release directory. 
My purpose is, sort the directories under Release in Ascending order. Sort the files inside each directory in Descending order. Below are my configurations. It does not work. Can someone help?

In httpd.conf
<Directory />
    Options FollowSymLinks
    AllowOverride All
    Order deny,allow
    Deny from all
</Directory>

<Directory "/apache-httpd/htdocs">
    AllowOverride AuthConfig
</Directory>

In extra/httpd-autoindex.conf

IndexOptions FancyIndexing HTMLTable VersionSort NameWidth=* DescriptionWidth=* FoldersFirst IconsAreLinks ShowForbidden
IndexOrderDefault Ascending Name

<Directory "/apache-httpd/icons">
    Options Indexes MultiViews
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>

In Release/ace-release/.htaccess
IndexOrderDefault Descending Name

I cannot see the directory ace-release in browser anymore after adding IndexOrderDefault Descending Name in .htaccess. I can see it again if I comment this line out. However, the files are in Ascending order. Can someone tell me how to make the files inside ace-release in descending order? I use Apache 2.2.11.


Thank you



      

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux