G'day,
I'm trying to set up virtual hosting using apache2 on an ubuntu box.
I'm basing the setup on a config file I've used for apache 1.3 from an
old server that has run for years.
Ubuntu being debian based uses a file for each virtual host.
So following the apache2 example should all be good.
Okay this may be a stupid suggestion but have you set up apache to deal
with virtual hosts?
is something like the following in the main config:
NameVirtualHost xxx.xxx.xxx.xxx:80
--
James Purser
Producer/Presenter - Linux Australia Update
http://k-sit.com - My Blog
http://la-pod.k-sit.com - Linu
quote("ashley maher");
>I'm basing the setup on a config file I've used for apache 1.3 from an
>old server that has run for years.
BAD BAD BAD
>Ubuntu being debian based uses a file for each virtual host.
Yeah, and being Debian, the main concept of configuration is magic!
Everything you need to
James,
On Mon, 2006-02-27 at 20:51 +1100, James Purser wrote:
> Okay this may be a stupid suggestion but have you set up apache to deal
> with virtual hosts?
>
> is something like the following in the main config:
>
> NameVirtualHost xxx.xxx.xxx.xxx:80
NameVirtualHost is in the default site fil
Here's what I do, with a template config file that contains the
below.
The httpd.conf is "static" in that it contains only global
info for the host.Only the most basic info for the site
is included in httpd.conf, as I want to push it out (via n1sps)
as a template.
Then I "include" the file be
> Any kind soul mind pointing me to a url that has working debian based
> examples of vhost configs
Quick explanation:
* I add the NameVirtualHost entries I need to /etc/apache2/ports.conf
* I create per-virtual files in /etc/apache2/sites-enabled that look
roughly like this (usually wit
On Mon, 2006-02-27 at 13:03 +0100, Jeff Waugh wrote:
>
>
> > Any kind soul mind pointing me to a url that has working debian based
> > examples of vhost configs
>
> Quick explanation:
>
> * I add the NameVirtualHost entries I need to /etc/apache2/ports.conf
This appears to be the point I'm s
> The debian default site has the NameVirtualHost entry in it. So inn the
> other domains I didn't put one in. Apache spat. So I put the
> NameVirtualHost entry at the top of each, it now says it overlaps.
>
> So mind expanding on the above?
Would have to see your configuration. Certainly, you