Apache / Mongrel / Redmine安装问题(VirtualHost / ProxyPass)
我按照这个分步说明安装Redmine: http : //justnotes.co.cc/2010/02/11/how-to-install-redmine-on-ubuntu/ 我使用Ubuntu 10.04.1,Apache 2.2.14,Mongrel 1.1.5。 在VirtualHostconfiguration阶段,我使用这个: <VirtualHost *:80> ServerName myserver.lv ProxyPass /redmine/ http://localhost:8000/ ProxyPassReverse /redmine/ http://localhost:8000 ProxyPreserveHost on <Proxy *> Order allow,deny Allow from all </Proxy> </VirtualHost> 但是,当我将浏览器指向http://<my-server's-ip>/redmine/我看到的不是redmine web应用程序,而是“/ redmine的索引”,以及根目录中文件的索引Redmine的。 任何想法如何解决? PS试图删除VirtualHost的东西一起,而不是将以下简单的子句添加到apache2.conf: <Proxy *> Order allow,deny Allow from all </Proxy> ProxyPass /redmine/ http://localhost:8000/ ProxyPassReverse /redmine/ http://localhost:8000/ ProxyPreserveHost on 结果,行为改变了! 现在http://<my-server's-ip>/redmine/产生Redmine的起始页的源代码,所以它被提供服务,但显然没有渲染。 同时, http://<my-server's-ip>:8000/完全正常,所以Mongrel正在为Redmine应用程序提供服务,这只是在我的VirtualHost […]