Moja lekcja

 0    11 tarjetas    guest2883418
imprimir jugar test de práctica
 
término - definición -
Włączenie rewrite
empezar lección
RewriteEngine On
Forcing www in the URL (RewriteRule)
empezar lección
RewriteRule (.*) https://www.example.com/$1 [R=301, L]
Forcing www in the URL (RewriteCond)
empezar lección
RewriteCond %{HTTP_HOST} ^example.com
Input: user/NAME/ Output: user. php? id=NAME
empezar lección
RewriteRule ^user/(\w+)/?$ user. php? id=$1
Optional trailing slash "/" in pattern
empezar lección
/?
End of Input in pattern
empezar lección
$
RewriteCond do jakiego RewriteRule
empezar lección
Wszystkie RewriteCond powyżej jednego RewriteRule muszą zostać spełnione
Syntax of a RewriteRule
empezar lección
RewriteRule Pattern Substitution [Flags]
Syntax of a RewriteCond
empezar lección
RewriteCond TestString Condition [Flags]]
Pattern do wybrania wszystkich adresów
empezar lección
^(.*)$
The [L] flag
empezar lección
indicates that this is the last rule to parse. Beyond this line, the rewrite engine should stop.

Debes iniciar sesión para poder comentar.