CHMOD Settings for Various File Types using htaccess This method is great for ensuring the CHMOD settings for various file types. Employ the following rules in the root htaccess file …
2011
-
-
Block or allow multiple IP addresses on one line Using htaccess Save a little space by blocking multiple IP addresses or ranges on one line. Here are few examples (edit …
-
Send character set and other headers without meta tags # send the language tag and default character set # AddType ‘text/html; charset=UTF-8’ html AddDefaultCharset UTF-8 DefaultLanguage en-US
-
Uploading large files in PHP using .htaccess web servers are configured such a way that a user can only upload the maximum file size of 2MB. So there might be …
-
Prevent Directory Listing using .htaccess What is directory listing ? As we know, most of the website contains “images” folder inside the root folder. If we type “www.somesite.com/images” in the …
-
mod_rewrite and basic examples ModRewrite is a powerful feature of the Apache web server. It provides an easy way to modify/manipulate URLs. As complicated as it sounds a regular webmaster …
-
Mod rewrite PHP to HTML using htaccess how you can rewrite all your PHP pages to HTML using a simple .htaccess rule for better search engine indexing. This is a …
-
Deny or Allow Certian IP Addresses In some situations, you may want to only allow people with specific IP addresses to access your site (for example, only allowing people using …
-
Enabling SSI Using htaccess Many people want to use SSI, but don’t seem to have the ability to do so with their current web host. You can change that with …
-
How do you edit the .htaccess file Before you upload an .htaccess file to your server, make sure there is not already one there. Your host panel or perhaps a …