Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2002
    Posts
    38

    Angry index.php not loading.

    When one goes to a subdirectory on my page, Apache won't load the index.php file. Instead it loads up a directory listing.

    I've checked my httpd.conf file to be sure that it has a php handler. It has these lines:

    # And for PHP 4.x, use:
    #
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps

    so that looks good. I've checked permissions and those are good. If I replace the index.php file with index.html, it loads up just fine. What's wrong with my setup?

  2. #2
    Join Date
    Apr 2002
    Posts
    930
    Make sure index.php is in the list of DirectoryIndex in your httpd.conf file.

  3. #3
    Join Date
    Mar 2002
    Posts
    38
    Originally posted by SPaReK
    Make sure index.php is in the list of DirectoryIndex in your httpd.conf file.
    That was it. Thanks!

Posting Permissions

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