by Shashi Dhar Kumar | May 18, 2014 | HTACCESS, JavaScript, MySQL, Open-Source, PHP, Ubuntu, Unix OS, Windows
What is Security? Fundamentally, security is not about perfectly secure systems. Such a thing might well be impractical, or impossible to find and/or maintain. A secure server protects the privacy, integrity, and availability of the resources under the server...
by Shashi Dhar Kumar | Aug 22, 2013 | HTACCESS, Open-Source, PHP, Unix OS
Execute Cron Job in Cpanel using PHP script. In cpanel the following will also work: Execute code every minute(Server Time) using following code: * * * * * php -q /home/serverpath/file.php Execute code every five minute(Server Time) using following code: */5 * * * *...
by Shashi Dhar Kumar | Feb 10, 2012 | PHP, Programming, Unix OS
How to redirect web based page with .htaccess Following are the code to paste (be careful to write on .htaccess it can be messed up whole website if anything goes wrong) into .htaccess file 301 redirection for any domain : RewriteEngine On RewriteCond %{HTTP_HOST}...
by Shashi Dhar Kumar | Jan 29, 2011 | PHP, Unix OS
How to increase my website speed through .htaccess in LAMP Technology Many LAMP(Linux Apache MySQL PHP) driven websites today could easily decrease their bandwidth output and increase their speed through implementing caching and compressing their content. Even with...
by Shashi Dhar Kumar | Jan 24, 2011 | Ubuntu, Unix OS, Windows
Enable htacces localhost – How to Enable htaccess in xampp (localhost)? Just go the Terminal and follow the following steps I enabled mod re-write by typing below command and restart the apache server. sudo a2enmod rewrite Now restart your apache2 by typing...
by Shashi Dhar Kumar | Aug 2, 2010 | Open-Source, Ubuntu, Unix OS
This step-by-step howto shows a basic setup for Apache 2 web server. Apache is installed on Ubuntu 6.06 LTS Dapper, but instructions will probably work on any Ubuntu. This document is a work in progress, initially only required commands are listed without trough-out...