LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   httpd location (https://www.linuxquestions.org/questions/linux-newbie-8/httpd-location-4175458946/)

sniper8752 04-20-2013 08:13 PM

httpd location
 
Where is the httpd folder (or httpd.conf file) located in Ubuntu?

273 04-20-2013 08:32 PM

Which httpd are you using? This may help?
http://ubuntuforums.org/showthread.php?t=903386

sniper8752 04-20-2013 08:36 PM

hm, so it is deprecated.
https://www.digitalocean.com/communi...-on-arch-linux
i am following this tutorial, and am on the last 3 steps. I went to the apache2.conf file, but could not find what they had listed there. any ideas on any alternatives of doing this?

273 04-20-2013 08:48 PM

If you're using Ubuntu then, perhaps you ought to look for an Ubuntu tutorial?
Arch Linux may be different to Ubuntu so following an Ubuntu tutorial ought to be more efficient.

frankbell 04-20-2013 08:50 PM

Try this command:

Code:

locate httpd.conf

shivaa 04-20-2013 11:58 PM

Can't you simply try find, as:
Code:

~$ sudo find / -name "httpd.conf" -print

sniper8752 04-21-2013 08:10 AM

Quote:

Originally Posted by shivaa (Post 4935618)
Can't you simply try find, as:
Code:

~$ sudo find / -name "httpd.conf" -print

It didn't find it. Maybe it was not included in this distro.

273 04-21-2013 08:16 AM

Quote:

Originally Posted by Page I linked to
httpd.conf is deprecated.

the apache 2 configuration is kept in
/etc/apache2/apache2.conf

Configuration files for individual sites (1 per site) should be kept in
/etc/apache2/sites-available/

http://ubuntuforums.org/showthread.php?t=903386
As I said Ubuntu is not Arch and following a tutorial for the wrong distro can be very inefficient.
Edit: I think this is the correct tutorial for Ubuntu:
https://www.digitalocean.com/communi...r-ubuntu-12-04

sniper8752 04-21-2013 08:33 AM

how do I know if ssl is now being used with my connections? is there a way to test it?

josecolella 04-21-2013 08:35 AM

In Debian-based systems the configuration file for apache is called apache2.conf and is located in /etc/apache2/

273 04-21-2013 09:01 AM

Quote:

Originally Posted by sniper8752 (Post 4935789)
how do I know if ssl is now being used with my connections? is there a way to test it?

Easy, just go to https://<yourdomain> (where <yourdomain> is the IP address or name of your machine) and your browser will tell you. You'll probably get a warning about an unrecognised certificate since it's self generated.

frankbell 04-21-2013 07:40 PM

. . . Or look in the Software Center and see whether Apache shows as installed.

chrism01 04-21-2013 07:56 PM

Or check to see if its set to listen on port 443 in the conf file.

rosehosting.com 04-23-2013 02:06 AM

To make sure Apache is listening on port 443, open the /etc/apache2/ports.conf file and verify the following exist:

Listen 443

If your Apache service is not configured to run SSL, this guide should help you setup SSL with apache2.

NevemTeve 04-23-2013 02:50 AM

Or try this:
Code:

httpd -V


All times are GMT -5. The time now is 03:36 PM.