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

Chris Davies <[email protected]>
Newsgroups gmane.network.tux
Message-ID <[email protected]>
make sure your virtual hosts are configured similar to:

<VirtualHost *>
  ServerName g.domain.com
  ServerAdmin [email protected]
  DocumentRoot /var/www/66.1.1.1/g.domain.com
  CustomLog /var/log/apache2/g.domain.com-access.log combined
  ServerSignature On
</VirtualHost>

all requests are passed through on the IP 127.0.0.1 and they use HTTP
1.1, which means that it is all based on the ServerName and ServerAlias
configuration of each site.

You will also need to do NameVirtualHost 127.0.0.1 on your apache server
so that it knows to do virtual hosting.


On Fri, 2003-05-16 at 13:00, Scott Switzer wrote:
> Hello,
> 
> I am considering implementing tux for a high-traffic site, which is
> currently running a few VirtualHosts using Apache.  I was able to set up
> tux using Virtual Hosts by setting the virtual_server parameter to 1.
> 
> This works fine, until it tries to pass through a php page to Apache
> running on port 8080.  Apache returns with an error: 
> /var/www/html/webpage.php is not available.
> 
> This is because my virtual server is located at:
> 
> /var/www/html/website.com/webpage.php.
> 
> It seems like tux strips off the website name before it is passed to
> apache. 
> 
> Has anyone experienced this, and if so, is there a remedy?
> 
> Thanks,
> Scott Switzer
> 
> 
> 
> 
> _______________________________________________
> tux-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/tux-list
-- 
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.