PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.info.servers.unix > Problem VirtualHost
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.info.servers.unix Web servers for UNIX platforms.

Problem VirtualHost

Réponse
 
LinkBack Outils de la discussion
Vieux 24/02/2005, 08h33   #1
Dirk Emmermacher
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Problem VirtualHost

Hello list.

I've got a configuration problem on an apache 1.3.27 server.
The server has two nics. One to the web and the other one to my Lan.

Here is the virtual host section of http.conf:


NameVirtualHost Address1
NameVirtualHost Address2

<VirtualHost Address1 Address2>
ServerAdmin webmaster@domain1.de
DocumentRoot /srv/www/dir
ServerName www.domain1.de
ServerAlias www.domain.intranet
ErrorLog /var/log/httpd/error_log
CustomLog /var/log/httpd/access_log common
</VirtualHost>

<VirtualHost Address1 Address2>
ServerAdmin webmaster@domain2.de
DocumentRoot /srv/www/dir2
ServerName www.domain2.de
ServerAlias www2.domain.intranet
ErrorLog /var/log/httpd/error2.log
CustomLog /var/log/httpd/access2.log common
</VirtualHost>

CheckSpelling On

So www.domain1.de, www.domain2.de and www.domain.intranet
works as expected.
On access www2.domain.intranet I got the site of www.domain.intranet.
Where can be the problem?
My internal DNS got an A-record for www.domain.intranet
and a CNAME record for www2.domain.intranet
Ping and nslookup are Ok.

Thanks in advance for your advices.

Best regards.

Dirk Emmermacher


  Réponse avec citation
Vieux 11/03/2005, 09h31   #2
Randell D.
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Problem VirtualHost

Dirk Emmermacher wrote:

> Hello list.
>
> I've got a configuration problem on an apache 1.3.27 server.
> The server has two nics. One to the web and the other one to my Lan.
>
> Here is the virtual host section of http.conf:
>
>
> NameVirtualHost Address1
> NameVirtualHost Address2
>
> <VirtualHost Address1 Address2>
> ServerAdmin webmaster@domain1.de
> DocumentRoot /srv/www/dir
> ServerName www.domain1.de
> ServerAlias www.domain.intranet
> ErrorLog /var/log/httpd/error_log
> CustomLog /var/log/httpd/access_log common
> </VirtualHost>
>
> <VirtualHost Address1 Address2>
> ServerAdmin webmaster@domain2.de
> DocumentRoot /srv/www/dir2
> ServerName www.domain2.de
> ServerAlias www2.domain.intranet
> ErrorLog /var/log/httpd/error2.log
> CustomLog /var/log/httpd/access2.log common
> </VirtualHost>
>
> CheckSpelling On
>
> So www.domain1.de, www.domain2.de and www.domain.intranet
> works as expected.
> On access www2.domain.intranet I got the site of www.domain.intranet.
> Where can be the problem?
> My internal DNS got an A-record for www.domain.intranet
> and a CNAME record for www2.domain.intranet
> Ping and nslookup are Ok.
>
> Thanks in advance for your advices.
>
> Best regards.
>
> Dirk Emmermacher
>
>


Your query is beyond me - but when I had a roughly similar problem
before and I found it caused by a hosts file entry...

Did you perform your checks on both client and server?

And... I note that oyu have CheckSpelling turned On - Might I suggest
you either disable it for a second, restart Apache, then re-check?

I'm just pulling at straws - sorry if I waste your time but its an area
I would look at if I had the problem you're facing.

If the above doesn't work I hope someone else can assist...

randelld
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 12h14.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,09842 seconds with 10 queries