My first ever post on stackoverflow.com! A great site, and I hope my post will contribute to the benefit of others.
The situation: I have been entrusted to renovate a really small, existing, php-driven web site.
So, I started to set up my environment:
- Dreamweaver was installed.
- I FTP'd the files to my computer from the remote server.
- I choose Apache and MySQL via the XAMPP package to set up a local host on my computer (PC, Windows XP), installed XAMPP and set the passwords that are left out by default.
- I made sure that both Apache and MySQL was up and running.
- I set the parameters for the local info, remote info and testing server in Dreamweaver, (this took some time).
All's well so far.
But the site would not work properly when previewed locally in a browser. The live version ran just fine.
The problem: The first page of the site would launch with no connection to the css stylesheet or the images folder and when trying the generated links, they would hit the XAMPP redirect in the root folder and the XAMPP orange page would display.
So, how to fix this?
Again, thanx for a great site! /Vaquera