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:8000/
ProxyPassReverse / http://www.domain.com:8000/
# 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.prometheus-bildarchiv.de/