[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

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



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 webmaster@site.com
> 	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




[Older Fedora Users Mail]     [Home]     [Fedora Legacy]     [Fedora Desktop]     [iPod Nano]     [ATA RAID]     [Fedora Bible]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Packaging]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

Powered by Linux

Google
  Web www.spinics.net