Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsGeneralPHPASPPerlColdFusionFlashHTML, CSS, ScriptsBrowsers

Webmaster Forum / ColdFusion / Getting Started / January 2008



Tip: Looking for answers? Try searching our database.

wwwroot folder

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
T0keyM0n - 27 Jan 2008 19:10 GMT
hello,

I've noticed that when I am developing lots of sites in the root folder,
I started making different directories for each site.

wwwroot\
  site1
  site2

but then all my URL's end up being:

site.com/site1
web.com/site2

what does one do to prevent this from happening,
how do I develop lots of site out of one wwwroot folder??
JR "Bob" Dobbs - 27 Jan 2008 19:28 GMT
What is your OS and web server?
T0keyM0n - 27 Jan 2008 19:56 GMT
grr sorry, I'm on windows xp pro, using apache.
GArlington - 28 Jan 2008 10:31 GMT
> grr sorry, I'm on windows xp pro, using apache.

See Apache virtual hosts...
johnab - 30 Jan 2008 12:58 GMT
good job you're using apache as IIS on XP only lets you have one webroot - with
apache you need to look into using virtual servers and host headers - you then
tweak your hosts file and add eg, siteA.local to 127.0.0.1 and myabe
siteB.local to 127.0.0.1 and then you configure each virtual server in apache
config to listen for siteA.local or siteB.local etc and then serve up the
relevant content from the SiteA or SiteB folder.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.