RE: [users@httpd] Getting started - problem with virtual sites (not necessarily 'hosts')

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Joshua,

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



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux