Hi,

I am new to drupal, I have configured drupal in apache+php+windows, data base is in mysql. The configuration process went smoothly and it took me to administrator logged in mode. But from there I am not able to select any option, it always took me to directory listing. When I checked the URL I found it's missing index.php in it. The URL is as below

http://localhost:8080/?q=admin%2Fpeople&

If I edit the URL manually on address bar to

http://localhost:8080/index.php?q=admin%2Fpeople&

I am able to view the page.

Could any one please suggest where it went wrong on my end. Is there any settings which I need to correct

Sreejith

Comments

pbarnett’s picture

The problem is due to Apache not looking for index.php - this is usually due to the line

DirectoryIndex index.php

not being in the site's .htaccess file.

Is it possible that you haven't got this file in your site's root?

mvsagar’s picture

Pete, I am also facing the same problem. The line "DirectoryIndex index.php" is present as follows in .htaccess file on my windows machine:

DirectoryIndex index.php index.html index.htm

Any idea what the problem for missing index.php from URLs of Drupal links?

Sagar

mvsagar’s picture

The problem was resolved once I added index.php to httpd.conf file of Apache web server and restarted the server.

The following is the entry in the file after I modified:

#
# DirectoryIndex: sets the file that Apache will serve if a directory
# is requested.
#

DirectoryIndex index.html index.php

Sagar