5 tutorials Apache

Apache is the most popular web server in the world. Developed by the Apache Software Foundation, Apache is an open source free web server . It runs on about 70% of all web servers in the world. It is fast, reliable, and secure. It is highly customizable through extensions and modules. Most web hosting providers offer Apache as their default web server in their web hosting packages.

Some notable Apache web features:

  • Loadable Dynamic Modules
  • Multiple Request Processing modes (MPMs) including Event-based/Async
  • Highly scalable (easily handle more than 10,000 simultaneous connections )
  • .htaccess support
  • Reverse proxy with caching
  • Load balancing
  • Fault tolerance and Failover with automatic recovery
  • WebSocket, FastCGI, SCGI, AJP and uWSGI support with caching,
  • Dynamic configurationTLS/SSL with SNI and OCSP stapling support via OpenSSL
  • Name- and IP address-based virtual servers IPv6-compatible
  • HTTP/2 protocol support
  • URL rewriting, Headers and content rewriting
  • Custom logging with rotation
  • Concurrent connection limiting
  • Bandwidth throttling, ,
  • Embedded Perl, PHP and Lua scripting, CGI support

In this section you will find step by step tutorials on how to do certain things with Apache.

Apache Tutorials

I moved this site from the domain forevergeeks.com to ittutorials.net a few weeks ago because I think the latter domain makes more sense for the type of content I publish here. The concerned I had about the move was that I’ve been using forevergeeks.com for a long time ( almost 10 years ) so there are many links and people that would get cut off if I did the move without implementing a redirect. I didn’t want that to happen, I wanted a seamless transition from the old domain to the new one  without breaking any link or cutting people off when they type in the URL directly. Apache 301 redirect After researching a little bit I found out that In Apache is actually very simple to do a domain change without breaking anything! You just have to add these…


I just tried to access this blog using its IP address and I noticed that on the 404 error that comes up it lists the name of the web server and its version. This can be a minor security risk. you don’t want to make it easier for hackers to hack your site by displaying the version of the web server your site is running on. To prevent apache from displaying this information, add these two lines at the end  of your apache2.conf file: ServerSignature Off ServerTokens Prod In Ubuntu the apache2.conf file is located at this location /etc/apache2/ After you add those lines, and reload apache sudo service apache2 reload Now when someone tries to access a nonexistent page in your web server they will the 404 page error but without the server signature: I don’t know why this…


If you are looking to speed up the loading time of your website or blog then you should enable http/2.0 in your web server. http/2.0 is the new updated HTTP protocol, and its supposed to be much more efficient than the now outdated http/1.1 version. I just enabled HTTP/2.0 on the web server running this blog, and I noticed a significant increase in speed. This blog is using HTPPS which is slower than regular HTTP but a page load of 1.1 second is not bad. I ran some tests on internal pages with a lot of images too and the page load time was about 2 seconds, which is still not bad. HTTP/2.0 Benefits There are many benefits in upgrading your web server to HTTP/2.0, and the main benefit is speed. faster speed is achieved in HTTP/2.0 by supporting queries…


If you have a dedicated Ubuntu web server, and want to host multiple websites from it, the easiest way to do it is using Apache Name-Based Hosting. This method of web hosting relies on the client ( people browsing the Internet ) typing the domain name of the website they want to visit. using this method, people cannot get to your website using an IP address, they must type the domain name on their browser to get to your website. to complete this guide, we need to have a valid domain name that we want to redirect to our web server running apache. Note: In this guide I will use forevergeeks.com  as example with the external IP address 45.79.134.144 pointing to my server. please change the information to match yours as we go along. DNS Setup The first thing you…


Yesterday I had to export a certificate from an intranet portal using IIS 6.0 to Apache 2.2 running on Ubuntu server 10.4. even though there is plenty of information on the web how export a certificate from IIS to Apache, I think most of the information out of there is either not very clear or is incomplete. On this post I hope to document the process of exporting a certificate from IIS to Apache as clear and complete as possible for those newbies like me doing this process for the first time. Exporting The Certificate From IIS 6.0 Login to your IIS server ( Windows Server ) and go to the RUN command and type “mmc” and click OK.. the MMC management console will come up. on the console click on File  and then Add/Remove Snap-in then click on Add…