我有一個關於爲我安裝的Redmine配置apache的問題。用於在URL子目錄中安裝Redmine的Apache配置
我已經成功安裝了Redmine(v 1.2.1)目錄,併成功運行了/usr/local/lib/
目錄。我想配置apache,以便通過http://myhost/redmine訪問Redmine,而我已經安裝了一個基於wordpress的網站/var/www
綁定到http://myhost/。我該怎麼辦?
這裏我目前的Apache配置(/etc/apache2/sites-enabled/001-redmine
):
<VirtualHost *:80>
ServerName myhost
DocumentRoot /usr/local/lib/redmine-1.2.1/public
ServerSignature off
<Directory />
Order Deny,Allow
Deny from all
</Directory>
<Directory /usr/local/lib/redmine-1.2.1/public>
AllowOverride None
Order allow,deny
Allow from all
Options Indexes ExecCGI FollowSymLinks
Options -MultiViews
</Directory>
ErrorLog /var/log/apache2/redmine-error.log
CustomLog /var/log/apache2/redmine-access.log combined
</VirtualHost>
感謝。