-----BEGIN PGP SIGNED MESSAGE-----
On Mon, May 01, 2017 at 11:55:49AM -0400, Tony Baldwin wrote:
> On 04/30/2017 08:26 PM, Gene Heskett wrote:
> >Imagine my surprise when I looked at /var/www/html/index.html,
> >and found that somehow, it was native to a PCLos install I was running
> >half a decade or more ago!
> >Now, do we have a script that will rebuild a new index.html for the
> >defined root of the server, and which WILL access the /var/www/html/gene
> >directory? This should restore the whole site to http compatibility.
> >Right now, with out without that file, the subdir "gene" isn't
> >accessible. Cannot be found is the message.
> >Cheers, Gene Heskett
> nope. You've got to write or create your own index, unless you
> install something that generates one, such as dokuwiki, or
> wordpress, or any of a myriad of other CMS, (micro)blogging, social
> networking, or wiki platforms, forums or gallerys...the
> possibilities are nearly endless.
> If you just want to list the directories contents, try putting in an
> index.php with something like this in it [...]
Or there is the
for the Apache config . You can fine-tune how the index itself
is rendered via the IndexOptions directive .
This would be a more lightweight, yet less flexible approach.
Note that you'll have to make sure that your clients don't see
things you don't want them to see (but this applies even more
strongly to a scripting solution, like the PHP example offered)
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
-----END PGP SIGNATURE-----