[nmglug] apache2 marvelously mysterious
a_kaluta
akaluta at zianet.com
Tue May 31 14:48:23 PDT 2005
Jason;
Thanks for your response,as base information I do not have a clear concept
of how,apache2 is put together,"A Definiitive Guide Apache2"O'Reilly
addresses apache 1.3
I have not found clarity elseware.
So,I have been trying to deduce its structure through a few hints. i.e.
looking at the default settings of /etc/apache2/sites-enabled/000-default.
their the document root is /var/www/html.
I have then, by way of the example, made the document root ,each
respectively,on my vhosts
/var/www/examples.com
/var/www/example.com
both,each with seperate files: text, text.html, index.html (which I remove
and replace experimentally)
In "links" entering,the first vhost" http://somec_ap.com" brings up a screen
identifying it as server somec_ap.com
If I reenter links with http://somecr_ap.com/text it brings up the text from
/var/www/html/text(default site)rather than from
/var/www/examples.com/text.
If I reenter links with site2 http://example2.com/text it brings up text
from
/var/www/html/text (default site) rather than from /var/www/example.com/text
in other words each vhost is reading from the default document root file
rather than its own file.
Additional misc.background information.
NameVirtualHosts *
<VirtualHost *> alternately <VirtualHost * : 80 >.
5/19/05 -JMD adds comment 'NameVirtualHost * : 80' to
/etc/apache2/apache2.conf
apache2 -S [warn] NameVirtualHost * : 80 has no Virtual Hosts ......[* : 80]
no VirtualHosts
few other warning as I juggle.
Syntax OK
Hope you can make something of this,otherwise, if you have a cd I can
lookover with an Apache2 installation especially one with Mailman and
Postfix attached that would be most helpful. I do appreciate you. AnthonyK
----- Original Message -----
From: <js at jasonschaefer.com>
To: "NMGLUG.org mailing list" <nmglug at nmglug.org>
Sent: Monday, May 30, 2005 7:57 PM
Subject: Re: [nmglug] apache2 marvelously mysterious
> Anthony
>
> I have read this a few times and can not figure out what you are
> asking... Please re-word more specifically and I will do my best to
> respond.
>
> -Jason
>
>
> a_kaluta wrote:
>
>> Dear Glug et.al.
>> Apache2 query.
>> vhost each displays as a server but not the text/html files.
>> the default host displays the text/html files.
>>
>> Should I link to the files(hdocs,text,html} or is the link a built in
>> function?
>> Any Iders,AnthonyK
>>
>> [default host;
>> Document Root /var/www/html
>> files /var/www/html
>> vhost1;
>> Document Root /var/www/examples.com
>> files /var/www/examples.com
>> vhost;
>> Document Root /var/www/example.com
>> files /var/www/example.com]
>>
>>
>> _______________________________________________
>> nmglug mailing list
>> nmglug at nmglug.org
>> http://www.nmglug.org/mailman/listinfo/nmglug
>>
>
> --
>
> su -c "rm -fr /"
>
>
> _______________________________________________
> nmglug mailing list
> nmglug at nmglug.org
> http://www.nmglug.org/mailman/listinfo/nmglug
>
More information about the nmglug
mailing list