我已经在 Win Server 2008 R2 64 位上使用 Bitnami Stack 安装了 Redmine。我已经在那里运行了 IIS,并且想要配置 subdomain.domain.com 以访问可以在http://127.0.0.1:3000/redmine
.
我正在按照本指南(http://wiki.bitnami.org/Applications/BitNami_Redmine_Stack)做同样的事情。但无法让它工作。
配置后我无法完全访问 Redmine,但仍然可以访问 Bitnami 页面http://127.0.0.1:3000/
我想确认我应该在下面配置哪个端口来监听,我应该将其保留为端口 80 还是将其配置为监听端口 3000?请指示。
<VirtualHost *:80>
ServerAdmin example.com
ServerName example.com
ServerAlias server
ErrorLog "logs/error.log"
CustomLog "logs/access.log" combined
# this not only blocks access to .svn directories, but makes it
# appear as though they aren't even there, not just that they are
# forbidden
<DirectoryMatch "^/.*/\.svn/">
ErrorDocument 403 /404.html
Order allow,deny
Deny from all
Satisfy All
</DirectoryMatch>
# This passes through remote_user to mongrel
RewriteEngine On
# Redirect non-static requests to cluster
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
RewriteRule ^/(.*)$ balancer://redminecluster%{REQUEST_URI} [P,QSA,L]
</VirtualHost>
#ProxyPass / balancer://redminecluster
#ProxyPassReverse / balancer://redminecluster
<Proxy balancer://redminecluster>
BalancerMember http://127.0.0.1:3001
BalancerMember http://127.0.0.1:3002
</Proxy>