apache,redmine

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安装方法的说明)

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容