hi, everyone…
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…
does anyone have any ideas?
thanks!
hi sergio!
Sergio R. [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...
----snip----
hth
jens
–
Jens W., 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: [email protected]
http://www.prometheus-bildarchiv.de/
<VirtualHost *>
ServerName subdomain.domain.com
ah!
very good… i did not think to write a separate entry for the
subdomain…
i will try that…
thanks!