RE: virtual hosts with apache ?

"Angel Marin" <[email protected]>
Newsgroups gmane.network.tux
Message-ID <[email protected]>
Hi,

try this in your apache conf:

NameVirtualHost 10.0.114.133:80
<VirtualHost domain.com:80>

Virtual hosting withTux and Apache works well, but you have to trick apache
as tux is accepting the connection and then "giving" the socket to apache.
Then apache thinks it has received the connection.

Listen can be only 127.0.0.1:8080

(http://www.redhat.com/mailing-lists/tux-list/msg01905.html)

Angel.

> -----Mensaje original-----
> Hi !
>
> It looks like TUX/redirect in tux.mime.types does not work with Apache.
>
> I am using name-based virtual hosting: virtual_server = 1.
> Requests are answered correctly, if it's HTML. If I call a
> php-page (index.php), the php files from the document-root is
> always taken. It looks like if requests are forwarded to apache,
> name-based hosting is not used. If I access domain:8080, anything
> works fine. Is that true, that virtual hosting with Tux AND
> Apache does not work ?
>
>
> -----------------
> config:
>
> This is how my apache-conf looks like (just the improtant bits):
> Listen 10.0.114.133:8080
> Listen 127.0.0.1:8080
> NameVirtualHost *
> <VirtualHost *>
>         DocumentRoot /www/htdocs/domain.com
>         ServerName domain.com
>         ServerAlias www.domain.com
> </VirtualHost>
>
> Redhat 7.3
> TUX 2.2.7
> /proc/.../clientport = 8080
> ..virtual_server = 1
> ..documentroot = /www/htdocs
>
>
> Thanks a lot !!
>
> jhh
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.