[Linux] Confounded by apache2 on ubuntu 7.10 server
Steven Benmosh
linux@flux.org
Sat, 5 Jan 2008 11:02:29 -0600
------=_Part_36198_29380005.1199552549910
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
I want to run a web site on my home computer, using ubuntu 7.10 server and
apache2. I have hosted similar sites in the past, and the configuration file
used to be httpd.conf - you put your named virtual host information there
and everything was fine. All the apache2 documentation I could find still
suggest the same.
Yet when I run ubuntu 7.10 server, the httpd.conf file is empty, and in its
stead you have two subdirectories, sites-enabled and sites-available, each
with its own default file. At this point I am not sure where I should
include the virtual server info.
The issue is not just how to get the server to run - using vmware I edited
both sites-available and sites-enabled default files - and I can see the web
pages. The questions are:
1. what is the right way to do it,
2. whether using httpd.conf will break things, and
3. why are these new ways of configuring not documented in a way that can be
found by an average person reading the apache documentation in either ubuntu
or apache web sites.
Thanks and Happy New Year.
Z.
------=_Part_36198_29380005.1199552549910
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
I want to run a web site on my home computer, using ubuntu 7.10 server and apache2. I have hosted similar sites in the past, and the configuration file used to be httpd.conf - you put your named virtual host information there and everything was fine. All the apache2 documentation I could find still suggest the same.
<br><br>Yet when I run ubuntu 7.10 server, the httpd.conf file is empty, and in its stead you have two subdirectories, sites-enabled and sites-available, each with its own default file. At this point I am not sure where I should include the virtual server info.
<br><br>The issue is not just how to get the server to run - using vmware I edited both sites-available and sites-enabled default files - and I can see the web pages. The questions are:<br><br>1. what is the right way to do it,
<br><br>2. whether using httpd.conf will break things, and <br><br>3. why are these new ways of configuring not documented in a way that can be found by an average person reading the apache documentation in either ubuntu or apache web sites.
<br><br><br>Thanks and Happy New Year.<br><br>Z.<br>
------=_Part_36198_29380005.1199552549910--