Find the answer to your Linux question:
Results 1 to 2 of 2
I am running Redhat Linux 9.0 How can I change the place that apache looks for index.html?????...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    May 2004
    Posts
    19

    how to change where apache will get index.html


    I am running Redhat Linux 9.0

    How can I change the place that apache looks for index.html?????

  2. #2
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    open your httpd.conf file, and change the DocumentRoot to the directory of your choice.

    Take a moment to kook at the comments in the rest of the file as well, the apache features are pretty well documented and you could save a bit of time in the future having a rough idea of what is possible now.

    Jason

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •