DocumentRoot "C:/Program Files/BitNami Redmine Stack/apps/phpmyadmin/htdocs"
ServerName 127.0.0.1
ServerAlias 127.0.0.1
</VirtualHost>
<Directory "installdir/apps/phpmyadmin/htdocs">
# AuthType Basic
# AuthName phpMyAdmin
# AuthUserFile "installdir/apache2/users"
# Require valid-user
<Ifversion <2.3 >
Order allow,deny
Allow from 127.0.0.1
#Allow from all
Satisfy all
</IfVersion>
<IfVersion >= 2.3>
Require local
</IfVersion>
ErrorDocument 403 "For security reasons, this URL is only accesible using localhost (127.0.0.1) as the hostname"
</Directory>
重启apache服务,从本地地址访问则会转向phpadmin,其他则会转向redmine
注:将文中installdir更换为实际安装位置
我的windows环境 1、进入cmd模式 2、进入到redmine安装目录 3、运行rake db:migrate_plugins RAILS_ENV=production 然后就可以了欢迎分享,转载请注明来源:内存溢出
评论列表(0条)