Sometimes you will find some website have error that display: Not Found on Accelerator Description: Your request on the specified host was not found. Check…
Linux is an operating system just like Windows 5, Windows XP, Windows 7, Windows 8, Window 10, and Mac OS X. An operating system is…
For Detail htaccess file Usages and how to create it, please check htaccess file knowledge base Millions of WordPress users use the .htaccess file to…
Under PHP you need to use header() to send a raw HTTP header. Using headers()method, you can easily transferred to the new page without having…
Here is a useful method for delivering multimedia file downloads to your users. Typically, browsers will attempt to play or stream such files when direct…
You can use Mod_Rewrite to deny requests containing invalid characters, RewriteEngine On RewriteBase / RewriteCond %{THE_REQUEST} !^[A-Z]{3,9}\ [a-zA-Z0-9\.\+_/\-\?\=\&]+\ HTTP/ [NC] RewriteRule .* – [F,NS,L] You…
If you want all your cgi, php, perl, py scripts not to run, but just display as source code. htaccess fil can help you by…
php_value upload_max_filesize 20M php_value post_max_size 20M php_value max_execution_time 200 php_value max_input_time 200 In the above .htaccess file, uploading capability is increased by the four parameter…
You can cache the static files and improve your website’s performance. File caching is another famous approach in optimizing website loading time. Search engine will…
If you want to redirect from an old document to new: Redirect 301 /old/file.html http://yourdomain.com/new/file.html Use following for redirecting Entire Directory. RedirectMatch 301 /blog(.*) http://yourdomain.com/$1