One of the tasks that almost every web master need to check form time to time is to list loaded modules in Apache web server, fortunetly standard Apache installation in Linux distributions comes with useful tool called apachectl.

in Debian and Ubuntu you can use the following

apache2ctl -t -D DUMP_MODULES

it will print all loaded modules :

Loaded Modules:
 core_module (static)
 log_config_module (static)
 logio_module (static)
 mpm_prefork_module (static)
 http_module (static)
 so_module (static)
 alias_module (shared)
 auth_basic_module (shared)
 authn_file_module (shared)
 authz_default_module (shared)
 authz_groupfile_module (shared)
 authz_host_module (shared)
 authz_user_module (shared)
 autoindex_module (shared)
 cgi_module (shared)
 deflate_module (shared)
 dir_module (shared)
 env_module (shared)
 mime_module (shared)
 negotiation_module (shared)
 php5_module (shared)
 reqtimeout_module (shared)
 rewrite_module (shared)
 setenvif_module (shared)
 ssl_module (shared)
 status_module (shared)
 vhost_alias_module (shared)
Syntax OK

 

Please note some Linux distribution uses apachectl instead of apache2ctl

 

Dear Tech Support,

Last year I upgraded from Boyfriend 5.0 to Husband 1.0 and I noticed a
distinct slowdown in the overall system performance, particularly in
the flower and jewellery applications, which operated flawlessly under
Boyfriend 5.0.

In addition, Husband 1.0 uninstalled many other valuable programs,
such as Romance 9.5 and Personal Attention 6.5, and then installed
undesirable programs such as NEWS 5.0, MONEY 3.0 and SOCCER 4.1.
Conversation 8.0 no longer runs, and Housecleaning 2.6 simply crashes
the system.

Please note that I have tried running Nagging 5.3 to fix these
problems, but to no avail. What can I do?

Signed,
NN

Reply:

DEAR Madam,

First, keep in mind, Boyfriend 5.0 is an Entertainment Package, while
Husband 1.0 is an operating system.

Please enter command: ithoughtyoulovedme. Html and try to download Tears
6.2 and do not forget to install the Guilt 3.0 update.
If that application works as designed, Husband1.0 should then
automatically run the applications Jewellery 2.0 and Flowers 3.5..

However, remember, overuse of the above application can cause Husband
1.0 to default to Silence 2.5 or Beer 6.1.
Please note that Beer 6.1 is a very bad program that will download the
Snoring Loudly Beta.

Whatever you do, DO NOT under any circumstances install Mother-In-Law
1.0 (it runs a virus in the background that will eventually seize
control of all your system resources.)

In addition, please do not attempt to reinstall the Boyfriend 5.0 prog

 

InfoQ: CouchDB and Me.

Very inspiring presentation by Damien Katz the creator of CouchDB.

 

In the below link you will find a nice article about the impact of code cleanup, broken links , 301 redirect on site SEO.

after reading this article you will start looking for some tools to clean up the mess on your site :) try cleanup html to clean some messy html code.

Case Study: Impact of Code Cleanup on Site Traffic – Search Engine Watch (SEW).

 

 

Google Analytics in the last couple of years became a standard tool for web analytics as well a statndard tool for tracking marketing campaign. when a visitor hits first time your site Google Analytics sets different types of cookies in the visitors browser, one of these cookies is called utmz. this cookie holds quite valuable information like campaign name, campaign source, campaign medium, campaign term and campaign content.

to extract this data I used the following PHP method :

function getUtm(){
    $utm = array();
    if(!empty($_COOKIE['__utmz'])){
        $pattern = "/(utmcsr=([^\|]*)[\|]?)|(utmccn=([^\|]*)[\|]?)|(utmcmd=([^\|]*)[\|]?)|(utmctr=([^\|]*)[\|]?)|(utmcct=([^\|]*)[\|]?)/i";
        preg_match_all($pattern, $_COOKIE['__utmz'], $matches);
        if(!empty($matches[0])){
            foreach($matches[0] as $match){
                $pair = null;
                $match = trim($match, "|");
                list($k, $v) = explode("=", $match);
                $utm[$k] = $v;
           }
        }
    }
    return $utm;
}

the returned array from this method will contain the following:
utmccn => campaign name
utmcsr => campaign source
utmcmd => campaign medium
utmctr => campaign term or keyword
utmcct => campaign content

Get Adobe Flash playerPlugin by wpburn.com wordpress themes
© 2012 Roger's blog Suffusion theme by Sayontan Sinha