httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "George Pitcher" <george.pitc...@ingenta.com>
Subject RE: [users@httpd] Getting started - problem with virtual sites (not necessarily 'hosts')
Date Mon, 14 Nov 2005 07:37:30 GMT
Joshua,

> -----Original Message-----
> From: Joshua Slive [mailto:jslive@gmail.com]
> Sent: 13 November 2005 6:15 pm
> To: users@httpd.apache.org
> Subject: Re: [users@httpd] Getting started - problem with virtual sites
> (not necessarily 'hosts')
>
>
> On 11/13/05, George Pitcher <george.pitcher@ingenta.com> 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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message