我在 sub-uri redmine.example.org/redmine上有工作的 Rails 应用程序,我想在redmine.example.org上使用它
/var/www/work/redmine.src is approot
/var/www/work/redmine is symlink to /var/www/work/redmine.src/public
<VirtualHost *:80>
DocumentRoot /var/www/work
ServerName redmine.example.org
ErrorLog /var/log/apache2/redmine-error_log
CustomLog /var/log/apache2/redmine-access_log combined
<Directory /var/www/work/redmine>
AllowOverride all
Options -MultiViews
Order allow,deny
allow from all
</Directory>
RackBaseURI /redmine
<Directory /var/www/work/redmine.src>
Options -MultiViews
Order allow,deny
allow from all
</Directory>
</VirtualHost>
我尝试了很多组合并在谷歌上搜索了几个小时,但没有任何效果。
我应该如何更改此配置以在子域根目录上部署 redmine?
提前致谢。