hi,
i installed drupal 4.6 on my windows Box but there is a problem

i installed it in my htdocs and a inside a folder called 'Drupal'

so what should the settings.php congfigured to

when i try the

$base_url = 'http://localhost/drupal

the index.php works fine. but when i click links such as 'create account' the URL changes to http://localhost/drupal/?q=node/add

instead of http://localhost/drupal/index.php?q=node/add

but if i change the $base_url to 'http://localhost/drupal/index.php
drupal complains it cant find the include files!

please help!!

thanks
Deane.

Comments

hellata’s picture

The index.php is assumed with the /?q= notation.

If you are not able to see a page at this address (http://localhost/drupal/?q=), it's most likely because your web server does not recognize index.php as a default page.

To fix this for Apache, open the httpd.conf file (For a default windows installation, that file will be in C:\Program Files\Apache Group\Apache2\conf), and change the line

DirectoryIndex index.html index.html.var

to be

DirectoryIndex index.html index.html.var index.php

HTH

deane034’s picture

thanks man,
it worked!
you rock!
:)

hellata’s picture

But who the heck cares, since I do, indeed, rock (am also very modest...)