The request:
www.mysite.com/testing123
The rule:
RewriteRule ^(testing.*)$ test.php?req=$1 [NC,L]
test.php properly renders the querystring req=testing123 (its only purpose to
verify the querystring)
BUT,
RewriteRule ^(t.*)$ test.php?req=$1 [NC,L]
gives me: req=test.php.
I don't get it.
Hi,
Could you try this
RewriteRule ^(testing.*)$ test.php?req=$1 [NC,END]
Le 8 févr. 2013 à 22:19, Coughlin, Michael J michael.cough...@opm.gov a
écrit :
The request:
www.mysite.com/testing123
The rule:
RewriteRule ^(testing.*)$ test.php?req=$1 [NC,L]
test.php properly renders
END is not a valid flag. That generates a server error.
From: Boubouch [boubouc...@gmail.com]
Sent: Friday, February 08, 2013 4:46 PM
To: users@httpd.apache.org
Cc: users@httpd.apache.org
Subject: Re: [users@httpd] RewriteRule problem
Hi,
Could you try
Sorry i mean
RewriteRule ^(t.*)$ test.php?req=$1 [NC,END]
The flags END are stronger than L and may be you loop from testing123 to
test.php both matching
Le 8 févr. 2013 à 22:46, Boubouch boubouc...@gmail.com a écrit :
Hi,
Could you try this
RewriteRule ^(t.*)$ test.php?req=$1
.
From: Boubouch [boubouc...@gmail.com]
Sent: Friday, February 08, 2013 4:54 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] RewriteRule problem
Sorry i mean
RewriteRule ^(t.*)$ test.php?req=$1 [NC,END]
The flags END are stronger than L and may be you loop from