Install and configure AWStats on Centos

Assume that you have Apache installed and it is working, you want to apply AWStats to your Centos server.

1. Install AWStats with yum.
yum install awstats
2. Edit the file named /etc/httpd/conf.d/awstats.conf with line below,

Alias /awstats/icon/ /var/www/awstats/icon/

ScriptAlias /awstats/ /var/www/awstats/

        DirectoryIndex awstats.pl
        Options ExecCGI
        order deny,allow
        allow from all

Alias /awstatsclasses "/var/www/awstats/lib/"
Alias /awstats-icon/ "/var/www/awstats/icon/"
Alias /awstatscss "/var/www/awstats/examples/css"

3. Edit the following line from /etc/awstats/awstats.localhost.localdomain.conf.

SiteDomain="domain.com"
HostAliases="www.domain.com"

4.Rename the configuration file to the correct one,
mv /etc/awstats/awstats.localhost.localdomain.conf /etc/awstats/awstats.domain.com.conf
5. Update the statistic,
/usr/bin/awstats_updateall.pl now -confdir=”/etc” -awstatsprog=”/var/www/awstats/awstats.pl”

New Tools for easy CSS Development

Most developers or web designers find the CSS tools help them in a numerous way by easing their tasks in a fun activity and allow them to create a stylized and optimized websites at the same time, it reduces the time taken to design or developing the websites. In this post, we are sharing some of the tools which you find it helpful and time saving as well.

prefixmyCSS
prefixMyCSS is a new tool (*Note: It is still in Alpha development*) which allows you to use the CSS3 techniques. You may first write the CSS code for your usual browser and paste your code and prefix it. The code will be altered and most browsers’ vendors will be added and you can replace them at your old code and see the magic works.

CSS Text Shadow
Most nicely designed or premium WordPress themes styled their text with shadow text. CSS Text Shadow is a text CSS styled generator  which allows you to choose the fonts, styles and just click on the Get Code button. You may preview the styled Text before pasting it at your styled sheet.

Continue reading New Tools for easy CSS Development