Normes (htaccess[4])

Facebook Twitter

Mod_rewrite Cheat Sheet by DaveChild. Mod_Rewrite Variables Cheatsheet. We've figured out what mod_rewrite variables look like so we can create rewrite rules and condition patterns based on the actual value.

Mod_Rewrite Variables Cheatsheet

This cheatsheet is where we'll lay them all out for quick reference. This cheatsheet changed my life. Here the focus is on identifying mod_rewrite variables and defining the limits of the module by checking the mod_rewrite source code. HTTP Status Codes and .htaccess ErrorDocuments. I was trying to find an official, authoritative list of HTTP Status Codes but I kept finding lists that weren't authoritative or complete.

HTTP Status Codes and .htaccess ErrorDocuments

So I searched and found my answer in the Apache HTTP Server source code. Once I had the exact HTTP Status Codes and resulting Error Documents sent by Apache, I researched deeper into HTTP Status Codes by reading as many related RFC's as I could find, and several other software source codes were explored. This is the most authoritative list I know of, if you can do better leave a comment and I'll update it. Mod_Rewrite Variables Cheatsheet. Htaccess Rewrite for Redirecting Uppercase to Lowercase Post by AskApache | Apr 30, 2013 Want to redirect all links with any uppercase characters to lowercase using pure mod_rewrite within an .htaccess file?

Mod_Rewrite Variables Cheatsheet

Sure why not! OR how to use RewriteMap and mod_speling for those with access to httpd.conf THE Ultimate Htaccess. Ultimate Htaccess Part. .htaccess is a very ancient configuration file that controls the Web Server running your website, and is one of the most powerful configuration files you will ever come across.

Ultimate Htaccess Part

Htaccess has the ability to control access of the WWW's HyperText Transfer Protocol (HTTP) using Password Protection, 301 Redirects, rewrites, and much much more. Ultimate Htaccess Part II. Here is even more information from the Ultimate Htaccess Part I.

Ultimate Htaccess Part II

For now this is very rough and you will want to come back later to read it. Merging Notes ^ Htaccess : cache control et expire headers. Le htaccess est un fichier de configuration de votre serveur, et celui-ci peut vous rendre énormément service pour les performances de votre site, sur l'expérience utilisateur et sur le référencement naturel.

Htaccess : cache control et expire headers

Mais c'est un peu le flou sur la manière de le configurer. Voici donc un guide pour coder votre fichier htaccess : Activer la compression GZIP pour optimiser le temps de chargement de votre site. Dans la série des optimisation rapides à mettre en place pour accélérer le temps de chargement d’un site internet : la compression GZIP.

Activer la compression GZIP pour optimiser le temps de chargement de votre site

La compression GZIP c’est quoi ? Un façon de compresser les fichiers servis par votre serveur, afin d’en diminuer le poids, et donc, le temps de chargement. Rewriterules - 10+ Mod_Rewrite Rules You Should Know. Aug 18 2009 Mod_rewrite is an Apache-based rewrite engine for dynamically rewriting URLs.

Rewriterules - 10+ Mod_Rewrite Rules You Should Know

It’s built into Apache servers natively, though not enabled by default. It’s capable of functions beyond simple rewrites, though, some of which are included below. Turn Mod_Rewrite On.