나는 레일에서 루비를 실행하고 xampp에서 redmine을 시도합니다. 내 운영 체제는 윈도우 7 내가이 튜토리얼을 따라입니다 : http://nlb-creations.com/2013/06/26/installing-ruby-on-rails-and-redmine-with-xampp-on-windows-7/아파치 액세스 금지, 가상 호스트
내가 로컬 호스트에 액세스하려고 : 3000 난이 얻을 :
접근 금지!
요청한 디렉토리에 액세스 할 수있는 권한이 없습니다. 인덱스 문서가 없거나 디렉토리가 읽기 보호되어 있습니다.
이 내 설정은 httpd.conf 파일에 있습니다
Listen 3000
LoadModule rewrite_module modules/mod_rewrite.so
#################################
# RUBY SETUP
#################################
<VirtualHost *:3000>
ServerName rails
DocumentRoot "c:/xampp/htdocs/dev-ruby/redmine/public/"
<Directory "c:/xampp/htdocs/dev-ruby/redmine/">
Options ExecCGI FollowSymLinks
AllowOverride all
Allow from all
Order allow,deny
Require all granted
AddHandler cgi-script .cgi
AddHandler fastcgi-script .fcgi
</Directory>
</VirtualHost>
#################################
# RUBY SETUP
#################################
나는 많은 솔루션을 시도했지만 그들 중 누구도 일했다. .htaccess 파일도 삭제했지만 아무것도 변경되지 않았습니다. 어떤 아이디어 바랍니다 ??
[DirectoryIndex] (http://httpd.apache.org/docs/current/mod/mod_dir.html#directoryindex)를 지정하십시오. – arco444