hi sergio!
Sergio Ruiz [17.08.2006 16:02]:
> i am trying to set up an app like so:
>
> www.domain.com -> points to main php application..
>
> subdomain.domain.com -> proxies to
www.domain.com:8000 <- this is
> running on mongrel..
>
> i just cannot figure out how to phrase this in my
httpd.conf...
what about this? (works perfectly good for me in a similar
setup)
----snip----
<VirtualHost *>
ServerName subdomain.domain.com
ProxyRequests Off # is the default anyway...
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
ProxyPass / http://www.domain.com:800
0/
ProxyPassReverse / http://www.domain.com:800
0/
# other virtual host stuff...
</VirtualHost>
----snip----
hth
jens
--
Jens Wille, Dipl.-Bibl. (FH)
prometheus - Das verteilte digitale Bildarchiv für
Forschung & Lehre
An St. Laurentius 4, 50931 Köln
Tel.: +49 (0)221 470-6668, E-Mail: jens.wille uni-koeln.de
http://www.prome
theus-bildarchiv.de/
_______________________________________________
Rails mailing list
Rails lists.rubyonrails.org
h
ttp://lists.rubyonrails.org/mailman/listinfo/rails
|