| Jim Patterson 2006-02-17, 10:51 pm |
| -----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Maltelec wrote:
> On my old HTTP server I used to be able to type in the root URL and it
> would give me a list of the files there (the one with the Parent
> Directory link at the top).
>
> How do I configure Apache (2.0.54) to do this?
That's generally called the "Index" option. You need to do two things:
- - ensure that "Options Indexes" is on in that directory.
- - ensure that you do NOT have a file in that directory matching any of
the resources given in a "DirectoryIndex" directive e.g. "index.html".
If there is, Apache will show it, instead of generating the index.
You can look both directives up in the Apache documentation ("/manual"
in a standard installation).
- --
Jim Patterson
Ottawa, Ont
CANADA
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFD899r3pdNyWtIEQoRArubAKDewsjJwdN8
Y2nemIGzGtQ0FopUPACfctAH
hw9NU7JpJmqp3N/uLMaTCME=
=eb4y
-----END PGP SIGNATURE-----
|