You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by juanca <ju...@sat.com.py> on 2003/03/28 19:43:30 UTC
[users@httpd] I`m still having problems trying to get my virtual host to work
hi all
I`m still having problems with my virtual host, I mean I added the new virtual
host in my apache, but It always search my main domain, Why this is happenig,
`cos I didn`t happend the same thing when I added the others virtualdomains,
here is my example, when I put the url www.virtualdomain.com It shows me my
maindomain again,
<VirtualHost www.maidomain.com:80>
ServerAdmin webmaster@maindomain.com
DocumentRoot /var/www/maindomain.com
User maindomain.com
Group maindomain.com
ServerName www.maindomain.com
ErrorLog /var/log/apache/maindomain.com-error.log
CustomLog /var/log/apache/maindomain.com-access.log common
</VirtualHost>
<VirtualHost www.virtualhost.com:80>
ServerAdmin webmaster@virtuahost.com
DocumentRoot /var/www/virtualhost.com
User virtualhost
Group virtualhost
ServerName www.virtualhost.com
ErrorLog /var/log/apache/virtualhost.com-error.log
CustomLog /var/log/apache/virtualhost.com-access.log common
</VirtualHost>
---------------------------------------------------------------------
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] I`m still having problems trying to get my virtual host to work MysterAdmin
Posted by juanca <ju...@sat.com.py>.
I`ve gor 14 virtualhosts defined and this is the firt time that happend this,
I have comented my main domain however It`s still showing my main domain when
put www.virtualdomain in my browser
> I store my Access and Error Log files in a different directory structure
> than you do, that's all.... :)
>
> Peace....
>
> Tom
>
> On Fri, 28 Mar 2003 at 13:39:02, juanca wrote:
> > Whar do u mean with I have different paths to log files, etc, than you ?
> > do u use bind ? if so, may see your named.conf? please
> >
> > On Friday 28 March 2003 17:27, Mystery Admin wrote:
> > > This is what I use:
> > >
> > > Port 80
> > > NameVirtualHost 192.168.2.3
> > >
> > > <VirtualHost 192.168.2.3>
> > > ServerAdmin webmaster@maindomain.com
> > > DocumentRoot /var/www/maindomain.com
> > > User maindomain.com
> > > Group maindomain.com
> > > ServerName www.maindomain.com
> > > ErrorLog /var/log/apache/maindomain.com-error.log
> > > CustomLog /var/log/apache/maindomain.com-access.log common
> > > </VirtualHost>
> > >
> > > <VirtualHost 192.168.2.3>
> > > ServerAdmin webmaster@virtuahost.com
> > > DocumentRoot /var/www/virtualhost.com
> > > User virtualhost
> > > Group virtualhost
> > > ServerName www.virtualhost.com
> > > ErrorLog /var/log/apache/virtualhost.com-error.log
> > > CustomLog /var/log/apache/virtualhost.com-access.log common
> > > </VirtualHost>
> > >
> > > I've got 15 or so virtual hosts defined this way and they all work just
> > > fine for me. Of course, I have different paths to log files, etc, than
> >
> > you
> >
> > > do. :)
> > >
> > > Good luck!
> > >
> > > Peace....
> > >
> > > Tom
> > >
> > > On Fri, 28 Mar 2003 at 13:07:40, juanca wrote:
> > > > It shows me this when I put the url in my mozilla
> > > > www.virtualdomain.com and it
> > > > shows me this and not my virtual domain
> > > > Apache/1.3.26 Server at www.maindomain.com Port 80
> > > >
> > > > > Remove the names and ports and put "*:80" or "ip.addr.ess:80"
> > > > > instead e.g.
> > > > >
> > > > > <VirtualHost 192.168.2.3:80>
> > > > > ServerAdmin webmaster@maindomain.com
> > > > > DocumentRoot /var/www/maindomain.com
> > > > > User maindomain.com
> > > > > Group maindomain.com
> > > > > ServerName www.maindomain.com
> > > > > ErrorLog /var/log/apache/maindomain.com-error.log
> > > > > CustomLog /var/log/apache/maindomain.com-access.log common
> > > > > </VirtualHost>
> > > > >
> > > > > <VirtualHost 192.168.2.3:80>
> > > > > ServerAdmin webmaster@virtuahost.com
> > > > > DocumentRoot /var/www/virtualhost.com
> > > > > User virtualhost
> > > > > Group virtualhost
> > > > > ServerName www.virtualhost.com
> > > > > ErrorLog /var/log/apache/virtualhost.com-error.log
> > > > > CustomLog /var/log/apache/virtualhost.com-access.log common
> > > > > </VirtualHost>
> > > > >
> > > > > All the best,
> > > > > Jeff Cohen
> > > > >
> > > > > -----Original Message-----
> > > > > From: juanca <ju...@sat.com.py>
> > > > > To: users@httpd.apache.org
> > > > > Date: Fri, 28 Mar 2003 14:43:30 -0400
> > > > > Subject: [users@httpd] I`m still having problems trying to get my
> > > > > virtual host to work
> > > > >
> > > > > > hi all
> > > > > >
> > > > > > I`m still having problems with my virtual host, I mean I added
> > > > > > the new virtual
> > > > > > host in my apache, but It always search my main domain, Why this
> > > > > > is happenig,
> > > > > > `cos I didn`t happend the same thing when I added the others
> > > > > > virtualdomains,
> > > > > > here is my example, when I put the url www.virtualdomain.com It
> >
> > shows
> >
> > > > > > me my
> > > > > > maindomain again,
> > > > > > <VirtualHost www.maidomain.com:80>
> > > > > > ServerAdmin webmaster@maindomain.com
> > > > > > DocumentRoot /var/www/maindomain.com
> > > > > > User maindomain.com
> > > > > > Group maindomain.com
> > > > > > ServerName www.maindomain.com
> > > > > > ErrorLog /var/log/apache/maindomain.com-error.log
> > > > > > CustomLog /var/log/apache/maindomain.com-access.log common
> > > > > > </VirtualHost>
> > > > > >
> > > > > > <VirtualHost www.virtualhost.com:80>
> > > > > > ServerAdmin webmaster@virtuahost.com
> > > > > > DocumentRoot /var/www/virtualhost.com
> > > > > > User virtualhost
> > > > > > Group virtualhost
> > > > > > ServerName www.virtualhost.com
> > > > > > ErrorLog /var/log/apache/virtualhost.com-error.log
> > > > > > CustomLog /var/log/apache/virtualhost.com-access.log common
> > > > > > </VirtualHost>
> >
> > ---------------------------------------------------------------------
> >
> > > > > > 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
> > >
> > > ___________________
> > > http://jawmail.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
>
> ___________________
> http://jawmail.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] I`m still having problems trying to get my virtual host to work MysterAdmin
Posted by Mystery Admin <my...@whatfantasiesmaycome.com>.
I store my Access and Error Log files in a different directory structure than
you do, that's all.... :)
Peace....
Tom
On Fri, 28 Mar 2003 at 13:39:02, juanca wrote:
> Whar do u mean with I have different paths to log files, etc, than you ?
> do u use bind ? if so, may see your named.conf? please
>
>
> On Friday 28 March 2003 17:27, Mystery Admin wrote:
> > This is what I use:
> >
> > Port 80
> > NameVirtualHost 192.168.2.3
> >
> > <VirtualHost 192.168.2.3>
> > ServerAdmin webmaster@maindomain.com
> > DocumentRoot /var/www/maindomain.com
> > User maindomain.com
> > Group maindomain.com
> > ServerName www.maindomain.com
> > ErrorLog /var/log/apache/maindomain.com-error.log
> > CustomLog /var/log/apache/maindomain.com-access.log common
> > </VirtualHost>
> >
> > <VirtualHost 192.168.2.3>
> > ServerAdmin webmaster@virtuahost.com
> > DocumentRoot /var/www/virtualhost.com
> > User virtualhost
> > Group virtualhost
> > ServerName www.virtualhost.com
> > ErrorLog /var/log/apache/virtualhost.com-error.log
> > CustomLog /var/log/apache/virtualhost.com-access.log common
> > </VirtualHost>
> >
> > I've got 15 or so virtual hosts defined this way and they all work just
> > fine for me. Of course, I have different paths to log files, etc, than
> you
> > do. :)
> >
> > Good luck!
> >
> > Peace....
> >
> > Tom
> >
> > On Fri, 28 Mar 2003 at 13:07:40, juanca wrote:
> > > It shows me this when I put the url in my mozilla www.virtualdomain.com
> > > and it
> > > shows me this and not my virtual domain
> > > Apache/1.3.26 Server at www.maindomain.com Port 80
> > >
> > > > Remove the names and ports and put "*:80" or "ip.addr.ess:80" instead
> > > > e.g.
> > > >
> > > > <VirtualHost 192.168.2.3:80>
> > > > ServerAdmin webmaster@maindomain.com
> > > > DocumentRoot /var/www/maindomain.com
> > > > User maindomain.com
> > > > Group maindomain.com
> > > > ServerName www.maindomain.com
> > > > ErrorLog /var/log/apache/maindomain.com-error.log
> > > > CustomLog /var/log/apache/maindomain.com-access.log common
> > > > </VirtualHost>
> > > >
> > > > <VirtualHost 192.168.2.3:80>
> > > > ServerAdmin webmaster@virtuahost.com
> > > > DocumentRoot /var/www/virtualhost.com
> > > > User virtualhost
> > > > Group virtualhost
> > > > ServerName www.virtualhost.com
> > > > ErrorLog /var/log/apache/virtualhost.com-error.log
> > > > CustomLog /var/log/apache/virtualhost.com-access.log common
> > > > </VirtualHost>
> > > >
> > > > All the best,
> > > > Jeff Cohen
> > > >
> > > > -----Original Message-----
> > > > From: juanca <ju...@sat.com.py>
> > > > To: users@httpd.apache.org
> > > > Date: Fri, 28 Mar 2003 14:43:30 -0400
> > > > Subject: [users@httpd] I`m still having problems trying to get my
> > > > virtual host to work
> > > >
> > > > > hi all
> > > > >
> > > > > I`m still having problems with my virtual host, I mean I added the
> > > > > new virtual
> > > > > host in my apache, but It always search my main domain, Why this is
> > > > > happenig,
> > > > > `cos I didn`t happend the same thing when I added the others
> > > > > virtualdomains,
> > > > > here is my example, when I put the url www.virtualdomain.com It
> shows
> > > > > me my
> > > > > maindomain again,
> > > > > <VirtualHost www.maidomain.com:80>
> > > > > ServerAdmin webmaster@maindomain.com
> > > > > DocumentRoot /var/www/maindomain.com
> > > > > User maindomain.com
> > > > > Group maindomain.com
> > > > > ServerName www.maindomain.com
> > > > > ErrorLog /var/log/apache/maindomain.com-error.log
> > > > > CustomLog /var/log/apache/maindomain.com-access.log common
> > > > > </VirtualHost>
> > > > >
> > > > > <VirtualHost www.virtualhost.com:80>
> > > > > ServerAdmin webmaster@virtuahost.com
> > > > > DocumentRoot /var/www/virtualhost.com
> > > > > User virtualhost
> > > > > Group virtualhost
> > > > > ServerName www.virtualhost.com
> > > > > ErrorLog /var/log/apache/virtualhost.com-error.log
> > > > > CustomLog /var/log/apache/virtualhost.com-access.log common
> > > > > </VirtualHost>
> > > > >
> > > > >
> > > > >
> ---------------------------------------------------------------------
> > > > > 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
> >
> > ___________________
> > http://jawmail.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
___________________
http://jawmail.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
[users@httpd] I`m still having problems trying to get my virtual host to work MysterAdmin
Posted by juanca <ju...@sat.com.py>.
Whar do u mean with I have different paths to log files, etc, than you ?
do u use bind ? if so, may see your named.conf? please
On Friday 28 March 2003 17:27, Mystery Admin wrote:
> This is what I use:
>
> Port 80
> NameVirtualHost 192.168.2.3
>
> <VirtualHost 192.168.2.3>
> ServerAdmin webmaster@maindomain.com
> DocumentRoot /var/www/maindomain.com
> User maindomain.com
> Group maindomain.com
> ServerName www.maindomain.com
> ErrorLog /var/log/apache/maindomain.com-error.log
> CustomLog /var/log/apache/maindomain.com-access.log common
> </VirtualHost>
>
> <VirtualHost 192.168.2.3>
> ServerAdmin webmaster@virtuahost.com
> DocumentRoot /var/www/virtualhost.com
> User virtualhost
> Group virtualhost
> ServerName www.virtualhost.com
> ErrorLog /var/log/apache/virtualhost.com-error.log
> CustomLog /var/log/apache/virtualhost.com-access.log common
> </VirtualHost>
>
> I've got 15 or so virtual hosts defined this way and they all work just
> fine for me. Of course, I have different paths to log files, etc, than you
> do. :)
>
> Good luck!
>
> Peace....
>
> Tom
>
> On Fri, 28 Mar 2003 at 13:07:40, juanca wrote:
> > It shows me this when I put the url in my mozilla www.virtualdomain.com
> > and it
> > shows me this and not my virtual domain
> > Apache/1.3.26 Server at www.maindomain.com Port 80
> >
> > > Remove the names and ports and put "*:80" or "ip.addr.ess:80" instead
> > > e.g.
> > >
> > > <VirtualHost 192.168.2.3:80>
> > > ServerAdmin webmaster@maindomain.com
> > > DocumentRoot /var/www/maindomain.com
> > > User maindomain.com
> > > Group maindomain.com
> > > ServerName www.maindomain.com
> > > ErrorLog /var/log/apache/maindomain.com-error.log
> > > CustomLog /var/log/apache/maindomain.com-access.log common
> > > </VirtualHost>
> > >
> > > <VirtualHost 192.168.2.3:80>
> > > ServerAdmin webmaster@virtuahost.com
> > > DocumentRoot /var/www/virtualhost.com
> > > User virtualhost
> > > Group virtualhost
> > > ServerName www.virtualhost.com
> > > ErrorLog /var/log/apache/virtualhost.com-error.log
> > > CustomLog /var/log/apache/virtualhost.com-access.log common
> > > </VirtualHost>
> > >
> > > All the best,
> > > Jeff Cohen
> > >
> > > -----Original Message-----
> > > From: juanca <ju...@sat.com.py>
> > > To: users@httpd.apache.org
> > > Date: Fri, 28 Mar 2003 14:43:30 -0400
> > > Subject: [users@httpd] I`m still having problems trying to get my
> > > virtual host to work
> > >
> > > > hi all
> > > >
> > > > I`m still having problems with my virtual host, I mean I added the
> > > > new virtual
> > > > host in my apache, but It always search my main domain, Why this is
> > > > happenig,
> > > > `cos I didn`t happend the same thing when I added the others
> > > > virtualdomains,
> > > > here is my example, when I put the url www.virtualdomain.com It shows
> > > > me my
> > > > maindomain again,
> > > > <VirtualHost www.maidomain.com:80>
> > > > ServerAdmin webmaster@maindomain.com
> > > > DocumentRoot /var/www/maindomain.com
> > > > User maindomain.com
> > > > Group maindomain.com
> > > > ServerName www.maindomain.com
> > > > ErrorLog /var/log/apache/maindomain.com-error.log
> > > > CustomLog /var/log/apache/maindomain.com-access.log common
> > > > </VirtualHost>
> > > >
> > > > <VirtualHost www.virtualhost.com:80>
> > > > ServerAdmin webmaster@virtuahost.com
> > > > DocumentRoot /var/www/virtualhost.com
> > > > User virtualhost
> > > > Group virtualhost
> > > > ServerName www.virtualhost.com
> > > > ErrorLog /var/log/apache/virtualhost.com-error.log
> > > > CustomLog /var/log/apache/virtualhost.com-access.log common
> > > > </VirtualHost>
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > 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
>
> ___________________
> http://jawmail.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] I`m still having problems trying to get my virtual host to work
Posted by Mystery Admin <my...@whatfantasiesmaycome.com>.
This is what I use:
Port 80
NameVirtualHost 192.168.2.3
<VirtualHost 192.168.2.3>
ServerAdmin webmaster@maindomain.com
DocumentRoot /var/www/maindomain.com
User maindomain.com
Group maindomain.com
ServerName www.maindomain.com
ErrorLog /var/log/apache/maindomain.com-error.log
CustomLog /var/log/apache/maindomain.com-access.log common
</VirtualHost>
<VirtualHost 192.168.2.3>
ServerAdmin webmaster@virtuahost.com
DocumentRoot /var/www/virtualhost.com
User virtualhost
Group virtualhost
ServerName www.virtualhost.com
ErrorLog /var/log/apache/virtualhost.com-error.log
CustomLog /var/log/apache/virtualhost.com-access.log common
</VirtualHost>
I've got 15 or so virtual hosts defined this way and they all work just fine for
me. Of course, I have different paths to log files, etc, than you do. :)
Good luck!
Peace....
Tom
On Fri, 28 Mar 2003 at 13:07:40, juanca wrote:
> It shows me this when I put the url in my mozilla www.virtualdomain.com and
> it
> shows me this and not my virtual domain
> Apache/1.3.26 Server at www.maindomain.com Port 80
> > Remove the names and ports and put "*:80" or "ip.addr.ess:80" instead
> > e.g.
> >
> > <VirtualHost 192.168.2.3:80>
> > ServerAdmin webmaster@maindomain.com
> > DocumentRoot /var/www/maindomain.com
> > User maindomain.com
> > Group maindomain.com
> > ServerName www.maindomain.com
> > ErrorLog /var/log/apache/maindomain.com-error.log
> > CustomLog /var/log/apache/maindomain.com-access.log common
> > </VirtualHost>
> >
> > <VirtualHost 192.168.2.3:80>
> > ServerAdmin webmaster@virtuahost.com
> > DocumentRoot /var/www/virtualhost.com
> > User virtualhost
> > Group virtualhost
> > ServerName www.virtualhost.com
> > ErrorLog /var/log/apache/virtualhost.com-error.log
> > CustomLog /var/log/apache/virtualhost.com-access.log common
> > </VirtualHost>
> >
> > All the best,
> > Jeff Cohen
> >
> > -----Original Message-----
> > From: juanca <ju...@sat.com.py>
> > To: users@httpd.apache.org
> > Date: Fri, 28 Mar 2003 14:43:30 -0400
> > Subject: [users@httpd] I`m still having problems trying to get my
> > virtual host to work
> >
> > > hi all
> > >
> > > I`m still having problems with my virtual host, I mean I added the new
> > > virtual
> > > host in my apache, but It always search my main domain, Why this is
> > > happenig,
> > > `cos I didn`t happend the same thing when I added the others
> > > virtualdomains,
> > > here is my example, when I put the url www.virtualdomain.com It shows
> > > me my
> > > maindomain again,
> > > <VirtualHost www.maidomain.com:80>
> > > ServerAdmin webmaster@maindomain.com
> > > DocumentRoot /var/www/maindomain.com
> > > User maindomain.com
> > > Group maindomain.com
> > > ServerName www.maindomain.com
> > > ErrorLog /var/log/apache/maindomain.com-error.log
> > > CustomLog /var/log/apache/maindomain.com-access.log common
> > > </VirtualHost>
> > >
> > > <VirtualHost www.virtualhost.com:80>
> > > ServerAdmin webmaster@virtuahost.com
> > > DocumentRoot /var/www/virtualhost.com
> > > User virtualhost
> > > Group virtualhost
> > > ServerName www.virtualhost.com
> > > ErrorLog /var/log/apache/virtualhost.com-error.log
> > > CustomLog /var/log/apache/virtualhost.com-access.log common
> > > </VirtualHost>
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
___________________
http://jawmail.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] I`m still having problems trying to get my
virtual host to work
Posted by Jeff Cohen <li...@gej-it.com>.
Then remove the :80 at the VirtualHost container.
Jeff Cohen
-----Original Message-----
From: juanca <ju...@sat.com.py>
To: users@httpd.apache.org
Date: Fri, 28 Mar 2003 18:15:43 -0400
Subject: Re: [users@httpd] I`m still having problems trying to get my
virtual host to work
> It shows me this when I put the url in my mozilla www.virtualdomain.com
> and it
> shows me this and not my virtual domain
> Apache/1.3.26 Server at www.maindomain.com Port 80
> > Remove the names and ports and put "*:80" or "ip.addr.ess:80" instead
> > e.g.
> >
> > <VirtualHost 192.168.2.3:80>
> > ServerAdmin webmaster@maindomain.com
> > DocumentRoot /var/www/maindomain.com
> > User maindomain.com
> > Group maindomain.com
> > ServerName www.maindomain.com
> > ErrorLog /var/log/apache/maindomain.com-error.log
> > CustomLog /var/log/apache/maindomain.com-access.log common
> > </VirtualHost>
> >
> > <VirtualHost 192.168.2.3:80>
> > ServerAdmin webmaster@virtuahost.com
> > DocumentRoot /var/www/virtualhost.com
> > User virtualhost
> > Group virtualhost
> > ServerName www.virtualhost.com
> > ErrorLog /var/log/apache/virtualhost.com-error.log
> > CustomLog /var/log/apache/virtualhost.com-access.log common
> > </VirtualHost>
> >
> > All the best,
> > Jeff Cohen
> >
> > -----Original Message-----
> > From: juanca <ju...@sat.com.py>
> > To: users@httpd.apache.org
> > Date: Fri, 28 Mar 2003 14:43:30 -0400
> > Subject: [users@httpd] I`m still having problems trying to get my
> > virtual host to work
> >
> > > hi all
> > >
> > > I`m still having problems with my virtual host, I mean I added the
> new
> > > virtual
> > > host in my apache, but It always search my main domain, Why this is
> > > happenig,
> > > `cos I didn`t happend the same thing when I added the others
> > > virtualdomains,
> > > here is my example, when I put the url www.virtualdomain.com It
> shows
> > > me my
> > > maindomain again,
> > > <VirtualHost www.maidomain.com:80>
> > > ServerAdmin webmaster@maindomain.com
> > > DocumentRoot /var/www/maindomain.com
> > > User maindomain.com
> > > Group maindomain.com
> > > ServerName www.maindomain.com
> > > ErrorLog /var/log/apache/maindomain.com-error.log
> > > CustomLog /var/log/apache/maindomain.com-access.log common
> > > </VirtualHost>
> > >
> > > <VirtualHost www.virtualhost.com:80>
> > > ServerAdmin webmaster@virtuahost.com
> > > DocumentRoot /var/www/virtualhost.com
> > > User virtualhost
> > > Group virtualhost
> > > ServerName www.virtualhost.com
> > > ErrorLog /var/log/apache/virtualhost.com-error.log
> > > CustomLog /var/log/apache/virtualhost.com-access.log common
> > > </VirtualHost>
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > > 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
---------------------------------------------------------------------
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] I`m still having problems trying to get my virtual host to work
Posted by juanca <ju...@sat.com.py>.
It shows me this when I put the url in my mozilla www.virtualdomain.com and it
shows me this and not my virtual domain
Apache/1.3.26 Server at www.maindomain.com Port 80
> Remove the names and ports and put "*:80" or "ip.addr.ess:80" instead
> e.g.
>
> <VirtualHost 192.168.2.3:80>
> ServerAdmin webmaster@maindomain.com
> DocumentRoot /var/www/maindomain.com
> User maindomain.com
> Group maindomain.com
> ServerName www.maindomain.com
> ErrorLog /var/log/apache/maindomain.com-error.log
> CustomLog /var/log/apache/maindomain.com-access.log common
> </VirtualHost>
>
> <VirtualHost 192.168.2.3:80>
> ServerAdmin webmaster@virtuahost.com
> DocumentRoot /var/www/virtualhost.com
> User virtualhost
> Group virtualhost
> ServerName www.virtualhost.com
> ErrorLog /var/log/apache/virtualhost.com-error.log
> CustomLog /var/log/apache/virtualhost.com-access.log common
> </VirtualHost>
>
> All the best,
> Jeff Cohen
>
> -----Original Message-----
> From: juanca <ju...@sat.com.py>
> To: users@httpd.apache.org
> Date: Fri, 28 Mar 2003 14:43:30 -0400
> Subject: [users@httpd] I`m still having problems trying to get my
> virtual host to work
>
> > hi all
> >
> > I`m still having problems with my virtual host, I mean I added the new
> > virtual
> > host in my apache, but It always search my main domain, Why this is
> > happenig,
> > `cos I didn`t happend the same thing when I added the others
> > virtualdomains,
> > here is my example, when I put the url www.virtualdomain.com It shows
> > me my
> > maindomain again,
> > <VirtualHost www.maidomain.com:80>
> > ServerAdmin webmaster@maindomain.com
> > DocumentRoot /var/www/maindomain.com
> > User maindomain.com
> > Group maindomain.com
> > ServerName www.maindomain.com
> > ErrorLog /var/log/apache/maindomain.com-error.log
> > CustomLog /var/log/apache/maindomain.com-access.log common
> > </VirtualHost>
> >
> > <VirtualHost www.virtualhost.com:80>
> > ServerAdmin webmaster@virtuahost.com
> > DocumentRoot /var/www/virtualhost.com
> > User virtualhost
> > Group virtualhost
> > ServerName www.virtualhost.com
> > ErrorLog /var/log/apache/virtualhost.com-error.log
> > CustomLog /var/log/apache/virtualhost.com-access.log common
> > </VirtualHost>
> >
> >
> > ---------------------------------------------------------------------
> > 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
[users@httpd] I`m still having problems trying to get my virtual host to work
Posted by juanca <ju...@sat.com.py>.
I`v done what you just told me but It didn`t work,
It shows me the same thing, It always search my main domain yet, what should I
see to solve this problem? this is takind my breath away
> Remove the names and ports and put "*:80" or "ip.addr.ess:80" instead
> e.g.
>
> <VirtualHost 192.168.2.3:80>
> ServerAdmin webmaster@maindomain.com
> DocumentRoot /var/www/maindomain.com
> User maindomain.com
> Group maindomain.com
> ServerName www.maindomain.com
> ErrorLog /var/log/apache/maindomain.com-error.log
> CustomLog /var/log/apache/maindomain.com-access.log common
> </VirtualHost>
>
> <VirtualHost 192.168.2.3:80>
> ServerAdmin webmaster@virtuahost.com
> DocumentRoot /var/www/virtualhost.com
> User virtualhost
> Group virtualhost
> ServerName www.virtualhost.com
> ErrorLog /var/log/apache/virtualhost.com-error.log
> CustomLog /var/log/apache/virtualhost.com-access.log common
> </VirtualHost>
>
> All the best,
> Jeff Cohen
>
> -----Original Message-----
> From: juanca <ju...@sat.com.py>
> To: users@httpd.apache.org
> Date: Fri, 28 Mar 2003 14:43:30 -0400
> Subject: [users@httpd] I`m still having problems trying to get my
> virtual host to work
>
> > hi all
> >
> > I`m still having problems with my virtual host, I mean I added the new
> > virtual
> > host in my apache, but It always search my main domain, Why this is
> > happenig,
> > `cos I didn`t happend the same thing when I added the others
> > virtualdomains,
> > here is my example, when I put the url www.virtualdomain.com It shows
> > me my
> > maindomain again,
> > <VirtualHost www.maidomain.com:80>
> > ServerAdmin webmaster@maindomain.com
> > DocumentRoot /var/www/maindomain.com
> > User maindomain.com
> > Group maindomain.com
> > ServerName www.maindomain.com
> > ErrorLog /var/log/apache/maindomain.com-error.log
> > CustomLog /var/log/apache/maindomain.com-access.log common
> > </VirtualHost>
> >
> > <VirtualHost www.virtualhost.com:80>
> > ServerAdmin webmaster@virtuahost.com
> > DocumentRoot /var/www/virtualhost.com
> > User virtualhost
> > Group virtualhost
> > ServerName www.virtualhost.com
> > ErrorLog /var/log/apache/virtualhost.com-error.log
> > CustomLog /var/log/apache/virtualhost.com-access.log common
> > </VirtualHost>
> >
> >
> > ---------------------------------------------------------------------
> > 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] I`m still having problems trying to get my
virtual host to work
Posted by Jeff Cohen <li...@gej-it.com>.
Remove the names and ports and put "*:80" or "ip.addr.ess:80" instead
e.g.
<VirtualHost 192.168.2.3:80>
ServerAdmin webmaster@maindomain.com
DocumentRoot /var/www/maindomain.com
User maindomain.com
Group maindomain.com
ServerName www.maindomain.com
ErrorLog /var/log/apache/maindomain.com-error.log
CustomLog /var/log/apache/maindomain.com-access.log common
</VirtualHost>
<VirtualHost 192.168.2.3:80>
ServerAdmin webmaster@virtuahost.com
DocumentRoot /var/www/virtualhost.com
User virtualhost
Group virtualhost
ServerName www.virtualhost.com
ErrorLog /var/log/apache/virtualhost.com-error.log
CustomLog /var/log/apache/virtualhost.com-access.log common
</VirtualHost>
All the best,
Jeff Cohen
-----Original Message-----
From: juanca <ju...@sat.com.py>
To: users@httpd.apache.org
Date: Fri, 28 Mar 2003 14:43:30 -0400
Subject: [users@httpd] I`m still having problems trying to get my
virtual host to work
> hi all
>
> I`m still having problems with my virtual host, I mean I added the new
> virtual
> host in my apache, but It always search my main domain, Why this is
> happenig,
> `cos I didn`t happend the same thing when I added the others
> virtualdomains,
> here is my example, when I put the url www.virtualdomain.com It shows
> me my
> maindomain again,
> <VirtualHost www.maidomain.com:80>
> ServerAdmin webmaster@maindomain.com
> DocumentRoot /var/www/maindomain.com
> User maindomain.com
> Group maindomain.com
> ServerName www.maindomain.com
> ErrorLog /var/log/apache/maindomain.com-error.log
> CustomLog /var/log/apache/maindomain.com-access.log common
> </VirtualHost>
>
> <VirtualHost www.virtualhost.com:80>
> ServerAdmin webmaster@virtuahost.com
> DocumentRoot /var/www/virtualhost.com
> User virtualhost
> Group virtualhost
> ServerName www.virtualhost.com
> ErrorLog /var/log/apache/virtualhost.com-error.log
> CustomLog /var/log/apache/virtualhost.com-access.log common
> </VirtualHost>
>
>
> ---------------------------------------------------------------------
> 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