I am trying to follow some guides about starting up apache2.2
I'm ubuntu 12.10
What is the httpd.conf file, and is it the same as a vhost file? Where is it located? I did a 'find' using the command line and it is not found. Does this mean that I have to create it? Or has this been deprecated in apache 2.2? I do not have Apache 2.4. The links that I've seen all seem to refer to this file.
http://httpd.apache.org/docs/2.2/invoking.html
Shows that apache is located at usr/local/apache2, but when I installed using the apt-get tool, it is not installed there. It's in /etc/apache2, and that kind of is throwing me off. Do I have the right directory?
I also have no httpd.conf, nor do I have a conf directory, but I do have a conf.d, but I'm just having a hard time orienting myself. I also keep seeing something like "make a new site" in tutorials, but I would request more background since I have no idea how to do that. Is it with a vhost? I can not find my vhost configuration.
Thank you!
well, as an update ,I have found a good source of information: https://help.ubuntu.com/12.10/serverguide/httpd.html
I would delete my question, but for anyone else:
Your virtual host file, on ubuntu 12.10, if you installed using sudo apt-get install apache2
is /etc/apache2/sites-available/default
It's not called virtual host, nor does it have a file extension.
Guys, this is very confusing for newbies. So much documentation asks you to find an httpd.conf file, yet doing a simple find / *.conf from the command line will give you nothing if you used sudo-apt-get install to install apache2. But if you had downloaded the .zip file from the Apache site, all of a sudden you get everything most tutorials talk about. This needs to be explained, clearly. Is there an equivalent httpd.conf file that's listed in /etc/apache2? I think it is actually called "default"?
Here are some very helpful links; I would recommend them over the official documentation for newbies. It may help orient you (like it did me), and then the docs may make more sense.
http://articles.slicehost.com/2010/5/19/installing-apache-on-ubuntu
http://articles.slicehost.com/2010/5/19/apache-configuration-files-on-ubuntu