Re: Tux virtual_server cannot pass trough to Apache VirtualHost...

Chris Davies <[email protected]>
Newsgroups gmane.network.tux
Message-ID <[email protected]>
On Fri, 2003-05-16 at 14:13, Scott Switzer wrote:
> Chris,
> 
> Thanks for the message - I tried, and it still does not work.  Here are
> the relevant pieces of my setup:
> 
> TUX:
> Listening on 0.0.0.0:80 (this is the default)
> client_ip = 8080 (this is the default)
clientport ???

> virtual_server set to 1 (this makes a request to
> http://www.site.com/page.php map to /var/www/html/site.com/page.php)
> In /etc/tux.mime.types, the parameter TUX/redirect is mapped to php.
> 
> APACHE:
> NameVirtualHost 127.0.0.1:8080
> A sample vhost is:
> 
> <VirtualHost 127.0.0.1:8080>
> 	ServerName www.site.com
> 	ServerAdmin [email protected]
> 	DocumentRoot /var/www/html/site.com
> 	ErrorLog logs/site.com-error_log
> 	TransferLog /dev/null
> </VirtualHost>

just for kicks, put:

ServerAlias site.com   in your virtual config

I don't recall if tux strips off the www. when it sends the request or
not.


-- 
Chris Davies
E-Commerce/Colocation    http://daviesinc.com/
+1.561.333.6946
Florida, USA
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.