httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian" <bberna...@qwest.net>
Subject Re: Virtual Hosts in Apache
Date Mon, 29 Apr 2002 19:55:37 GMT
try using:

#
# UseCanonicalName:  (new for 1.3)  With this setting turned on, whenever
# Apache needs to construct a self-referencing URL (a URL that refers back
# to the server the response is coming from) it will use ServerName and
# Port to form a "canonical" name.  With this setting off, Apache will
# use the hostname:port that the client supplied, when possible.  This
# also affects SERVER_NAME and SERVER_PORT in CGI scripts.
#
UseCanonicalName OFF


Brian




----- Original Message -----
From: "Joshua Slive" <joshua@slive.ca>
To: <users@httpd.apache.org>
Sent: Monday, April 29, 2002 12:08 PM
Subject: Re: Virtual Hosts in Apache


>
> On Mon, 29 Apr 2002, Subscribed wrote:
>
> > Thanks for the link, thats where I've been crawling over
> > I've removed the Named Virtual Hosts directive, but
> > am I correct in thinking that each site needs a specific IP address?
>
> No, that is not correct.  You should use the exact example from the page
> that I referenced, and just change the ServerName and DocumentRoot in each
> <VirtualHost> to fit your site (and add other directives as needed).
>
> 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
> 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
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message