httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bashiro"<>
Subject RE: [users@httpd] VIRTUAL HOSTS
Date Mon, 22 Jan 2007 14:59:56 GMT

Thanks guys.
When you asked the question;
What do you want to happen if someone requests ?

I would like it to serve the ordinary main server. And this makes logic. I only have to declare
the document root isn't it ?
Thanks a lot


 --- On Mon 01/22, Boyle Owen < > wrote:
From: Boyle Owen [mailto:]
Date: Mon, 22 Jan 2007 11:56:04 +0100
Subject: RE: [users@httpd] VIRTUAL HOSTS

> -----Original Message-----> From: Bashiro [] > Sent: Monday,
January 22, 2007 11:29 AM> To:> Subject: [users@httpd] VIRTUAL
HOSTS> > > > > Hello Folks,> > I appologise for any stupid question.>
I only want to understand apache better.> Accordding to>
,Main > host goes away:> Does this mean whenever one configure any virtual host>
regardless of wheter it's https or http, the main server> delcared in the httpd.conf has
to be removed and place in> the virtual host block ?It is not required. If you don't do
this, default requests (eg, withjust the IP address and no hostname like
will beserved by the "main" config.However, it is *recommended* you put all sites in separate
VHs just fororganisation reasons (it's like putting files into directories insteadof keeping
all your files right at the top...).> > My second question is,> i have three subdomains.,, and>> Only
is intended to serve as ssl> and has been declared in the virtual host to use port 443.>
> Now Whenever other subdomains are accessed by https://, apache> serve the files directory
from even though these> subdomains have not been declared to be used
as ssl.All sites have the same IP, right? SSL requests can only bedistinguished by TCP/IP
(ie IP and port) - not by the domain name. See
> How do I configure apache to serve only the files that are > intended for> use
with ss (in this case do you want to happen if someone requests
?> > Has this something to do with the main server not bein moved > to the virtual
host block ?No.Rgds,Owen BoyleDisclaimer: Any disclaimer attached to this message may be ignored.
PS- Pls stop adding your personal address to the Reply-to 
field - go viathe list.... > > > Thanks> bashiro> > Bashiro> > _______________________________________________>
No banners. No pop-ups. No kidding.> Make My Way  your home on the Web ->
> > > ---------------------------------------------------------------------> The
official User-To-User support forum of the Apache HTTP > Server Project.> See <URL:>
for more info.> To unsubscribe, e-mail:>    "   from
the digest:> For additional commands, e-mail:>  This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No confidentiality or privilege
is waived or lost by any mistransmission. If you receive this message in error, please notify
the sender urgently and then immediately delete the message and any copies of it from your
system. Please also immediately
destroy any hardcopies of the message. You must not, directly or indirectly, use, disclose,
distribute, print, or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail communications through their
networks. Any views expressed in this message are those of the individual sender, except where
the message states otherwise and the sender is authorised to state them to be the views of
the sender's company.---------------------------------------------------------------------The
official User-To-User support forum of the Apache HTTP Server Project.See <URL:>
for more info.To unsubscribe, e-mail:   "   from the digest:
users-digest-unsubscribe@httpd.apache.orgFor additional commands, e-mail:

No banners. No pop-ups. No kidding.
Make My Way  your home on the Web -

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message