Localhost Development URLs

Soldato
Joined
10 Dec 2003
Posts
6,348
Is there any way I can develop a site localy, without worrying about changing the URLs when it comes to uploading to a web server?

Sometimes I run into problems where some scripts require absolute paths to other scripts, and then I have to go through and change them all once I'm ready to upload. It's slow and tedious.

Surely there must be some kind of htaccess-like control for telling the browser that should be shown as , ignoring 'localhost'.

Or some kind of a switch to change the name of 'localhost' to the actual project domain I wish to work on, at any one time.

I'm using XAMPP and I've tried searching their Apache Friends forum for some answers, but I've had no luck.
 
Back
Top Bottom