You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Sparky Kopetzky <sp...@blackmesa-isp.net> on 2003/03/19 19:06:36 UTC

[users@httpd] Virtual Host problems (still...)

Good morning!

I tried what some kind souls from the list suggested for my development virtual host but it changed my home page to the Apache test page. Not exactly what I had in mind!!

This is what I had until I commented it out to fix my homepage:

<VirtualHost 192.168.0.240> <- not my real IP - did have it there in the first place
   ServerName www.emsbureau.com:80
   DocumentRoot /httpd/development <-- this is my development directory
   ServerAlias emsbureau.com
</VirtualHost>

What did I do wrong and is the fix simple??

You can email direct if you want to take this off the list: sparkyk@blackmesa-isp.net

I hope to be hosting commercial accounts soon, so I have to make this work.

Robin Kopetzky
Black Mesa Internet Services
www.blackmesa-isp.net




Re: [users@httpd] Virtual Host problems (still...)

Posted by System <sy...@eluminoustechnologies.com>.
NameVirtualHost xxx.xxx.xxx.xxx:80

<VirtualHost xxx.xxx.xxx.xxx>
ServerAlias www.abc.com abc.com
ServerAdmin webmaster@abc.com
DocumentRoot /home/abc/public_html
User abc
Group abc
ServerName www.abc.com
</VirtualHost>


Tina...

----- Original Message -----
From: "Sparky Kopetzky" <sp...@blackmesa-isp.net>
To: <us...@httpd.apache.org>
Sent: Thursday, March 20, 2003 12:05 AM
Subject: Re: [users@httpd] Virtual Host problems (still...)


> Joshua, Tried what you suggested in the Apache reference and got this
error:
>
> Mixing * ports and non-* ports with a NamedVirtualHost address is not
> supported, proceeding with undefined results.
>
> ARGHH!!!!
>
> Robin
> ----- Original Message -----
> From: Joshua Slive <jo...@slive.ca>
> To: <us...@httpd.apache.org>
> Sent: Wednesday, March 19, 2003 11:19
> Subject: Re: [users@httpd] Virtual Host problems (still...)
>
>
> >
> > On Wed, 19 Mar 2003, Sparky Kopetzky wrote:
> > > I tried what some kind souls from the list suggested for my
development
> > > virtual host but it changed my home page to the Apache test page. Not
> > > exactly what I had in mind!!
> > >
> > > This is what I had until I commented it out to fix my homepage:
> > >
> > > <VirtualHost 192.168.0.240> <- not my real IP - did have it there in
the
> > > first place
> > >    ServerName www.emsbureau.com:80 <http://www.emsbureau.com:80>
> > >    DocumentRoot /httpd/development <-- this is my development
directory
> > >    ServerAlias emsbureau.com
> > > </VirtualHost>
> >
> > You don't mention whether you are doing IP or name-based virtual hosts.
> > Assuming the latter, you want to read and follow the example at
> > http://httpd.apache.org/docs-2.0/vhosts/name-based.html#using
> > which includes a "NameVirtualHost *" line plus using "*" in place of the
> > IP address in the <VirtualHost> directive.
> >
> > Joshua.
> >
> > ---------------------------------------------------------------------
> > 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] Virtual Host problems (still...)

Posted by Sparky Kopetzky <sp...@blackmesa-isp.net>.
This is in the conf file:

NamedVirtualHost *

<VirtualHost *>
   ServerName www.emsbureau.com:80
   DocumentRoot /httpd/development
   ServerAlias emsbureau.com
</VirtualHost>
 
Robin


---------------------------------------------------------------------
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] Virtual Host problems (still...)

Posted by Joshua Slive <jo...@slive.ca>.
On Wed, 19 Mar 2003, Sparky Kopetzky wrote:

> Joshua, Tried what you suggested in the Apache reference and got this error:
>
> Mixing * ports and non-* ports with a NamedVirtualHost address is not
> supported, proceeding with undefined results.

You have not given any details about your setup.  Obviously, you have
multiple <virtualhost>s defined and, as the message says, they must ALL
use "*" if you want to use the "*" format.

