httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "EMRE KUNT (Ebi Bsk. - Sistem Prog)" <EK...@THY.COM>
Subject virtual hosting
Date Wed, 15 Oct 2003 08:41:16 GMT
I am using Apache2045
I want to use 2 host names with apache :  and

When a client type on his browser, i want my Apache
to serve from "apache_home/htdocs/" directory.

When a client type on his browser, i want my Apache to
serve from "apache_home/htdocs/host2/" directory.

To achieve this goal, i use name based virtual hosting (is this wright
I added the lines, below, to httpd.conf file. It doesnt work. What is wrong?

Thanks and best regards,

<VirtualHost *>
        DocumentRoot apache_home/htdocs
        ErrorLog logs/mainhost.firm.com_error.log
        CustomLog logs/mainhost.firm.com_access.log common

<VirtualHost *>
        DocumentRoot apache_home/htdocs/host2
        ErrorLog logs/host2.firm.com_error.log
        CustomLog logs/host2.firm.com_access.log common
Bu e-mail mesaji ve ekleri, isimleri yazili alicilar disindaki kisilere
aciklanmamasi, dagitilmamasi ve iletilmemesi gereken kisiye ozel ve gizli
bilgiler icerebilir. Mesajin muhatabi degilseniz lutfen gonderici ile
irtibat kurunuz, mesaj ve eklerini siliniz. E-mail sistemlerinin tasidigi
guvenlik risklerinden dolayi, mesajlarin gizlilikleri ve butunlukleri
bozulabilir, mesaj virus  icerebilir.   Bilinen viruslere karsi kontrolleri
yapilmis olarak yollanan mesajin sisteminizde yaratabilecegi olasi
zararlardan Sirketimiz (T.H.Y. A.O.) sorumlu tutulamaz.
This email and its attachments may contain private and confidential
information intended for the use of the addressee only, which should not be
announced, copied or forwarded. If you are not the intended recipient,
please contact the sender, delete the message and its attachments. Due to
security risks of email systems, the confidentiality and integrity of the
message may be damaged, the message may contain viruses. This message  is
scanned for  known viruses and our Company (Turkish Airlines Inc.) will not
be liable for possible system damages caused by the message.

View raw message