> 加藤@広島と申します。
> いつもお世話になっています。
はじめまして、青柳@ex-borderです。
> さて、RedHatLinux6.1J+Apache1.3.9で以下の
> ようにドメイン名が同じバーチャルホストの設定
> をしているのですが、www.bien.co.jpのドキュメント
> ルートしか読みに行きません。
> NameVirtualHost 192.168.10.70
>
> <VirtualHost aaa.bien.co.jp>
> DocumentRoot /home/httpd/html/aaa
> ServerName aaa.bien.co.jp
> </VirtualHost>
>
> <VirtualHost bbb.bien.co.jp>
> DocumentRoot /home/httpd/html/bbb
> ServerName bbb.bien.co.jp
> </VirtualHost>
>
> <VirtualHost www.bien.co.jp>
> DocumentRoot /home/httpd/html
> ServerName www.bien.co.jp>
> </VirtualHost>
>
> ドメイン名が、同じだったらもしかして、
> バーチャルホストの設定はできないのでしょうか?
> どなたかご教授いただければ幸いです。
NameVirtualHost 192.168.0.2
<VirtualHost 192.168.0.2>
ServerName AAA.hoge.com
ServerAdmin webmaster _at_ hoge.com
DocumentRoot /home/AAA/public_html
</VirtualHost>
<VirtualHost 192.168.0.2>
ServerName BBB.hoge.com
ServerAdmin webmaster _at_ hoge.com
DocumentRoot /home/BBB/public_html
</VirtualHost>
こんな感じで、出来るように思うのですが・・・。
外していたら、ごめんなさい。
==============================================
エックスボーダー( http://www.ex-border.com/)
Tel 03-5914-2235 / Fax 03-5970-7799
青柳 武志(t.aoyagi _at_ ex-border.com)
==============================================
References:
- [linux-users:72038] ドメイン名が同じバーチャルホストの設定Akiyoshi Kato
- Prev by Subject: [linux-users:72041] Re: シリアルポート幹道襯廛蹈哀薀爐鮹気靴討い泙
- Next by Subject: [linux-users:72043] wnn6の変換性能
- Previous by thread: [linux-users:72038] ドメイン名が同じバーチャルホストの設定
- Next by thread: [linux-users:72039] RE: シリアルポート監視プログラムを探しています
- Indexes:[Main][Thread]