By engern85 on
I have gone through hell installing apache, php and mysql. I finally got it working together, and completed the install wizard, and everything got copied to the database.
But, when I go to http://localhost/testsite, it doesnt fire the index.php automatically. I have to push it from directory listing, and the homepage page shows correctly.. But when I push whatever link on the site (i.e. LOGIN) , it just throws me back to the directory listing again. See this image:
http://img172.imageshack.us/my.php?image=drupalbi2.jpg
What have I done wrong? thx ;)
Comments
Perhaps this is due to a
Perhaps this is due to a misconfiguration of PHP with apache. If you are trying it at home, you can start with XAMPP form http://www.xampp.org. It is a preconfigured bundle of apache/php/mysql.
For your current setup:
Make sure that the following lines exist in your httpd.conf, and not start with #.
AllowOverride all
DirectoryIndex index.php
Also make sure that the .htaccess file exists in your drupal installation directory.
There are multiple entries
I have a similar problem. There are multiple entries of AllowOverride in httpd.conf. Which entry are you referring to?
The file structure looks
The file structure looks different than mine, but the /htdocs instance as you have it should be enough.
I think that lacking the index.php in DirectoryIndex was what gave me the same problem as the OP.