くだらねえ質問はここ ..
[
2ch
|
▼Menu
]
■コピペモード
□
スレを通常表示
□
オプションモード
□このスレッドのURL
■項目テキスト
584:login:Penguin 09/09/08 20:49:24 BeFqhFpX >>583 ! じゃね。 http://httpd.apache.org/docs/2.2/ja/mod/mod_proxy.html#proxypass 585:login:Penguin 09/09/08 21:53:52 Q2pmVtPY >>584 ありがとうございます。 !で除外設定が出来るということであればServerName 192.168.24.1は書かなくても それぞれのディレクティブに除外設定を追加すればいいという事になるのかな。 http://192.168.24.1/test/はリバースさせない場合 <VirtualHost *:80> ServerName www.example.com CustomLog "logs/www.example.com-access.log" combined ProxyPass / /test/ ! ProxyPass / http://192.168.24.2/example/ ProxyPassReverse / http://192.168.24.2/example/ 以下略 </VirtualHost> <VirtualHost *:80> ServerName www.example2.com CustomLog "logs/www.example2.com-access.log" combined ProxyPass / /test/ ! ProxyPass / http://192.168.24.3/example2/ ProxyPassReverse / http://192.168.24.3/example2/ 以下略 </VirtualHost> ちょっと明日にならないと試せる環境が出来ないので上記で試してみます。 また何か勘違いしていそうな気もしますが…
次ページ
最新レス表示
スレッドの検索
類似スレ一覧
話題のニュース
おまかせリスト
▼オプションを表示
レスジャンプ
mixiチェック!
Twitterに投稿
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch
5411日前に更新/267 KB
担当:undef