Apache: How To Deny Access To Certain File Types
Sometimes we need to close access to cerain file types. We often deny directory listings and think that’s enough. But even if the files will not appear in directory indexes this will not imply that...
View ArticleDeny Access to All IPs Except Yours .htaccess Solution
Sometimes you need to perform any specific tasks that require nobody accesses the page while it is being edited. There may be some tests, database update or anything else. So your task is to deny...
View ArticleHow To Deny Directory Listing Using .htaccess
Often when you’re using shared hosting, there are some problems with directory listing. Server administrators should avoid this as this represents a security hole. But what to do if you don’t have...
View ArticleSetting Custom Error Pages for All User Domains with .htaccess on a...
Sometimes it is useful to use custom error pages on all user domains (In case of maintenance, new software installation, etc). It’s a pity you are unable to do it for all user domains in Directadmin,...
View ArticleHow To Protect a Folder Using .htaccess From Command Line
We do often meet password protected directories on the Web. This is usually used to hide some information that should not be visible to all site users. Most common is .htaccess protection, that allows...
View Articlehtaccess Site Redirection Without Parameters
Sometimes you need to redirect all traffic from one site to another. Very often site structure is different and the need is to send visitors to the main page of the site. This makes Site Redirection...
View ArticleHow To Find The Version of Linux You Are Using
Sometimes you need to know what version of the Operating system is installed on your server. This is extremely useful when you order a dedicated server and want to know what is the version of OS on it....
View ArticleHow to Enable register_globals in php using .htaccess
As you should already know, register_globals is a php.ini directive that manages the way PHP deals with variables. It has been deprecated for security issues and we won’t see it in PHP 6.0. If the...
View ArticleHow to Disable PHP Output Buffering With .htaccess
In order to disable PHP outbut buffering for a single site, you can add the following line to .htaccess: php_value output_buffering Off Reboot Apache and have fun!
View Article
More Pages to Explore .....