Alter display directory information and contents
am 21.06.2007 16:36:58 von WadeI have two questions.
First, on my development server my root shoes up like this:
Index of /
[ICO] Name Last modified Size Description
[DIR] Closed/ 24-Mar-2007 21:13 -
[DIR] Misc/ 24-May-2007 20:20 -
[DIR] ScanFile/ 15-Jun-2007 20:26 -
[DIR] apache2-default/ 20-Nov-2004 14:16 -
[DIR] php/ 14-Jun-2007 13:55 -
[DIR] phpmyadmin/ 24-Mar-2007 18:47 -
Apache/2.2.3 (Ubuntu) PHP/5.2.1 Server at localhost Port 80
I would like to have the Size of the folder show the actual size of
the folder and I would like to show the permissions of each folder.
Secondly, on another system I have, I would like to do not show
certain files in directory view. For example, in this example I have
two files that are not php files and I would like them not to be
shown.
Index of /ScanFile
[ICO] Name Last modified Size Description
[DIR] Parent Directory -
[ ] 01032006 03-Jan-2006 21:26 7.3K
[ ] 06132007.php 13-Jun-2007 19:55 68
[ ] 061420071400.php 14-Jun-2007 14:44 1.2K
[ ] 061420071458.php 14-Jun-2007 17:14 1.5K
[ ] 061520071447.php 15-Jun-2007 14:47 1.5K
[ ] Directions 21-Sep-2006 15:39 2.0K
[ ] DirectoryContents-B.php 28-Sep-2006 19:46 1.8K
I have two administrating apache books but the answer was not clear to
me. A php developer said to use htaccess but after reading that
section, that didnt seem to be what I was looking for - unless I
misunderstood its meaning.
wade