IF your website is using cpanel system, your website root directory should be /home/yourusername/public-html directory. When anyone want to visit your website, the apache server…
Sometimes you donot need to run php code in all your folder such as your image folder. In your Image folder, add following codes: order…
we can redirect the non SSL query to your website to SSL port by using .htaccess file.This will help you to access the websites from…
Common Gateway Interface is abbreviated to CGI. This is a standard way for web servers to interface executable scripts with end users. Those executable scripts…
Server Side Includes (SSI) is a simple interpreted server-side scripting language used almost exclusively for the Web.The most frequent use of SSI is to include…
The index of a directory can come from one of two sources: A file written by the user, typically called index.html. The DirectoryIndex directive sets…
The hot link Protection technique allows you to prevent other websites from directly linking to files on your website. This is most commonly used to…
When you notice a surprising increase in traffic and check your logs one day, and see tons of referrals from a particular site, yet upon inspection…
Protecting files on your website from unauthorized users can be very important. You could use PHP to listen for login authorization information on each page,…