0
IE compatibility view force Internet Explorer to use Internet Explorer 7 rendering mode
IE compatibility view force Internet Explorer to use Internet Explorer 7 rendering mode.My website was having issues in the way it was displaying in Internet Explorer 8, only compatibility view was working fine.So inorder to automatically render...
Speed up wordpress using .htaccess part 1
Very simple method to speed up websites that use wordpress as backend using .htaccess methodology
Add the below stuff whatever i have given in your .htaccess file simple.
gzip files
gzip allows you to compress files, so obviously that means...
Redirect URL including query string using htaccess
Redirect URL from one domain to another including query string using .htaccess, very simple.
Create a .htaccess file in the root directory of domain1.com and then add the following lines.That will take care of the rest.
For example
http://www.domain1.com/view.php?id=1&show=2...
Hotlinking protection using .htaccess
Protect your website bandwidth from other websites that tries to hotlink your images.
Very simply you can prevent this using a .htaccess file in your images directory and add the following code
This is really a simple approach
RewriteEngine...
ScriptAlias and Alias in httpd.conf at a glance
Here i am gonna quickly explain you the difference between ScriptAlias and Alias
example:
ScriptAlias /cgi-bin / www/cgi-bin/
A request for http://mywebpage.com/cgi-bin/foobar would cause the server to run the script /www/cgi-bin/foobar. This...
Apache AddHandler application/x-httpd-php not working?
Some times the AddHandler application/x-httpd-php .php .htm .html .my whatever if you put this in .htaccess file or in HTTPD.conf it seems to be not working.
WHY?
Because sometimes especially if you are using a shared hosting it will be always...
PHP Most Potentially Dangerous Feature, Secure It Today PHP Secrets
1. Register Globals
When this directive is On, PHP will inject extra variables in the script such as HTML request variables, etc. PHP could inject these sort of variables in a script. The problem with this approach is that a developer cannot...
Disable the TRACE and TRACK For More Security
An attacker may manipulate the TRACE and TRACK methods to intercept your visitors’ sensitive data. The solution, of course, is disable these methods on your webserver.This is a security vulnerability found in Apache servers.So to disable this...
Speed up wordpress using .htaccess part 2
1 – Protect your WordPress blog from hotlinking
Hotlinking is the use of an image from one site into a web page belonging to another site. Many bloggers are hotlinked, and have their bandwidth used on another websites. This very helpful...
Page 1 of 11
