操作
QA #812
未完了apahce+passengerでサブディレクトリでredmineが動かない
ステータス:
回答済
優先度:
通常
担当者:
-
カテゴリ:
-
対象バージョン:
-
開始日:
2018/05/30
期日:
進捗率:
0%
予定工数:
説明
http://blog.redmine.jp/articles/3_4/install/centos/
のサブディレクトリでRedmineを実行をしようとしています。
passengerは
LoadModule passenger_module /usr/local/lib/ruby/gems/2.4.0/gems/passenger-5.1.12/buildout/apache2/mod_passenger.so
が既にインストールされている環境で、単独(virtualhost)でのredmineは問題なく動作しています。
apacheのconfigには
<VirtualHost *:80> ServerName rd.xxxx.co.jp DocumentRoot "/var/www/rd" Alias /hoge /var/www/redmine/site/hoge/public <Location /hoge> PassengerBaseURI /hoge PassengerAppRoot /var/www/redmine/site/hoge </Location> <Directory "/var/www/redmine/site/hoge/public"> Require all granted </Directory> </VirtualHost>
としている状態ですので、問題ないとおもっていたのですが。。。
passenger-statusを見ても起動はしておらず
該当ページにアクセスしても、apacheのログには
AH01276: Cannot serve directory /var/www/rd/: No matching DirectoryIndex (index.html,index.php,index.php) found, and server-generated directory index forbidden by Options directive AH01276: Cannot serve directory /var/www/redmine/site/hoge/public/: No matching DirectoryIndex (index.html,index.php,index.php) found, and server-generated directory index forbidden by Options directive
となっている状態です。
ググっても、最新?のpassengerではできないが、5.1.12であれば動作すると書かれているのですが、
こちらも5.1.12を使っているので、なぜ動作しないものかと。。。
ちょっと行き詰ってしまったのでアドバイスいただきたく。。。
以上、よろしくお願いします
操作