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.