Apache 初心者質問スレッド Part15at MYSV
Apache 初心者質問スレッド Part15 - 暇つぶし2ch309:DNS未登録さん
07/03/04 15:30:23 zbMFYvPZ
Redhat+Apache 2.0.58にて下記設定をしております。
ServerAliasを利用し、example.netにアクセスした際に
/home/hoge2/public_htmlの内容を表示したいのですが、
/home/hoge1/public_htmlの内容が表示されてしまいます。
→ServerAliasが有効でない?

どのような問題が考えられるでしょうか・・・。
識者の方アドバイス下さい!

http.conf
-----
NameVirtualHost xxx.xxx.xxx.xxx:80
<VirtualHost xxx.xxx.xxx.xxx:80>
DocumentRoot /home/hoge1/public_html
ScriptAlias /cgi-bin/ /home/hoge1/cgi-bin/
ServerName www.example.jp
</VirtualHost>

Include conf/http2.conf

<IfModule mod_ssl.c>
Include conf/ssl.conf
</IfModule>
-----

http2.conf
-----
<VirtualHost xxx.xxx.xxx.xxx:80>
DocumentRoot /home/hoge2/public_html
ServerName www.example.net:80
ServerAlias example.net:80
ScriptAlias /cgi-bin/ /home/hoge2/cgi-bin/
</VirtualHost>
-----


次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch