Displaying 2 results from an estimated 2 matches for "redirectpermanent".
2008 Aug 20
4
mod_proxy, mongrel, redirect issue
Hello,
I am configuring apache 2.2 to serve my rails app through mongrel at
the root of my server. First, I redirect all http traffic to https
with the following:
ServerName emiliano
NameVirtualHost *:80
<VirtualHost *:80>
RedirectPermanent / https://emiliano #this server is only accessed internally
</VirtualHost>
Inside the <VirtualHost *:443> section, I have the following
configuration, which seems extremely standard:
<Proxy balancer://mongrel>
BalancerMember http://localhost:8000
BalancerMember http://lo...
2008 May 05
2
httpd reverse proxy
...lHost www.tobyhouse.com:*>
ProxyPass / http://cms.tobyhouse.com
ProxyPassReverse / http://cms.tobyhouse.com
</VirtualHost>
then I am good but it seemed to not pull the assets like css and
javascripts from cms.tobyhouse.com
When I did this...
<VirtualHost www.tobyhouse.com:*>
RedirectPermanent / http://cms.tobyhouse.com
</VirtualHost>
It sent ALL traffic over to the other server which is clearly not what I
want.
How can handle this? Must I give a unique ip address to
www.tobyhouse.com?
Craig