httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] Redirecting doors for the APACHE
Date Fri, 24 Oct 2003 07:04:34 GMT
>-----Original Message-----
>From: Sergio A Lima Jr []
>Forever access websites hosteds in webserver, return DocumentRoot page
>of the webserver Apache.

Is this your problem:
- you have defined some virtual hosts (VH)
- when you try to access the VHs, you always get the default Apache

Taking a wild guess, some things to check:

- do you have "NameVirtualHost" defined? (best to use NameVirtualHost
- How do you specify your VHs? (best to use <VirtualHost *>, do not use
<VirtualHost> etc..)

The point is that your VH directives must be set with the real IP
address of the apache server (i.e. and not with the public
IP. Because of the NAT in the FW, apache doesn't know anything about the
public addresses.

Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

>It's server running Apache version 1.3.28 (and yes, already it is with
>the updates of security).
>The iptables rules to redirect are:
>iptables -A PREROUTING -t nat -p tcp -s 0/0 -d --dport 80 \
>        -j DNAT --to
>Please, I know that I am asking for very, but need a half 
>solution that urgent.
>Best regards.
>Sergio A Lima Jr
>Support Analist
>The official User-To-User support forum of the Apache HTTP 
>Server Project.
>See <URL:> for more info.
>To unsubscribe, e-mail:
>   "   from the digest:
>For additional commands, e-mail:
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat
keinen Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Swiss Exchange.
This e-mail is of a private and personal nature. It is not related to
the exchange or business activities of the SWX Swiss Exchange. Le
présent e-mail est un message privé et personnel, sans rapport avec
l'activité boursière de la SWX Swiss Exchange.

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message