tags:

views:

85

answers:

1

Hello,

If I have multiple SVN working copies checked out to my local PC, what's the best way to point localhost to the copy I want to work with?

I've seen the suggestion to just set a symlink to the new directory - this seemed great at first, but aren't there other important steps that must be taken when writing PHP code? For example, what about include paths? There are frequent situations where an absolute URI is needed to refer to a file.

It's not that I wouldn't be able to figure out a way to dynamically set these paths. But I have searched everywhere, read everything about SVN, and part of my confusion is that I can't find this issue discussed even once. Am I missing something?

Thanks, Brian

+1  A: 

Just to post an answer for this - the solution of using VirtualHosts and environment variables in the .htaccess file was the way to go for me.

Brian