Windows vista:
--------------
I had successfully installed drupal under xampp_install_dir/htdocs/drupal6

http://localhost/drupal6 was configured successfully to point to MySQL db.

But the problem I am facing is related to hyperlinks in the drupal site. Any action on the site afterwards like clicking any hyperlink (ex: for administration, etc), takes the browser back to http://localhost/xampp (which I guess is the local apache home page).

Is there any thing wrong in the setup.

Thanks for your valuable time and help.

Comments

gonefishing’s picture

Try renaming or deleting the .htaccess file and see if this helps. You may need to set the "Base Url"

rajabhojd’s picture

jagan_drupal’s picture

Thanks for the suggestions! I had tried pretty much all the options but in vain.

I checked the apache error logs, and here is what I found.

[Sun Oct 07 15:47:13 2007] [error] [client 127.0.0.1] File does not exist: C:/tools/drupal/xampp/htdocs/drupal6/admin, referer: http://localhost/drupal6/
[Sun Oct 07 15:47:36 2007] [error] [client 127.0.0.1] File does not exist: C:/tools/drupal/xampp/htdocs/drupal6/node, referer: http://localhost/drupal6/
[Sun Oct 07 15:47:42 2007] [error] [client 127.0.0.1] File does not exist: C:/tools/drupal/xampp/htdocs/drupal6/logout, referer: http://localhost/drupal6/
[Sun Oct 07 15:48:38 2007] [error] [client 127.0.0.1] File does not exist: C:/tools/drupal/xampp/htdocs/drupal6/node, referer: http://localhost/drupal6/

All the above are hyperlinks in my drupal site home page. What could be the reason for this?

Thanks!

gonefishing’s picture

Post what you have for the base_url in your settings.php and .htaccess files.

gonefishing’s picture

Post what you have for the base_url in your settings.php and .htaccess files.

jurerickporras’s picture

This must be on your .htaccess file.

make sure that RewriteBase is not pointed on the root folder.

if you are not sure what it is,

find the RewriteBase then comment-out the line

enzo3946’s picture

the solution of gonefishing works for me. I rename the $base_url in settings.php and all works fine.