You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Richard Crawford <rc...@unexmail.ucdavis.edu> on 2003/04/28 17:33:04 UTC

Re: [users@httpd] Listing Directories on a webpage without using the default index page

You could also just delete the index page and allow directory browsing in 
that directory.  But that's probably not the most secure or efficient 
route.  :)


At 11:31 AM 4/28/2003 -0400, you wrote:
>You could use either PERL or PHP and generate the page using their open
>directory and read directory functions. This has the added benefit in that
>you can filter the contents, make the display pretty, etc.
>
>Michael Lewis
>
>----- Original Message -----
>From: "Kaplan, Andrew H." <AH...@PARTNERS.ORG>
>To: <us...@httpd.apache.org>
>Sent: Monday, April 28, 2003 11:25 AM
>Subject: [users@httpd] Listing Directories on a webpage without using the
>default index page
>
>
> > If I wanted to list directories on a webpage rather simply having the
>index
> > page listing of the files, what would the best approach? One option that I
> > was thinking of was setting up a link to the directory in question, but
>that
> > will only result
> > in the index showing up again. Thanks.
> >
> >
> > ---------------------------------------------------------------------
> > 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@httpd.apache.org
> >    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
>
>
>---------------------------------------------------------------------
>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@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org