Web Servers on Windows - Dumb question for a dumb user on Apache Configuration

This is Interesting: Free IT Magazines  
Home > Archive > Web Servers on Windows > February 2006 > Dumb question for a dumb user on Apache Configuration





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Dumb question for a dumb user on Apache Configuration
Maltelec

2006-02-14, 5:51 pm

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?

Thanks

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-----
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com