How to use .htaccess

The .htaccess file is an extremely powerful and efficient means of performing configuration on your Website. .htaccess is typically used for blocking visitors, rewriting URLs, cache control, customizing error messages and access control (security) among other things.

gne will now be treated as PHP files! Similarly, x-httpd-cgi for CGI files, etc.

Use MD5 Digests

Performance may take a hit but if thats not a problem, this is a nice option to turn on.

ContentDigest On

The CheckSpelling Directive

From Jens Meiert: CheckSpelling corrects simple spelling errors (for example, if someone forgets a letter or if any character is just wrong). Just add CheckSpelling On to your htaccess file.

The ContentDigest Directive

As the Apache core features documentation says: “This directive enables the generation of Content-MD5 headers as defined in RFC1864 respectively RFC2068. The Content-MD5 header provides an end-to-end message integrity check (MIC) of the entity-body. A proxy or client may check this header for detecting accidental modification of the entity-body in transit.

Note that this can cause performance problems on your server since the message digest is computed on every request (the values are not cached). Content-MD5 is only sent for documents served by the core, and not by any module. For example, SSI documents, output from CGI scripts, and byte range responses do not have this header.”

Learn Mailchimp

Comments

my wordpress isn’t allowing me to use folder /forum where i want to install a forum using SMF. when i writte website.com/forum/install.php i get wordpress error message. how can i change this and tell WP that /forum isn’t a post or category? i have one other site where this works but i can’t find what i have done different

Mailchimp Training Near You

What our clients say

"Gary was awesome! He has a fantastic way of making everything rather simple and straightforward. I definitely left with a lot more knowledge, confidence and ideas than when I walked in. Thanks Gary!" Fiona