Hello,
I've got a new local environment setup and I've got multiple projects in 
folders off the root.

http://localhost:8500/projectAAA/index.cfm
http://localhost:8500/projectBBB/index.cfm  and so forth

These projects then sit production wise on:
www.projectAAA.com
www.projectBBB.com  (note: root level, not in a sub-folder like LOCAL)

Is there anyway in my local environment that I can create something like:
http://local.projectAAA.com/ hitting the content in the /projectAAA/ folder.

I'm hoping I can create all links RELATIVE and that way they work both locally 
as well as on production with no code changes what-so-ever.

I hope I explained that right.  I believe my HOSTS file isn't the answer as 
that can't forward to ports. Suggestions??

only other idea I had was to make links look like: <a 
href="#baseURL#link.cfm">link</a>.

where:
<cfif isLocalEnv>
  <cfset baseURL = "/projectAAA/">
<cfelse>
  <cfset baseURL = "/">
</cfif>
but that seems like a ugly code solution.

Appreciate any help this list can provide!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:331144
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to