重要なお知らせ

「教えて! goo」は2025年9月17日(水)をもちまして、サービスを終了いたします。詳細はこちら>

電子書籍の厳選無料作品が豊富!

linux+apache2+sslの環境です。
httpd.confには
DocumentRoot "/home/comfile/wwwdata"
...
ScriptAlias /diary/ "/home/comfile/wwwssl/diary/public_html/diary/" (<-その中にindex.cgiはある)
...
DirectoryIndex index.htm index.html index.html.var index.cgi


ssl.confには
DocumentRoot "/home/comfile/wwwssl"

そして、LAN内のパソコンからIEで
https://myserver(サーバマシーン名)/diary/index.cgi
でアクセスしたら、ホームページがちゃんど表示してくれます。
https://myserver(サーバマシーン名)/diary/でアクセスしたら:
Forbidden
You don't have permission to access /diary/ on this server.

のようなエラー画面が出て、アクセスができません。
index.cgiを含むディレクトリdiaryのパーミションは755です。
 何かほかの設定が必要でしょうか。

A 回答 (1件)

はじめまして。



ssl の設定で、 virtual host 扱いだったなら、ssl.conf の該当箇所に DirectoryIndex を追加(修正)する必要があるのかもしれません。
    • good
    • 0

お探しのQ&Aが見つからない時は、教えて!gooで質問しましょう!