Posted by chantra on 30th July 2006
3. PHP:
Another way to hide which PHP version you are running can be achieved through php.ini.
Php as a directive of its own in order not to be too verbose, this is the variable called expose_php. Turning this one to Off will avoid php telling that it is running. In the following output, I had ServerTokens set to Full and expose_php to Off:
Read the rest of this entry »
Tags: apache
Posted in Administration, HowTo, HTTP | No Comments »
Posted by chantra on 30th July 2006
While running a HTTP server such as Apache, there is a few step an administrator have to take in order not to get easily hacked. The very basic one is to hide from the outside which software version and operating system version are running.
Read the rest of this entry »
Tags: apache
Posted in Administration, HowTo, HTTP | No Comments »
Posted by chantra on 15th June 2006
2. Adding modules:
Now, taking into account the strucutre of apache, it is pretty easy to add modules to be loaded by apache. Let’s assume that you want to add mime_magic module. To do so, you can either:
Read the rest of this entry »
Tags: apache
Posted in Administration, HowTo, HTTP | No Comments »
Posted by chantra on 15th June 2006
Apache is usually suitable out of the box for most common used. The apache structure under debian based systems is actually really well made as it is really easy to activate or deactivate module.
This how-to will show how to activate or deactivate available modules under a debian system running apache2.
Read the rest of this entry »
Tags: apache
Posted in Administration, HowTo, HTTP | No Comments »
Posted by chantra on 21st April 2006
Awstats is a great web log analyser. It gives really usefull statistics about traffic on your web sites.
Installing awstats in debian/ubuntu still needs so tweaking to produce neat statistics.
In this articles, I’m going to show you what needs to be done.
Read the rest of this entry »
Tags: apache
Posted in Administration, HowTo, HTTP | No Comments »
Posted by chantra on 21st April 2006
3. Configuring Awstats:
Awstats configuration file are located in /etc/awstats. By default, when calling the URL http://www.mysite.org/awstats/awstats.pl, awstats is looking for the configuration file name after your domain name, namely here /etc/awstats/awstats.www.mysite.org.conf. You can override this by giving awstats an argument named config. For instance http://www.mysite.org/awstats/awstats.pl?config=foobar will indicate awstats to fetch the configuration from /etc/awstats/awstats.foobar.conf.
Read the rest of this entry »
Tags: apache
Posted in Administration, HowTo, HTTP | 2 Comments »
Posted by chantra on 21st February 2006
Virtual Hosting allow web servers to host more than one website on a sing machine. This is how sharing hosting works. I become pretty handy as well while develloping different web project on the same machine and allows you to access to your local repository using addresses such as http://dev.mysite.com instead of http://localhost/~myuser/myproject/
.
This tutorial is based on a machine runnning ubuntu/linux but should be the same on any debian based distribution and almost the same on other distributions.
Read the rest of this entry »
Tags: apache
Posted in Administration, HowTo, HTTP, Networking | 2 Comments »