Hi,
Finally manage to install Drupal with Xampp, however i have a small problem that I want to resolve and was wondering if anyone could help me out.

I can access drupal via the following link:

http://localhost/drupal465/

The problem is that every link i click on leads to http://localhost/xampp/ which is the Xampp welcome homepage.

Any ideas on how to resolve this issue.

Pls post me a reply.

Thanks

Comments

heine’s picture

What is the value of $base_url in settings.php? Make sure it reads:

$base_url = 'http://localhost/drupal465';

PS I found it easier to setup aliases to directories outside the xampp document root.
--
Tips for posting to the forums.
When your problem is solved, please post a follow-up to the thread you started.

jjgp’s picture

Thanks for your help. Im sorted.

morphir’s picture

try putting drupal465 under the xampp-folder, like this:
http://localhost/xampp/drupal465

Then, in the settings.php...set the

http://localhost/xampp/drupal465 as Base url. NO trailing slash after drupal465!

morphir.com

jjgp’s picture

Thanks for your help. Im sorted

fernandogbat’s picture

I have tried everything explained on this page and even beyond.
i first changed(The name of my site is hugme and i am running it on localhost)
* Examples:
* $base_url = 'http://www.example.com';
* $base_url = 'http://www.example.com:8888';
* $base_url = 'http://www.example.com/drupal';
* $base_url = 'https://www.example.com:8888/drupal';
*
* It is not allowed to have a trailing slash; Drupal will add it
* for you.
*/
# $base_url = 'http://www.example.com'; // NO trailing slash!

/
TO
Examples:
* $base_url = 'http://localhost';
* $base_url = 'http://localhost:8888';
* $base_url = 'http://localhost/hugme';
* $base_url = 'https://localhost:8888/hugme';
*
* It is not allowed to have a trailing slash; Drupal will add it
* for you.
*/
# $base_url = 'http://localhost/hugme'; // NO trailing slash!

/

Please tell me am i doing something wrong?
Also when i place the site folder in the xampp folder and run the site in my browser, it show a "Page Not Found" page...
Really need your help.

Amarjit’s picture

# $base_url = 'http://localhost/hugme'; // NO trailing slash!

This is the line you are supposed to modify. Also remove the # character.
Anything between /* *\ are comments and should not be modified, as they are useful for examples down the line.

Hope this helps.