Apache: Redirections

De Wiki.

Aller à : Navigation, rechercher
(Page créée avec « === Rediriger tout en HTTPS === <syntaxhighlight lang='apache'> RedirectMatch permanent / https://monsite/ </syntaxhighlight> === Rediriger tout en HTTPS, sauf une URL === <... »)
(Page redirigée vers Apache HTTPd)
 
Ligne 1 : Ligne 1 :
-
=== Rediriger tout en HTTPS ===
+
#REDIRECT [[Apache HTTPd]]
-
<syntaxhighlight lang='apache'>
+
-
RedirectMatch permanent / https://monsite/
+
-
</syntaxhighlight>
+
-
 
+
-
=== Rediriger tout en HTTPS, sauf une URL ===
+
-
<syntaxhighlight lang='apache'>
+
-
RedirectMatch permanent ^/(?!server-status) https://monsite/
+
-
</syntaxhighlight>
+
-
 
+
-
[[Catégorie:Apache]]
+

Version actuelle en date du 27 septembre 2011 à 12:09

Outils personnels
Espaces de noms
Variantes
Actions
Navigation
Liens
Boîte à outils