[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
RE: Name based virtual host forwarding from Tux to Apache
- From: "Angel Marin" <anmar gmx net>
- To: <tux-list redhat com>
- Subject: RE: Name based virtual host forwarding from Tux to Apache
- Date: Tue, 5 Mar 2002 16:47:03 +0100
It's an apache configuration problem, as apache is listening on
127.0.0.1:8080 (for example) it assumes that for virtual hosts
configuration. You have to force it ussing the real ip an port where tux is
listening. Change this parameters in your apache configuration:
NameVirtualHost x.x.x.x:80 (replace x.x.x.x with your real ip)
<VirtualHost hostname.tld:80>
...
</VirtualHost>
If you use * or you do not specify de ip, the hostname and the port it does
not work.
Angel.
> -----Mensaje original-----
> OK, I have virtual hosting set up with Tux. Works great. I also have it
> set up with Apache. Also works great. When I request a php script and
> tux tries to hand it off to apache, it appears to not forward it in a
> way which allows Apache to use the correct virtual domain. I know this
> because I have set the default DocumentRoot to an invalid path. Whenever
> I ask for the script though Tux, the Apache error_log shows that bad
> DocumentRoot. When I go through Apache directly, the script executes.
> Any possible problem anyone can think of?
>
> -Eric ;-)
>
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]