Re: URGENT: Space char in rewriterule
| From: | Curt Zirzow | Date: | Mon, 26 Jul 2004 19:31:37 +0000 |
| Subject: | Re: URGENT: Space char in rewriterule | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-191906@lists.php.net to get a copy of this message | ||
* Thus wrote Robert Winter:
> I have the following rewriterule:
>
> RewriteRule ^(([0-9]|[A-Z]|[a-z]|_)+)$ redirect.php?$1 [L]
And why is this so more urgent than any other email? and what does
any of this have to any thing to do with PHP? perhaps you meant
'OT:'
>
> 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
read the rfc on http protocol, and URI definitions.
>
>
> 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.
rtfm: http://apache.org/
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the trapezoid!