apache重启:
/usr/local/apache/apache/bin/apachectl restart
apache监听redmine端口:
cat /usr/local/apache/apache/conf/httpd.conf (apache配置文件)
Listen 80
<VirtualHost *:80>
#ServerName localhost:8080
ServerName pm.royole.com
DocumentRoot /opt/data/redmine/public/
ErrorLog "/opt/data/redmine/log/error_redmine.log"
CustomLog "/opt/data/redmine/log/access_redmine.log" common
<Directory "/opt/data/redmine/public/">
Options Indexes ExecCGI FollowSymLinks
Order allow,deny
Allow from all
AllowOverride all
</Directory>
重点:
redmine没有启动端口,就像是前端项目,解析一下index.html就能访问了
(这个是针对公司134的redmine安装方法的说明)
网友评论