|
|
|
|
||||||
| comp.info.servers.unix Web servers for UNIX platforms. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 |
|
![]() |
| Outils de la discussion | |
|
|