Alter display directory information and contents

This is a discussion on Alter display directory information and contents within the Apache Web Server forums, part of the Web Server and Related Forums category; I have two questions. First, on my development server my root shoes up like this: Index of / [ICO] Name Last ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 06-21-2007
Wade
 
Posts: n/a
Default Alter display directory information and contents

I 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

  #2 (permalink)  
Old 06-21-2007
kwan
 
Posts: n/a
Default Re: Alter display directory information and contents

On Jun 21, 9:36 am, Wade <wadesm...@gmail.com> wrote:
> I 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


<Directory /path>
Options Indexes
IndexOptions FancyIndexing
......
</Directory>

You need to put the configuration setting for your requirement..

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 08:27 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0