Hi
I downloaded a copy my Drupal site files and inserted them them in the usual Xampp htdocs folder. I created the database.
The problem is I only have the front page with all site content (teasers, menu & so on) correctly showing, but when I go to any link of whatever node, or even to other pages of the frontage, ie. 2, 3, 4 ... I'm redirected to the Xampp main page instead. I dont know why this occurs.

What do I need to change to make the other links work? I suspected it's the .htaccess file, but when I tried to remove it, I think I got a 500 error.

I want to test a few things on my PC for a site that's already functioning online.
The online site is in such a folder: mysite.com/drupalsite & I inserted the complete drupalsite folder in Xampp.

Regards

Comments

drooppi’s picture

Oh yes, Xampp. The Apache development thing, your localhost.

Yesterday, it didn´t wanna work on Ubuntu linux (thank God it did on SuSE).
I have the current version 1.6.4 on SuSE Linux 10.0 working perfectly.

But: I did not put drupal in the folder

/htdocs

directly, but under something like /htdocs/drupal

If I directly go to

http://localhost/,

the Xampp page shows and it is very nasty to get rid of, so in that case you request drupal directly using (means: it shows up as the following in your browser)

http://localhost/drupal/

So check out if that works.

Greetings, drooppi

drooppi’s picture

Otherwise completely empty the

/htdocs

folder and delete the xampp-crap it contains or move it somewhere else as backup. (Sorry for the language, but I think we´re both a bit frustrated with that otherwise very useful piece of software).

I think (did´t check it) the Apache is configured to show the xampp default files (extensions) instead of the drupal php-files.

See if that drastic measure helps.

Greetings, drooppi

lionheart8’s picture

Hi
Thanks for responding.
Actually I have installed Drupal in the past (new install.) in Xampp & also ever downloaded a working site into & it worked + lots of other scripts, including diverse CMS.

Like all php files I correctly access the site via http://localhost/drupal and since it is located in htdocs in the "drupal" folder, the site seems to show properly. I never had any problem with this before with all php files/scripts I have tested before. .... that's why I dont understand why only the frontpage shows completely like on the online website, but none of the other linked pages. (I have the newest version of Xampp).

I deleted all the other contents of htdocs & only left the Drupal file, but it did not help either. It does not find the pages on the server! A custom html file I call within Drupal normally using the include function when using the direct link shows, though (ie. http://localhost/drupal/folderX/page.html.

So I'm still flummoxed :(

lionheart8’s picture

Let me add that when I made a local fresh installation of Drupal, there were no similar problems with links.
So where could the problem lie? I want to be able to make changes to the downloaded site and experiment with a few things on my pc.

Surely, there are people who use/have used Xampp ... ;)

Tezcatli’s picture

Are you using clean urls? If so the problem is that you have to have the rewrite module running. See http://drupal.org/node/75545 for complete instructions, but basically:

edit
xampp\apache\conf\httpd.conf
and uncomment
#LoadModule rewrite_module modules/mod_rewrite.so
restart xampp apache