This option will reset the home page of this site. Restoring any closed widgets or categories.

Reset

htaccess


Page 1 of 212»

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 On RewriteCond %{HTTP_REFERER} !^http://(.+\.)?yoursitename\.com/ [NC] RewriteCond... (Continue reading)

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 configuration is essentially equivalent to: Alias /cgi-bin/ /www/cgi-bin/ <Location /cgi-bin > SetHandler cgi-script Options... (Continue reading)

Tagged with:         

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 better... (Continue reading)

Tagged with:     

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... (Continue reading)

Tagged with:     

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 just add the... (Continue reading)

Tagged with:     

Page 1 of 212»