From: Vincent Bray
The example given here will rewrite any request to
index.php
, giving the original request as a query string
argument to index.php
, however, if the request is already
-for index.php
, this rull will be skipped.
index.php
, this rule will be skipped.
RewriteCond %{REQUEST_URI} !index\.php
@@ -285,7 +285,7 @@ considered.
The target (or substitution string) in a RewriteRule is assumed to be a
-file path, by default. The use of the [PT] flag causes it to be trated
+file path, by default. The use of the [PT] flag causes it to be treated
as a URI instead. That is to say, the
use of the [PT] flag causes the result of the RewriteRule
to be passed back through
URL mapping, so that location-based mappings, such as Alias
, for example, might have a chance to take
@@ -391,7 +391,7 @@ sent. This has the same effect as the
-# Serve .pl files as plan text
+# Serve .pl files as plain text
RewriteRule \.pl$ - [T=text/plain]
The example given here will rewrite any request to
index.php
, giving the original request as a query string
argument to index.php
, however, if the request is already
-for index.php
, this rull will be skipped.
index.php
, this rule will be skipped.
The target (or substitution string) in a RewriteRule is assumed to be a
-file path, by default. The use of the [PT] flag causes it to be trated
+file path, by default. The use of the [PT] flag causes it to be treated
as a URI instead. That is to say, the
use of the [PT] flag causes the result of the