On Sun, Feb 24, 2013 at 11:28 AM, Coughlin, Michael J
wrote:
> Yes agree which is why I ask if it IS in the URL, which it is, and there is
> 1 match, not zero, it works as if there is zero mathching, because it it
> being ingored, but should not be. So I ask if the nature of the optional
> match
explaining correctly.
From: Igor Cicimov [icici...@gmail.com]
Sent: Saturday, February 23, 2013 10:36 PM
To: users
Subject: Re: [users@httpd] rewritecond problem
On 24/02/2013 2:29 PM, "Coughlin, Michael J"
mailto:michael.cough...@opm.gov>> wro
> consider, that / must be escaped ...
They don't need to be escaped.
-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org
Hello,
consider, that / must be escaped ...
Walter
smime.p7s
Description: S/MIME Cryptographic Signature
On 24/02/2013 2:29 PM, "Coughlin, Michael J"
wrote:
>
> I have a RewriteCond issue:
>
>
>
> I have a URI: /II/anydirectory/anyfile
>
>
>
> I can get an exact match:
>
>
>
> RewriteCond %{REQUEST_URI} ^/II/([^/]+)/(.+)$
>
>
>
> So if I want the /II part to be optional in the match:
>
> RewriteCond
I have a RewriteCond issue:
I have a URI: /II/anydirectory/anyfile
I can get an exact match:
RewriteCond %{REQUEST_URI} ^/II/([^/]+)/(.+)$
So if I want the /II part to be optional in the match:
RewriteCond %{REQUEST_URI} ^(/II)?/([^/]+)/(.+)$
Now any thing can get through, since the