![](/img/trans.png)
[英]Apache: One subdomain for normal vhost, others for second vhost
[英]Redmine - one project one vhost
我使用Redmine 1.2.2
假設我擁有指向同一物理服務器的project1.net和project2.net 。
我已經有指向我的Redmine安裝目錄的bugs.project1.net 。
這是我當前的bugs.project1.net配置
<VirtualHost *:80>
ServerName bugs.project1.net
DocumentRoot /var/www/redmine
ErrorLog ${APACHE_LOG_DIR}/redmine.log
<Directory /var/www/redmine>
RailsBaseURI /redmine
PassengerResolveSymlinksInDocumentRoot on
</Directory>
</VirtualHost>
現在,我想將bugs.project1.net和bugs.project2.net指向相應的Redmine項目
我如何為此目的更改apache配置?
我可以使用Redirect指令來指向每個項目,但是當您單擊某些問題時,它將不起作用。 您無法在單獨的apache虛擬主機AFAIK上的redmine內部隔離項目。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.