我想通过这个 URL redmine.mydomain.com 而不是 redmine.mydomain.com/redmine 来访问 redmine。请问我该怎么做?
这是我的 redmine 的 .conf apache
<VirtualHost *:80>
ServerName redmine.mydomain.com
DocumentRoot /var/www/html
<Directory /var/www/html>
Allow from all
</Directory>
<Directory /var/www/html/redmine>
Options -MultiViews
</Directory>
RailsBaseURI /redmine
</VirtualHost>
谢谢
答案1
<VirtualHost *:80>
ServerName redmine.mydomain.com
DocumentRoot /var/www/html/redmine/public
<Directory /var/www/html/redmine/public>
Allow from all
Options -MultiViews
</Directory>
RailsBaseURI /
RailsEnv production
</VirtualHost>
哦,请确保在 Redmine 的管理页面中指向正确的 URL,否则它将无法正确生成链接...