--- Nhan Thanh Le <[EMAIL PROTECTED]> wrote:

> Cha`o ca'c ba'c,
> 
>    Xin ca'c ba'c chi? giao cho em la`m ca'ch
> na`o configure nhieu
> website tre^n cu`ng mot ma'y chi? co' mot IP.
> Software em du`ng nhu*
> sau:
> 
> 1. Linux redhat 9.0
> 2. Apache server 2.0
> 3. Configuration nhu* sau:
> 
> Listen 80
> ServerName www.example1.com
> DocumentRoot /www/example1
> 
> NameVirtualHost *:80
> 
> <VirtualHost *:80>
> DocumentRoot /www/example2
> ServerName www.example2.org
> 
> </VirtualHost>
> 
> <VirtualHost *:80>
> DocumentRoot /www/example3
> ServerName www.example3.net
> ServerAlias *.example3.net
> 
> </VirtualHost>
> 
>  Sau khi restart lai thi` em thu test go te^n 3
> host name deu chay duoc
> nhu*ng chu'ng lai tro? to*'i cu`ng mot
> DocumentRoot cu?a DocumentRoot
> /www/example1 or DocumentRoot /www/example2 neu
> em go~ tuong minh te^n
> file nam trong thu muc na`y .... va` mac du` em
> go~ te^n mot ca'ch tuong
> minh cua file nam trong thu* muc /www/example3
> nhu*ng em va^~n khong
> truy cap duoc toi file do'.  Mong su*. chi giao
> cua ca'c ba'c.
> 
> Caheo
> 
Ho^m truoc to^i cu~ng bi. lo^~i y he^.t nhu+ ba'c
nhu+ng ho^m nay thu+? la.i thi` la.i tha^'y ra
ca'c DocumentRoot kha'c nhau ra^'t to^'t. Ba'c
thu+? xem la.i proxy cho ca'c hostname xem co'
bi. loopback ko\?

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
VietLUG-users mailing list
VietLUG-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vietlug-users

Trả lời cho