As the main configuration file on an Apache HTTP server, the file controls major settings and can allow for customization on your machine. Found in the /etc/httpd folder, the file should be secured against external writing since it controls a wide range of important functions.
The two main types of logs provided by your server are error and access logs. By understanding the meanings of information within these files you can optimize your site accordingly.
When you have non-public resources you want to display on your Apache serve, there are a variety of modules and settings which can enable proper user authentication.
Nobody would like visitors to see an HTTP error code when visiting their website; however, it happens. HTTP error codes exist to tell the visitor that there was an issue accessing the requested page. HTTP error codes are the 400- and 500-series codes; 400-series codes identify client request errors and 500-series codes identify server-side errors.
If you want to prevent a file from being downloaded by your visitors or maybe just by a small group of users, you can achieve this by creating a .htaccess file. This file can be placed at the root of your website or in the same folder as the files you want to protect.
For instance, [...]
Shared hosting has always very popular among the average website owners as it’s one of the cheapest hosting solution. Not everybody can afford to have their own dedicated server.
While shared hosting may suit most website requirements, in some cases you’ll need to change some PHP settings. And as you don’t have access to server administration, [...]
A couple of weeks ago, I’ve post a series of tutorials on How To Install Your Own Web Server on Windows with Apache, PHP and MySQL. Today I’m going to sort of pick up where these tutorials left by introducing you to Apache’s Directory Aliases.
While it may not be necessary for you to read all [...]
This is finally the last post of this series on How To Install Your Own Web Server. In my last post I’ve shown you how to setup a virtual host and now we’re going to use this to install phpMyAdmin.
Of course, the purpose of this tutorial is not really to install phpMyAdmin but it’s rather [...]
In my last post of this series, I’ve shown you how to create a MySQL database using the GUI tools. In the fifth part of this tutorial, we’re now going to see how to add a virtual host.
What Is A Virtual Host?
A virtual host allows your web server to serve multiple websites from a unique [...]
Unfortunately I haven’t seen any good web hosting control panel for Apache on Windows (if you know some, leave a comment!). So that’s why we’re going to need something else to manage the MySQL server.
MySQL provides a set of GUI tools that allows you to perform such tasks as managing databases, managing database users, configuring [...]
In the third part of this tutorial, we’re now going to install PHP 5 on Windows.
In the two previous posts, we’ve seen how to install Apache and MySQL on a Windows computer so you you should already have a working web server and database server.
This is the second part of our tutorial on how to install your own home web server. In the first, you’ve seen how to install Apache HTTP Server on Windows. Now we’re going to see how to install MySQL, a free database server.
MySQL comes in two flavors: Enterprise Edition and the MySQL Community Server. Of [...]
Sometimes I like to have my own web server, whether it is for testing or development purposes. Since I use Windows XP or Vista on my personnal computer, my favorite setup is Windows, Apache, PHP and MySQL. This setup is also known as WAMP. And maybe you guessed it, the Linux equivalent of this setup [...]
Whether you’re running a virtual or dedicated web server, you want to squeeze as much juice as you can out of it. Apache’s HTTPD server has the possibility to use compression when it sends data to a web browser. The compression algorithms work particularly well on text data like HTML, CSS and Javascript but compressing [...]