Joshua,

> -----Original Message-----
> From: Joshua Slive [mailto:[EMAIL PROTECTED]
> Sent: 13 November 2005 6:15 pm
> To: users@httpd.apache.org
> Subject: Re: [EMAIL PROTECTED] Getting started - problem with virtual sites
> (not necessarily 'hosts')
>
>
> On 11/13/05, George Pitcher <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > After 6 years, I'm moving over from IIS to Apache 2, still on
> Windows. My
> > server is on NT4, but my development machine runs Windows XP.
> >
> > I have a series of websites that share a document root, so that
> when they
> > use the url 'www.mysite.com/site_a or www.mysite.com/site_b or
> > www.mysite.com/site_c, they will be directed to the same
> directory (under
> > the server's document root) and I have configured my PHP code
> so that they
> > will use configuration files in a site_a, site_b or site_c folder within
> > that directory.
>
> I'm not really sure what you mean by "configuration files" in this
> context.  How does this setup differ from any old website that
> contains three sub-directories?
>
> Joshua.
>
This isn't a website with three sub-directories. Its actually five websites
that use the same directory and it isn't the document root.

When the user come in with the url 'http://www.website.com/site_a/' it takes
them to 'home.php' which breaks down the url and loads the config file
according to the site. This makes site maintenance much easier for me as I
only have one set of templates and scripts to maintain for the five sites.

Hope this clarifies things.

Cheers

George


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to