我在Win Server 2008 R2 64位上使用Bitnami Stack安装了Redmine。我已经在那里运行了IIS,并希望配置subdomain.domain.com以访问可以在http://127.0.0.1:3000/redmine
上访问的redmine。
我正在遵循本指南(http://wiki.bitnami.org/Applications/BitNami_Redmine_Stack)来做同样的事情。但是无法让它发挥作用。
配置后我无法完全访问Redmine,但仍然可以访问http://127.0.0.1:3000/
上的Bitnami页面
我想确认下面应该配置哪个端口进行监听,如果我将其保留为端口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>
答案 0 :(得分:2)
如果您已经在端口80中运行IIS并为其他应用程序提供服务,那么您可以尝试将IIS配置为apache的反向代理。