Blog Archives for category htaccess

Redirect code from https to http?

Your can redirect all https (Secure) URL to http by using following code in .htaccess file. RewriteEngine on Options +FollowSymLinks… Continue reading »

Redirect loop and LimitInternalRecursion error message.

Most of the time we receive following redirect loop error message. Request exceeded the limit of 10 internal redirects due… Continue reading »

Redirect via index file

For example we want to show to therefore create the index.html under the domain main document root… Continue reading »

Default htaccess file for CodeIgniter PHP framework

CodeIgniter is one of the PHP framework with small footprint and its not working properly like we are receiving the… Continue reading »

Stop .pl .cgi Script Execution From Browser

To secure the web content from the hacker by executing the .pl or .cgi script, we can refer to the… Continue reading »

Block traffic from single referrer

The traffic from the referrer is useful for sites rank and promotion but some time wrong referrer can cause the… Continue reading »

Permission denied: /home/user/public_html/.htaccess pcfg_openfile:

Permission denied: /home/user/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable. What is the reason for this? ++++++++++++++++++++++++++++++++… Continue reading »

How to disable directory listing in the server.

Disable directory browsing using .htaccess:- * Open .htacces file * Look for Options Indexes * If Options Indexes exists modify… Continue reading »

To redirect a domain to its https version

Add the following entry in the .htaccess file in the document root of the domain RewriteEngine on RewriteCond %{SERVER_PORT} !^443$… Continue reading »

Block specific file extensions using .htaccess

Some times you need to block visitor access to specific file types that is not being used in web server.You… Continue reading »