You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "asiani@wanadoo.fr" <as...@wanadoo.fr> on 2004/09/01 10:38:15 UTC
Re: [users@httpd] Virtualhost
Hello !
Don't forget me !
I don't understand why it does not run :))
Alain
>
> Hello
>
> I created 3 domain at ulimit.com
>
> A.euro.st
> B.euro.st
> C.fr.st
>
> ===================================
> I created 3 users on my Fedora linux box
>
> A
> B
> C
>
> ===================================
> I set right with :
>
> chmod -R 750 ...
> chown -R A.apache...etc...
>
> ===================================
> I added to the end of httpd.conf
>
> <Directory /home/*/www>
> Options Indexes FollowSymLinks
> <IfModule mod_access.c>
> Order allow,deny
> Allow from all
> </IfModule>
> </Directory>
> Include conf/vhost.conf
> ===================================
>
> I created vhost.conf
>
>
> NameVirtualHost 80.10.20.30:80
>
> <VirtualHost 80.10.20.30:80>
> ServerAdmin asiani@free.fr <ma...@free.fr>
> DocumentRoot /home/A/www
> ServerName www.A.euro.st <http://www.A.euro.st>
> ServerPath /A
> ErrorLog logs/A-error_log
> ServerAlias A.euro.st
> </VirtualHost>
>
> <VirtualHost 80.10.20.30:80>
> ServerAdmin asiani@free.fr <ma...@free.fr>
> DocumentRoot /home/B/www
> ServerName www.B.euro.st <http://www.B.euro.st>
> ServerPath /B
> ErrorLog logs/B-error_log
> ServerAlias B.euro.st
> </VirtualHost>
>
> <VirtualHost 80.10.20.30:80>
> ServerAdmin asiani@free.fr <ma...@free.fr>
> DocumentRoot /home/C/www
> ServerName www.C.fr.st <http://www.C.fr.st>
> ServerPath /C
> ErrorLog logs/C-error_log
> ServerAlias C.fr.st
> </VirtualHost>
>
>
> ===================================
>
> I restart httpd
>
> service httpd restart
>
> All is ok !
>
> ===================================
>
> I tried to go to my IP with internet explorer :
>
> http://80.10.20.30
>
> The domain A is opened
> access.log :
> 192.168.0.2 - - [31/Aug/2004:20:34:46 +0200] "GET / HTTP/1.1" 200 11
> "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; FREE; .NET CLR
> 1.1.4322)"
>
> I tried to go to : http://www.A.euro.st
> The domain A is opened
> access.log
> 192.168.0.2 - - [31/Aug/2004:20:35:49 +0200] "GET / HTTP/1.1" 200 11
> "http://www.A.euro.st" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
> 5.1; FREE; .NET CLR 1.1.4322)"
>
> I tried to go to : http://www.B.euro.st
> The domain A is opened
> access.log
> 192.168.0.2 - - [31/Aug/2004:20:36:47 +0200] "GET / HTTP/1.1" 200 11
> "http://www.B.euro.st" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
> 5.1; FREE; .NET CLR 1.1.4322)"
>
> I tried to go to : http://www.C.euro.st
> The domain A is opened
> access.log
> 192.168.0.2 - - [31/Aug/2004:20:37:38 +0200] "GET / HTTP/1.1" 200 11
> "http://www.C.fr.st" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
> 5.1; FREE; .NET CLR 1.1.4322)"
>
>
>
>
> configuration :
> Linux localhost.localdomain 2.4.22-1.2115.nptl #1 Wed Oct 29 15:31:21
> EST 2003 i686 athlon i386 GNU/Linux
>
> [root@localhost www]# httpd -v
> Server version: Apache/2.0.47
> Server built: Oct 23 2003 06:48:44
>
>
>
> I would like to go on the right domain !!!
> Please help me !
> Thanks,
> Alain S.
>
>
>
> ----------------------------------------------------------------------------------------------------------------------------------------------
>
> > Message du 31/08/04 16:36
> > De : "Robert Andersson"
> > A : users@httpd.apache.org
> > Copie à :
> > Objet : Re: [users@httpd] Virtualhost
> > [When starting a new topic, don't reply to another mail]
> >
> > asiani@wanadoo.fr wrote:
> > > i tried with apache documentation, with lea-linux.org
> documentation
> > > it seems to be very simple but it doesn't run !
> >
> > Ok, interesting to know...
> >
> > ...
> >
> > If you want help, you must provide information. What do you want
> to do? What
> > did you try, and in what way did that not match your expectaions?
> >
> > Regards,
> > Robert Andersson
> >
> >
> >
> ---------------------------------------------------------------------
> > The official User-To-User support forum of the Apache HTTP
> Server Project.
> > See for more info.
> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> > " from the digest: users-digest-unsubscribe@httpd.apache.org
> > For additional commands, e-mail: users-help@httpd.apache.org
> >
> >
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: AW: [users@httpd] Virtualhost
Posted by Luis Moreira <lu...@esinnovation.pt>.
As is, the first match will always be the one used, as discussed earlier.
You should have
NameVirtualHost www.domainA.euro.st:80
NameVirtualHost www.domainB.euro.st:80
NameVirtualHost www.domainC.euro.st:80
...
<VirtualHost www.domainA.euro.st:80>
<VirtualHost www.domainB.euro.st:80>
<VirtualHost www.domainC.euro.st:80>
Then the client would point the different names to the same IP, and call
the URL by name.
The usage of DNS has the "downside" that Boyle pointed to...
This, or use one port for each domain (let's say 80, 8080 and 8100).
You would then call
192.168.1.1:80 --> domainA
192.168.1.1:8080 --> domainB
192.168.1.1:8100 --> domainC
asiani@wanadoo.fr wrote:
> The system always go to systher1.....grrrr
> help !
>
> thks,
> alain
> here my real vhost.conf file
>
>
> NameVirtualHost *:80
>
> <VirtualHost *:80>
> ServerAdmin asiani@free.fr
> DocumentRoot /home/systher1/www
> ServerName www.systher1.euro.st
> ServerPath /systher1
> ErrorLog logs/systher1-error_log
> ServerAlias systher1.euro.st
> </VirtualHost>
>
> <VirtualHost *:80>
> ServerAdmin asiani@free.fr
> DocumentRoot /home/systher2/www
> ServerName www.systher2.euro.st
> ServerPath /systher2
> ErrorLog logs/systher2-error_log
> ServerAlias systher2.euro.st
> </VirtualHost>
>
> <VirtualHost *:80>
> ServerAdmin asiani@free.fr
> DocumentRoot /home/azur-palettes/www
> ServerName www.azur-palettes.fr.st
> ServerPath /azur-palettes
> ErrorLog logs/azur-palettes-error_log
> ServerAlias azur-palettes.fr.st
> </VirtualHost>
>
>
>
>
>
>
> Steffen Heil wrote:
>
>
>
>> Hi
>>
>>
>>
>>>> perhaps you need a NameVirtualHost directive
>>>>
>>>
>>> NameVirtualHost *:80
>>>
>>
>>
>>
>>
>>> <VirtualHost www.domainA.euro.st:80>
>>> <VirtualHost www.domainB.euro.st:80>
>>> <VirtualHost domainC.fr.st:80>
>>>
>>
>>
>> Nearly.
>>
>> The NameVirtualHost directive's parameter must match the VirtualHost
>> parameter.
>> Remove domain names from VirtualHost and replace them with *:
>>
>> NameVirtualHost *:80
>> ...
>> <VirtualHost *:80>
>> ...
>> <VirtualHost *:80>
>> ...
>> <VirtualHost *:80>
>> ...
>>
>> OR
>>
>> Use your IP (NOT domain name) instead of the *s.
>> But be sure to use the same all the time.
>>
>> Regards,
>> Steffen
>>
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server
>> Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> " from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
Re: AW: [users@httpd] Virtualhost
Posted by "asiani@wanadoo.fr" <as...@wanadoo.fr>.
The system always go to systher1.....grrrr
help !
thks,
alain
here my real vhost.conf file
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin asiani@free.fr
DocumentRoot /home/systher1/www
ServerName www.systher1.euro.st
ServerPath /systher1
ErrorLog logs/systher1-error_log
ServerAlias systher1.euro.st
</VirtualHost>
<VirtualHost *:80>
ServerAdmin asiani@free.fr
DocumentRoot /home/systher2/www
ServerName www.systher2.euro.st
ServerPath /systher2
ErrorLog logs/systher2-error_log
ServerAlias systher2.euro.st
</VirtualHost>
<VirtualHost *:80>
ServerAdmin asiani@free.fr
DocumentRoot /home/azur-palettes/www
ServerName www.azur-palettes.fr.st
ServerPath /azur-palettes
ErrorLog logs/azur-palettes-error_log
ServerAlias azur-palettes.fr.st
</VirtualHost>
Steffen Heil wrote:
>Hi
>
>
>
>>>perhaps you need a NameVirtualHost directive
>>>
>>>
>>NameVirtualHost *:80
>>
>>
>
>
>
>><VirtualHost www.domainA.euro.st:80>
>><VirtualHost www.domainB.euro.st:80>
>><VirtualHost domainC.fr.st:80>
>>
>>
>
>Nearly.
>
>The NameVirtualHost directive's parameter must match the VirtualHost
>parameter.
>Remove domain names from VirtualHost and replace them with *:
>
>NameVirtualHost *:80
>...
><VirtualHost *:80>
>...
><VirtualHost *:80>
>...
><VirtualHost *:80>
>...
>
>OR
>
>Use your IP (NOT domain name) instead of the *s.
>But be sure to use the same all the time.
>
>Regards,
> Steffen
>
>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
AW: [users@httpd] Virtualhost
Posted by Steffen Heil <li...@steffen-heil.de>.
Hi
> > perhaps you need a NameVirtualHost directive
> NameVirtualHost *:80
> <VirtualHost www.domainA.euro.st:80>
> <VirtualHost www.domainB.euro.st:80>
> <VirtualHost domainC.fr.st:80>
Nearly.
The NameVirtualHost directive's parameter must match the VirtualHost
parameter.
Remove domain names from VirtualHost and replace them with *:
NameVirtualHost *:80
...
<VirtualHost *:80>
...
<VirtualHost *:80>
...
<VirtualHost *:80>
...
OR
Use your IP (NOT domain name) instead of the *s.
But be sure to use the same all the time.
Regards,
Steffen
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Virtualhost
Posted by "asiani@wanadoo.fr" <as...@wanadoo.fr>.
hummm...
I restarted the service ...
[root@localhost root]# service httpd restart
Arrêt de httpd : [ OK ]
Démarrage de httpd :[Wed Sep 01 11:16:55 2004] [warn] VirtualHost
www.domainB.euro.st:80 overlaps with VirtualHost domainC:80, the first
has precedence, perhaps you need a NameVirtualHost directive
[Wed Sep 01 11:16:55 2004] [warn] VirtualHost www.domainA.euro.st:80
overlaps with VirtualHost www.domainB.euro.st:80, the first has
precedence, perhaps you need a NameVirtualHost directive
[ OK ]
my config for now :
============================
NameVirtualHost *:80
<VirtualHost www.domainA.euro.st:80>
ServerAdmin asiani@free.fr
DocumentRoot /home/domainA/www
ServerName www.domainA.euro.st
ServerPath /domainA
ErrorLog logs/domainA-error_log
ServerAlias domainA.euro.st
</VirtualHost>
<VirtualHost www.domainB.euro.st:80>
ServerAdmin asiani@free.fr
DocumentRoot /home/domainB/www
ServerName www.domainB.euro.st
ServerPath /domainB
ErrorLog logs/domainB-error_log
ServerAlias domainB.euro.st
</VirtualHost>
<VirtualHost domainC.fr.st:80>
ServerAdmin asiani@free.fr
DocumentRoot /home/domainC/www
ServerName www.domainC.fr.st
ServerPath /domainC
ErrorLog logs/domainC-error_log
ServerAlias domainC.fr.st
</VirtualHost>
============================
Luis Moreira wrote:
> You have three VHs, all pointing to the same IP/port
> When Apache gets a request, it will go to the first one that matches.
> You need to either have different IPs, different ports or different
> names.
>
> Assuming you keep port 80, thismeans something like
>
> <VirtualHost A-site:80>
> DocumentRoot /home/A/www
> </VirtualHost>
>
> <VirtualHost B-site:80>
> DocumentRoot /home/B/www
> </VirtualHost>
>
> <VirtualHost C-site:80>
> DocumentRoot /home/C/www
> </VirtualHost>
>
> The names "A-site", "B-site" and "C-site" would then point to the same IP
>
>
> I think you can also use "redirect", but I don't know how.
> Anyway, RTFM (F stands for Friendly) :-)
>
> Hope this helps
>
>
> Luis
>
>
> asiani@wanadoo.fr wrote:
>
>> Hello !
>>
>> Don't forget me !
>> I don't understand why it does not run :))
>>
>> Alain
>>
>>>
>>> Hello
>>>
>>> I created 3 domain at ulimit.com
>>>
>>> A.euro.st
>>> B.euro.st
>>> C.fr.st
>>>
>>> ===================================
>>> I created 3 users on my Fedora linux box
>>>
>>> A
>>> B
>>> C
>>>
>>> ===================================
>>> I set right with :
>>>
>>> chmod -R 750 ...
>>> chown -R A.apache...etc...
>>>
>>> ===================================
>>> I added to the end of httpd.conf
>>>
>>> <Directory /home/*/www>
>>> Options Indexes FollowSymLinks
>>> <IfModule mod_access.c>
>>> Order allow,deny
>>> Allow from all
>>> </IfModule>
>>> </Directory>
>>> Include conf/vhost.conf
>>> ===================================
>>>
>>> I created vhost.conf
>>>
>>>
>>> NameVirtualHost 80.10.20.30:80
>>>
>>> <VirtualHost 80.10.20.30:80>
>>> ServerAdmin asiani@free.fr <ma...@free.fr>
>>> DocumentRoot /home/A/www
>>> ServerName www.A.euro.st <http://www.A.euro.st>
>>> ServerPath /A
>>> ErrorLog logs/A-error_log
>>> ServerAlias A.euro.st
>>> </VirtualHost>
>>>
>>> <VirtualHost 80.10.20.30:80>
>>> ServerAdmin asiani@free.fr <ma...@free.fr>
>>> DocumentRoot /home/B/www
>>> ServerName www.B.euro.st <http://www.B.euro.st>
>>> ServerPath /B
>>> ErrorLog logs/B-error_log
>>> ServerAlias B.euro.st
>>> </VirtualHost>
>>>
>>> <VirtualHost 80.10.20.30:80>
>>> ServerAdmin asiani@free.fr <ma...@free.fr>
>>> DocumentRoot /home/C/www
>>> ServerName www.C.fr.st <http://www.C.fr.st>
>>> ServerPath /C
>>> ErrorLog logs/C-error_log
>>> ServerAlias C.fr.st
>>> </VirtualHost>
>>>
>>>
>>> ===================================
>>>
>>> I restart httpd
>>>
>>> service httpd restart
>>>
>>> All is ok !
>>>
>>> ===================================
>>>
>>> I tried to go to my IP with internet explorer :
>>>
>>> http://80.10.20.30
>>>
>>> The domain A is opened
>>> access.log :
>>> 192.168.0.2 - - [31/Aug/2004:20:34:46 +0200] "GET / HTTP/1.1" 200 11
>>> "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; FREE; .NET
>>> CLR 1.1.4322)"
>>>
>>> I tried to go to : http://www.A.euro.st
>>> The domain A is opened
>>> access.log
>>> 192.168.0.2 - - [31/Aug/2004:20:35:49 +0200] "GET / HTTP/1.1" 200 11
>>> "http://www.A.euro.st" "Mozilla/4.0 (compatible; MSIE 6.0; Windows
>>> NT 5.1; FREE; .NET CLR 1.1.4322)"
>>>
>>> I tried to go to : http://www.B.euro.st
>>> The domain A is opened
>>> access.log
>>> 192.168.0.2 - - [31/Aug/2004:20:36:47 +0200] "GET / HTTP/1.1" 200 11
>>> "http://www.B.euro.st" "Mozilla/4.0 (compatible; MSIE 6.0; Windows
>>> NT 5.1; FREE; .NET CLR 1.1.4322)"
>>>
>>> I tried to go to : http://www.C.euro.st
>>> The domain A is opened
>>> access.log
>>> 192.168.0.2 - - [31/Aug/2004:20:37:38 +0200] "GET / HTTP/1.1" 200 11
>>> "http://www.C.fr.st" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
>>> 5.1; FREE; .NET CLR 1.1.4322)"
>>>
>>>
>>>
>>>
>>> configuration :
>>> Linux localhost.localdomain 2.4.22-1.2115.nptl #1 Wed Oct 29
>>> 15:31:21 EST 2003 i686 athlon i386 GNU/Linux
>>>
>>> [root@localhost www]# httpd -v
>>> Server version: Apache/2.0.47
>>> Server built: Oct 23 2003 06:48:44
>>>
>>>
>>>
>>> I would like to go on the right domain !!!
>>> Please help me !
>>> Thanks,
>>> Alain S.
>>>
>>>
>>>
>>> ----------------------------------------------------------------------------------------------------------------------------------------------
>>>
>>>
>>> > Message du 31/08/04 16:36
>>> > De : "Robert Andersson"
>>> > A : users@httpd.apache.org
>>> > Copie à :
>>> > Objet : Re: [users@httpd] Virtualhost
>>> > [When starting a new topic, don't reply to another mail]
>>> >
>>> > asiani@wanadoo.fr wrote:
>>> > > i tried with apache documentation, with lea-linux.org
>>> documentation
>>> > > it seems to be very simple but it doesn't run !
>>> >
>>> > Ok, interesting to know...
>>> >
>>> > ...
>>> >
>>> > If you want help, you must provide information. What do you want
>>> to do? What
>>> > did you try, and in what way did that not match your expectaions?
>>> >
>>> > Regards,
>>> > Robert Andersson
>>> >
>>> >
>>> >
>>>
>>> ---------------------------------------------------------------------
>>> > The official User-To-User support forum of the Apache HTTP
>>> Server Project.
>>> > See for more info.
>>> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>>> > " from the digest: users-digest-unsubscribe@httpd.apache.org
>>> > For additional commands, e-mail: users-help@httpd.apache.org
>>> >
>>> >
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> The official User-To-User support forum of the Apache HTTP Server
>> Project.
>> See <URL:http://httpd.apache.org/userslist.html> for more info.
>> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> " from the digest: users-digest-unsubscribe@httpd.apache.org
>> For additional commands, e-mail: users-help@httpd.apache.org
>>
>>
>---------------------------------------------------------------------
>The official User-To-User support forum of the Apache HTTP Server Project.
>See <URL:http://httpd.apache.org/userslist.html> for more info.
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Virtualhost
Posted by Luis Moreira <lu...@esinnovation.pt>.
You have three VHs, all pointing to the same IP/port
When Apache gets a request, it will go to the first one that matches.
You need to either have different IPs, different ports or different names.
Assuming you keep port 80, thismeans something like
<VirtualHost A-site:80>
DocumentRoot /home/A/www
</VirtualHost>
<VirtualHost B-site:80>
DocumentRoot /home/B/www
</VirtualHost>
<VirtualHost C-site:80>
DocumentRoot /home/C/www
</VirtualHost>
The names "A-site", "B-site" and "C-site" would then point to the same IP
I think you can also use "redirect", but I don't know how.
Anyway, RTFM (F stands for Friendly) :-)
Hope this helps
Luis
asiani@wanadoo.fr wrote:
> Hello !
>
> Don't forget me !
> I don't understand why it does not run :))
>
> Alain
>
>>
>> Hello
>>
>> I created 3 domain at ulimit.com
>>
>> A.euro.st
>> B.euro.st
>> C.fr.st
>>
>> ===================================
>> I created 3 users on my Fedora linux box
>>
>> A
>> B
>> C
>>
>> ===================================
>> I set right with :
>>
>> chmod -R 750 ...
>> chown -R A.apache...etc...
>>
>> ===================================
>> I added to the end of httpd.conf
>>
>> <Directory /home/*/www>
>> Options Indexes FollowSymLinks
>> <IfModule mod_access.c>
>> Order allow,deny
>> Allow from all
>> </IfModule>
>> </Directory>
>> Include conf/vhost.conf
>> ===================================
>>
>> I created vhost.conf
>>
>>
>> NameVirtualHost 80.10.20.30:80
>>
>> <VirtualHost 80.10.20.30:80>
>> ServerAdmin asiani@free.fr <ma...@free.fr>
>> DocumentRoot /home/A/www
>> ServerName www.A.euro.st <http://www.A.euro.st>
>> ServerPath /A
>> ErrorLog logs/A-error_log
>> ServerAlias A.euro.st
>> </VirtualHost>
>>
>> <VirtualHost 80.10.20.30:80>
>> ServerAdmin asiani@free.fr <ma...@free.fr>
>> DocumentRoot /home/B/www
>> ServerName www.B.euro.st <http://www.B.euro.st>
>> ServerPath /B
>> ErrorLog logs/B-error_log
>> ServerAlias B.euro.st
>> </VirtualHost>
>>
>> <VirtualHost 80.10.20.30:80>
>> ServerAdmin asiani@free.fr <ma...@free.fr>
>> DocumentRoot /home/C/www
>> ServerName www.C.fr.st <http://www.C.fr.st>
>> ServerPath /C
>> ErrorLog logs/C-error_log
>> ServerAlias C.fr.st
>> </VirtualHost>
>>
>>
>> ===================================
>>
>> I restart httpd
>>
>> service httpd restart
>>
>> All is ok !
>>
>> ===================================
>>
>> I tried to go to my IP with internet explorer :
>>
>> http://80.10.20.30
>>
>> The domain A is opened
>> access.log :
>> 192.168.0.2 - - [31/Aug/2004:20:34:46 +0200] "GET / HTTP/1.1" 200 11
>> "-" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; FREE; .NET
>> CLR 1.1.4322)"
>>
>> I tried to go to : http://www.A.euro.st
>> The domain A is opened
>> access.log
>> 192.168.0.2 - - [31/Aug/2004:20:35:49 +0200] "GET / HTTP/1.1" 200 11
>> "http://www.A.euro.st" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
>> 5.1; FREE; .NET CLR 1.1.4322)"
>>
>> I tried to go to : http://www.B.euro.st
>> The domain A is opened
>> access.log
>> 192.168.0.2 - - [31/Aug/2004:20:36:47 +0200] "GET / HTTP/1.1" 200 11
>> "http://www.B.euro.st" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
>> 5.1; FREE; .NET CLR 1.1.4322)"
>>
>> I tried to go to : http://www.C.euro.st
>> The domain A is opened
>> access.log
>> 192.168.0.2 - - [31/Aug/2004:20:37:38 +0200] "GET / HTTP/1.1" 200 11
>> "http://www.C.fr.st" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT
>> 5.1; FREE; .NET CLR 1.1.4322)"
>>
>>
>>
>>
>> configuration :
>> Linux localhost.localdomain 2.4.22-1.2115.nptl #1 Wed Oct 29 15:31:21
>> EST 2003 i686 athlon i386 GNU/Linux
>>
>> [root@localhost www]# httpd -v
>> Server version: Apache/2.0.47
>> Server built: Oct 23 2003 06:48:44
>>
>>
>>
>> I would like to go on the right domain !!!
>> Please help me !
>> Thanks,
>> Alain S.
>>
>>
>>
>> ----------------------------------------------------------------------------------------------------------------------------------------------
>>
>>
>> > Message du 31/08/04 16:36
>> > De : "Robert Andersson"
>> > A : users@httpd.apache.org
>> > Copie à :
>> > Objet : Re: [users@httpd] Virtualhost
>> > [When starting a new topic, don't reply to another mail]
>> >
>> > asiani@wanadoo.fr wrote:
>> > > i tried with apache documentation, with lea-linux.org
>> documentation
>> > > it seems to be very simple but it doesn't run !
>> >
>> > Ok, interesting to know...
>> >
>> > ...
>> >
>> > If you want help, you must provide information. What do you want
>> to do? What
>> > did you try, and in what way did that not match your expectaions?
>> >
>> > Regards,
>> > Robert Andersson
>> >
>> >
>> >
>>
>> ---------------------------------------------------------------------
>> > The official User-To-User support forum of the Apache HTTP
>> Server Project.
>> > See for more info.
>> > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>> > " from the digest: users-digest-unsubscribe@httpd.apache.org
>> > For additional commands, e-mail: users-help@httpd.apache.org
>> >
>> >
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server
> Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>