httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From juanca <jua...@sat.com.py>
Subject Re: [users@httpd] I`m still having problems trying to get my virtual host to work MysterAdmin
Date Sat, 29 Mar 2003 17:57:29 GMT
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 <juanca@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


Mime
View raw message