Redmine:Virtualhost错误

时间:2017-03-26 13:30:01

标签: apache2 virtualhost redmine

我尝试在我的Raspberry上安装Redmine。我在Redmine文档中找到了一个示例Virtualhost

<VirtualHost *:80>
    ServerName redmine.<YOUR-DOMAIN>.com
    ServerAdmin webmaster@<YOUR-DOMAIN>.com
    DocumentRoot /live/redmine/public/
    ErrorLog logs/redmine_error_log

    #If you are using mod_fcgid and are going to upload files larger than
    #131072 bytes you should consider adding the following line
    #that allows to upload files up to 20 mb
    MaxRequestLen 20971520

    <Directory "/live/redmine/public/">
            Options Indexes ExecCGI FollowSymLinks
            Order allow,deny
            Allow from all
            AllowOverride all
    </Directory>
</VirtualHost>

矿:

<VirtualHost *:8080>
    DocumentRoot /var/www/redmine

    <Directory "/var/www/redmine/">
            Options Indexes ExecCGI FollowSymLinks
            Order allow,deny
            Allow from all
            AllowOverride all
    </Directory>
</VirtualHost>

我想从端口8080访问它。当我去RaspberryIP:8080时,我看到了公共目录的内容,但没有看到页面的内容。

/var/www/redmine/var/www/html/redmine/public

的符号链接

我错了什么?

0 个答案:

没有答案