On Mon, Jan 27, 2020 at 6:33 AM Eric Covener <cove...@gmail.com> wrote:
>
> On Mon, Jan 27, 2020 at 7:30 AM o1bigtenor <o1bigte...@gmail.com> wrote:
> >
> > Thank you for responding!!!
> >
> > On Mon, Jan 27, 2020 at 6:23 AM Eric Covener <cove...@gmail.com> wrote:
> > >
> > > > Perhaps I'm not understanding either the concept of virtual hosting or 
> > > > how
> > > > to run multiple programs on one host very well. If so - - - if someone 
> > > > would
> > > > please advise?
> > >
> > > It is possible that two "applications" insist on a fixed or even
> > > separate DocumenRoot, but it's just as likely that each one would be
> > > just as happy to have their files found by an Alias or AliasMatch.
> >
> > I do not understand what you mean by this - - - - could you perhaps
> > point me to where I might see how this is set up or used (or or or)
> > so that I might understand what you mean. (I think I understand the words
> > but I don't understand how to 'do it'.
>
> The DocumentRoot can be viewed as just the default place URLs are
> mapped to the filesystem. There's only 1 per virtual host.
> To use different virtual hosts, you need separate IP addresses,
> hostnames, or ports.
>
> If you want URL-path X to lead to filesystem path Y on disk, you can
> use the Alias or AliasMatch directive to customize it without using
> additional IP addresses/hostnames/ports to differentiate.
>
> But of course this doesn't help if you have two application that
> expect to live on /

OK - - - I think I understand this (my following question(s) may prove
otherwise!).
Both applications are not expecting to live on / but to me the installation
instructions for each are incompatible.

So - - - - step by step to make sure I'm not fubaring things too many more
times (I'm at 5 times installing the lamp stack trying to get things working).
Of course if I knew what I was doing that wouldn't likely be necessary but
one trades time for experience (at least in my case). As my other question,
email subject: question re: where to place, shades into this one so I'm
going to combine the somewhat different requests into one - - this one
(hopefully allowed and should be traceable).

So I don't really need to use 'virtual hosts'. What I am actually needing to do
is to use different ports to the same 'stack' rather than creating
different 'stacks'.
By this I mean that I don't need to use different server configurations for
each application rather than I need to 'just' assign different ports to the
different applications and this should work.

Where my problem lies is in the request that application a expects to be
called from:  DocumentRoot /var/www/applicationa/web  and the second wants
to be called from:  DocumentRoot /var/www/example.com  .

I don't understand how to setup both in the way asked for by the script I'm
following for each as I don't understand how to modify, what to modify or even
where to modify something to allow both applications to co-exist.

Have tried reading the documentation and it can usually follow what is being
said by the examples only show exactly what is being referred to without ever
showing any context. So I don't understand where that specific whatever
belongs and how it relates to the whole. Understand that you are likely not
responsible for the docs but even though they are clear and concise without
an example which places the specific into its larger setting - - -
-well I don't know
what to do with the specific and then I mus needs ask here. Perhaps an
example configuration could be referred to in the docs so that one could see
these details.

Thanking you for your assistance muchly!!

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to