First time with Drupal and struggling to install/configure on local PC to try and learn. Latest problem is when I get to the welcome page and click on the link to create the admin user I get directed to the index.html in my htdocs (url created is http://localhost/?q=user/register)

Would welcome some guidance.

Comments

coreyp_1’s picture

  1. Is Drupal installed at http://localhost, or in a subdirectory?
  2. Does the .htaccess file exist?
  3. Check the settings.php file to see that $base_url is set correctly.

- Corey

mc.edwards’s picture

Drupal is installed under localhost
Yes .htaccess exists
Yes $base_url is set correctly.

I found this issue discussed at http://drupal.org/node/461 - don't know if it makes sense to you. I did find a register_globals setting somewhere which was set to 'off' so I tried setting it to 'on'. Alas no change. Ideas welcome.

Thanks for replying

Mark

coreyp_1’s picture

Not the same issue.

In that case, index.php was loading OK, but the query string was not being read. It also appears that that was an older version of Drupal, the problem of register_globals being solved in later versions.

In your case, index.html is loaded *instead* of index.php, right? What happens if you delete (or rename) index.html?

Could it be a configuration in your web server? Are you using Apache, or something else?

- Corey

mc.edwards’s picture

When I renamed index.html I got a directory listing. I found another thread which suggested amending httpd.conf in Apache which I suspect is where you train of thought was heading. Including directory index entry to index.php did the trick.

Many thanks for helping
Mark

clancykelly’s picture

I'm having the same problem--can you explain what you added to the index.php file to make it work?