Couple of things....

Verify that whatever user/group that apache is running as has read permission on the htdocs (document root) directory

Look for a line like this (somewhere around line 363) in httpd.conf...
DirectoryIndex index.html

If your default extension for web pages is going to be .html, then this is fine. Now, make sure you have a file named "index.html" in your document root.

If you want to a directory listing to display even if you do not have an index file in the directory, look for this line (little past where you set document root, around line 317) in your httpd.conf

Options FollowSymLinks MultiViews

It may or may not contain those options, but it will start with "Options", and it will be after a line (less comments) which looks like this....

<Directory "/path/to/your/document/root">

Anyway, if you want directory listings when no index file is found, add "Indexes" to the "Options" line.

Restart Apache

HTH

Burke, Thomas G. wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hey gang,

I've got the server put mostly back together after the wipeout... I'm having some problems with apache, however, and I cannot seem to
isolate them.
Apache -> got the newest apache reinstalled (1.37.? for RH6.2). It
is running, but does not seem to be working correctly. I've gone
through httpd.conf several times, but can see no obvious problems. When I try to surf from the local machine, I get "you do not have
permission to access /" (Or something similar, sorry - I don't have
it handy). I have gone through the /home/httpd/html directory, chgrp
- -R nobody *, chown -R nobody *, chmod 755 *, still no workie... I'm
fairly convinced that it's not a directory permissions thing, but
something with the setup.

-----BEGIN PGP SIGNATURE-----
Version: PGP Personal Privacy 6.5.3

iQA/AwUBPhSy4NPjBkUEZx5AEQLaeACgmsPaOvdbFu3oe6V5d6UXpYCRIQ8AoIxF
uMiz+B3TAXINl4l5NrtO+RrQ
=I/1j
-----END PGP SIGNATURE-----




--
By-Tor.com
It's all about the Rush
http://www.by-tor.com



--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to