Page 1 of 1
reguller express error
Posted: Mon Jan 15, 2007 8:47 am
by itsmani1
I am trying to access
/cityguides/GA/Atlanta/
using
Code: Select all
RewriteRule ^cityguides/([A-Z][A-Z])/(.*)/ citytickets.php [nc]
and gets this error:
The requested URL /cityguides/GA/Atlanta/ was not found on this server.
Posted: Mon Jan 15, 2007 8:58 am
by Kieran Huggins
Try with a leading / ?
Code: Select all
RewriteRule ^/cityguides/([A-Z][A-Z])/(.*)/ citytickets.php [nc]
Posted: Mon Jan 15, 2007 10:18 am
by John Cartwright
your A-Z won't match Atlanta, you must incorporate lower case letters as well.
Posted: Mon Jan 15, 2007 1:41 pm
by itsmani1
Jcart wrote:your A-Z won't match Atlanta, you must incorporate lower case letters as well.
A-z is for GA not for Atlanta
for Atlanta i am using (.*)
Posted: Mon Jan 15, 2007 1:44 pm
by itsmani1
Kieran Huggins wrote:Try with a leading / ?
Code: Select all
RewriteRule ^/cityguides/([A-Z][A-Z])/(.*)/ citytickets.php [nc]
yes hope this [leading /] will work
Posted: Mon Jan 15, 2007 2:10 pm
by John Cartwright
itsmani1 wrote:Jcart wrote:your A-Z won't match Atlanta, you must incorporate lower case letters as well.
A-z is for GA not for Atlanta
for Atlanta i am using (.*)
My mistake.
Posted: Mon Jan 15, 2007 11:06 pm
by itsmani1
Jcart wrote:itsmani1 wrote:Jcart wrote:your A-Z won't match Atlanta, you must incorporate lower case letters as well.
A-z is for GA not for Atlanta
for Atlanta i am using (.*)
My mistake.
Well no problem its ok,
thank you
Posted: Tue Jan 16, 2007 3:27 am
by itsmani1
its working fine now
