[thelist] pros/ cons of using relative links

SBeam sbeam at syxyz.net
Tue Jun 17 09:18:15 CDT 2003


On Tuesday 17 June 2003 07:31 am, Scott Harman wrote:
> I tend to use virtual hosts and internal DNS for testing -
> Where it almost becomes a moot point.
>
> i.e.
> Creating www.example.com
> Test environment is created at dev.example.com as a virutal host in
> apache.

well said. also instead of mucking with DNS (or if you don't have an internal 
DNS) you can use port #'s for your virtual host...

> to enable this i have added direcories to my wwwroot and test away using
> http://localhost/project1 etc...
>

so http://localhost:8088/ would point to the project1/ working directory. This 
is how we set up most of our dev and staging servers. And then use root-based 
links. Works fine in IIS too.



More information about the thelist mailing list