Joshua.

---------------------------------------------------------------------
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] Virtual Host problems (still...)

Posted by Sparky Kopetzky <sp...@blackmesa-isp.net>.
Joshua, Tried what you suggested in the Apache reference and got this error:

Mixing * ports and non-* ports with a NamedVirtualHost address is not
supported, proceeding with undefined results.

ARGHH!!!!

Robin
----- Original Message -----
From: Joshua Slive <jo...@slive.ca>
To: <us...@httpd.apache.org>
Sent: Wednesday, March 19, 2003 11:19
Subject: Re: [users@httpd] Virtual Host problems (still...)


>
> On Wed, 19 Mar 2003, Sparky Kopetzky wrote:
> > I tried what some kind souls from the list suggested for my development
> > virtual host but it changed my home page to the Apache test page. Not
> > exactly what I had in mind!!
> >
> > This is what I had until I commented it out to fix my homepage:
> >
> > <VirtualHost 192.168.0.240> <- not my real IP - did have it there in the
> > first place
> >    ServerName www.emsbureau.com:80 <http://www.emsbureau.com:80>
> >    DocumentRoot /httpd/development <-- this is my development directory
> >    ServerAlias emsbureau.com
> > </VirtualHost>
>
> You don't mention whether you are doing IP or name-based virtual hosts.
> Assuming the latter, you want to read and follow the example at
> http://httpd.apache.org/docs-2.0/vhosts/name-based.html#using
> which includes a "NameVirtualHost *" line plus using "*" in place of the
> IP address in the <VirtualHost> directive.
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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] Virtual Host problems (still...)

Posted by Sparky Kopetzky <sp...@blackmesa-isp.net>.
Name based, Joshua...
----- Original Message -----
From: Joshua Slive <jo...@slive.ca>
To: <us...@httpd.apache.org>
Sent: Wednesday, March 19, 2003 11:19
Subject: Re: [users@httpd] Virtual Host problems (still...)


>
> On Wed, 19 Mar 2003, Sparky Kopetzky wrote:
> > I tried what some kind souls from the list suggested for my development
> > virtual host but it changed my home page to the Apache test page. Not
> > exactly what I had in mind!!
> >
> > This is what I had until I commented it out to fix my homepage:
> >
> > <VirtualHost 192.168.0.240> <- not my real IP - did have it there in the
> > first place
> >    ServerName www.emsbureau.com:80 <http://www.emsbureau.com:80>
> >    DocumentRoot /httpd/development <-- this is my development directory
> >    ServerAlias emsbureau.com
> > </VirtualHost>
>
> You don't mention whether you are doing IP or name-based virtual hosts.
> Assuming the latter, you want to read and follow the example at
> http://httpd.apache.org/docs-2.0/vhosts/name-based.html#using
> which includes a "NameVirtualHost *" line plus using "*" in place of the
> IP address in the <VirtualHost> directive.
>
> Joshua.
>
> ---------------------------------------------------------------------
> 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] Virtual Host problems (still...)

Posted by Joshua Slive <jo...@slive.ca>.
On Wed, 19 Mar 2003, Sparky Kopetzky wrote:
> I tried what some kind souls from the list suggested for my development
> virtual host but it changed my home page to the Apache test page. Not
> exactly what I had in mind!!
>
> This is what I had until I commented it out to fix my homepage:
>
> <VirtualHost 192.168.0.240> <- not my real IP - did have it there in the
> first place
>    ServerName www.emsbureau.com:80 <http://www.emsbureau.com:80>
>    DocumentRoot /httpd/development <-- this is my development directory
>    ServerAlias emsbureau.com
> </VirtualHost>

You don't mention whether you are doing IP or name-based virtual hosts.
Assuming the latter, you want to read and follow the example at
http://httpd.apache.org/docs-2.0/vhosts/name-based.html#using
which includes a "NameVirtualHost *" line plus using "*" in place of the
IP address in the <VirtualHost> directive.

Joshua.

---------------------------------------------------------------------
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