• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » httpd.conf Missing or Empty : Fix!

By Abhishek Ghosh April 10, 2014 4:04 pm Updated on April 10, 2014

httpd.conf Missing or Empty : Fix!

Advertisement

Is Your httpd.conf Missing or Empty? My One Ubuntu 13.10 Server’s httpd.conf is also missing! It is supposed to be missing! It is designed to be missing! In a comment we have received exactly this question – “My server is missing the httpd.conf file. I cannot find on my server anywhere, even on the image saved. Is there any way I can rebuild this or have I killed yet another server…”

There are lot of misunderstandings with Apache Webserver Software; which we believe to be the root cause of inviting other web server softwares; which are probably not so much tweak able like Apache. Later we performed a search on httpd.conf Missing issue and found to be a very common complain!

 

Understanding the httpd.conf Missing or Empty Phenomenon

 

Historically, if we installed Apache2 via sudo-apt-get install command, we used to get an entirely different set of files and directory structures than if we download the binaries, unzip it and build it manually. If we download from the Apache site, we used to get an httpd.conf file. httpd.conf is usually the main configuration file for the Apache web server. This is the case for Red Hat Enterprise Linux (RHEL), CentOS and our OS X. But not on Ubuntu and certain deb based Linux.

Advertisement

---

So, now httpd.conf is usually non-existent on Ubuntu (specifically). It has been many versions ago since it was not used anymore, but still required for legacy reasons. As of 12.10 https.conf it is not there anymore. Everything is now handled from the /etc/apache2 subdirectories and conf files. The best resource for Ubuntu is :

Vim
1
https://help.ubuntu.com/12.10/serverguide/index.html

For Apache, there is actually huge resource, it is so huge; difficult to remember where you were, if you were reading something and forgot to bookmark :

Vim
1
http://httpd.apache.org/docs/

As Ubuntu, Debian or whatever OS is actually managing the HTTP server software with aptitude, practically; we should give preference to the OS manual over the Software manual (it is written for ALL). If you want to build in the traditional way, here is it :

Vim
1
http://httpd.apache.org/docs/2.4/install.html

 

Probably These Are Not The Reasons For What You Were Complaining About httpd.conf Missing or Empty

 

You were reading some guide, may be older; where you were following some tricks or tips and ultimately understood that your httpd.conf is either missing or empty. So, right now if installed with apt-get install; we have the file apache2.conf at :

Vim
1
/etc/apache2/apache2.conf

And mods under :

Vim
1
/etc/apache2/mods-available

 

We can add any new mod file and run :

Vim
1
2
sudo a2enmod modname
sudo service apache2 restart

This is illustration like book reading :

httpd.conf Missing or Empty

In order to enable it. Actually it keeps the things organized. If you want to use httpd.conf file (which is user’s configuration), edit the apache2.conf file and save it :

Vim
1
2
3
4
5
6
7
nano /etc/apache2/apache2.conf
# Edit this line to enable
Include /etc/apache2/httpd.conf
# write out and exit, restart apache
cd etc/apache2/
touch httpd.conf
# write there

Now, a good thing for you :

Vim
1
https://help.ubuntu.com/13.10/serverguide/httpd.html#http-configuration

We guess it solves the httpd.conf Missing or Empty problem.

Tagged With windows confhttpd conf , linux service missing , httpd is missing , httpd conf is missing , httpd conf file missing , httpd conf file is missing , http conf file missing centos 7 , apache2 missing httpd conf , apache web server httpd conf missing , windows httpd conf file missing
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to httpd.conf Missing or Empty : Fix!

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • How To Install Apache2 on Ubuntu 18.04 With Let’s Encrypt, HTTP/2, HSTS

    Here is Detailed Guide on How To Install Apache2 on Ubuntu 18.04 With Let’s Encrypt, HTTP/2, HSTS With Commands and Configurations For Most Secured Setup.

  • Changing Data With cURL for OpenStack Swift (HP Cloud CDN)

    Changing Data With cURL For Object is Quite Easy in OpenStack Swift. Here Are Examples With HP Cloud CDN To Make it Clear. Official Examples Are Bad.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Transducer Technologies of HeadphonesSeptember 28, 2023
  • What is Analog-to-Digital Converter (ADC)September 27, 2023
  • Comparison of Tube Amplifiers and SemiconductorsSeptember 26, 2023
  • What is a Digital-to-Analog Converter (DAC)September 25, 2023
  • Tips on S Pen Air ActionsSeptember 24, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy