Re: URGENT: Space char in rewriterule

From: Date: Tue, 27 Jul 2004 03:42:23 +0000
Subject: Re: URGENT: Space char in rewriterule
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-191935@lists.php.net to get a copy of this message
It didn't work. Still the same problem. Thanks "Marek Kilimajer" <lists@kilimajer.net> escribió en el mensaje news:410467A7.7050408@kilimajer.net... > Robert Winter wrote: > > I have the following rewriterule: > > > > RewriteRule ^(([0-9]|[A-Z]|[a-z]|_)+)$ redirect.php?$1 [L] > > > > that transforms http://mysite.com/XXX to http://mysite.com/redirect.php?XXX > > > > and I need to also include to space char, for example > > > > that transforms http://mysite.com/AB XX to http://mysite.com/redirect.php?AB > > XX > > > > > > I didn't find a way to write the " " characters. I tested with RewriteRule > > ^(([0-9]|[A-Z]|[a-z]|_| )+)$ redirect.php?$1 [L] but didn't work. > > > > Thanks! > > Rob > > > > Did you try > > RewriteRule ^([0-9A-Za-z_%]+)$ redirect.php?$1 > > ?

« previous php.general (#191935) next »