Environment variables contain information used by server-side includes (SSI) and CGI. Set / Unset environment variables using SetEnv and UnSetEnv. SetEnv SITE_WEBMASTER “Jack Sprat” SetEnv…
If you run the risk of someone accessing your php.ini file directly through their browsers, you can limit access to them using htaccess file. Put…
If you are running php websites, and a php includes folder that is only used for the calling of your own php scripts. I know…
Error pages of your website like 404 not found, 403 access forbidden pages contains server signature i.e. server version number, operating system etc., such information…
Normally your server timezone is set to its local timezone. But as a webmaster, you can set your website timezone by date.timezone directive in htaccess…
If you want to protect your wordpress website admin folder wp-admin folder by htaccess file. You can check How to deny IP address to your…
To disable or prevent the directory access by browsers, you can add following code in your .htaccess file. If user points the browsers to a…
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…