Apache関連 Part11at UNIX
Apache関連 Part11 - 暇つぶし2ch285:284の続き
09/10/11 15:25:12
# cgi用
Alias /my_cgi/ "/path/to/cgi/"
<VirtualHost *:443>
  ServerName example.com
  <Directory /path/to/cgi/>
    DirectoryIndex example.pl
    Options ExecCGI

    AuthType Digest
    AuthName "example"
    AuthDigestDomain /example/
    AuthUserFile /path/to/digest_file
    Require valid-user
  </Directory>
</VirtualHost>

これで URLリンク(svn.example.com) でsubversionサーバが、 URLリンク(example.com) でcgiが動くのですが、
cgiはhttpでもアクセス出来てしまい、URLリンク(svn.example.com) にアクセスすると、example.netの方のコンテンツが表示されてしまいます。
何処を直せばいいかアドバイスをお願いします。


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