Deny Access of Files,Folders through htaccess – Deny from All

How to Deny access of Files and Folders through .htaccess File

How to Deny access of Files and Folders through .htaccess File

How to restrict direct access of files and folders through .htaccess file. In this tutorial, I’ll discuss some .htaccess directives through which you can deny direct access of files and folders.

What is .htaccess File ?

.htaccess is a configuration file used by a web server (Apache). The fullform of htaccess is Hypertext Access. htaccess files are used to override server global configuration for the directory level in which you place this file.

Recursion vs Iteration – Difference between Recursion and Iteration

Recursion vs Iteration. What’s the difference between recursion and iteration. Recursion and Iteration both are two different programming approaches. In some cases recursion is best suited and in some other cases iterative way of programming is good.

In programming, repeated set of instructions can be handled either by using recursive or iterative approach in your code. So which approach you choose and why. Let’s talk about recursion vs iteration.

Implementation of Binary Search using Recursion.

Minimum Time to Cross Bridge by Four People using Torch

Four people need to cross a bridge at night and they have one torch. The bridge can handle the load of only two people at a time. Person A can take 10 minutes, B takes 7 minutes, C takes 2 minutes and D takes 1 minute to cross the bridge. When two people cross the bridge together, they must move at the slower person’s pace. What’s the minimum time taken by four of them to cross the bridge.

How to Increase File Size Import Limit in phpMyAdmin

How to increase file size import limit in phpMyAdmin. This is the common question asked by most of the people that, I get an error message when I am importing a file more than 2MB using phpMyAdmin.

I assume you have LAMP and phpMyAdmin installed on your system and your importing MySql database.

In your default setting, you’ll get following error message when you try to upload  a file more than 2MB.

Error : No data was received to import. Either no file name was submitted, or the file size exceeded the maximum size permitted by your PHP configuration…

How to Remove WWW From URL through htaccess

How to remove www from url through htaccess. Suppose, if a user type (example is the name of your domain) in their browser, you can automatically redirect them to

For website SEO (Search Engine Optimization) purpose, it is necessary that your blog or website either respond to or, but not both. Otherwise, search engines see duplicate content on the www and non-www domains, and may downgrade the site ranking.

In my previous posts, I have explained htaccess file and their importance. In this post, We will learn how to remove www from url through htaccess.

How to Install MySql Workbench on Ubuntu

How to install MySql workbench on Ubuntu.

MySql is one of the most used database worldwide. To manage MySql database there are lot of open source GUI tools are available. Some of the popular GUI based tools is  MySql workbench, phpMyAdmin etc. In this tutorial you’ll learn how to install MySql workbench on Ubuntu.

MySQL Workbench

MySQL Workbench is a GUI based visual tool. Workbench is widely used by developers,  DBAs for data modeling, SQL development, and comprehensive administration tools for server configuration, user administration, backup, and much more. This tool is available for Windows, Linux and Mac OS operating system.

In this article i’ll show how you can install MySql workbench on Ubuntu.

How to Install and Remove phpMyAdmin on Ubuntu.