Re: [users@httpd] Unclear RewriteCond docs

2023-05-08 Thread sebb
On Mon, 8 May 2023 at 19:00, Eric Covener wrote: > > On Mon, May 8, 2023 at 1:22 PM sebb wrote: > > > > Another issue is that there is no link to the syntax to be used for > > the various conditions. > > > > For example, how does on express a file/path test or a string comparison? > > AFAICT the

Re: [users@httpd] Unclear RewriteCond docs

2023-05-08 Thread Eric Covener
On Mon, May 8, 2023 at 1:22 PM sebb wrote: > > Another issue is that there is no link to the syntax to be used for > the various conditions. > > For example, how does on express a file/path test or a string comparison? > AFAICT the only example is for a regex, though that is not made explicit.

Re: [users@httpd] Unclear RewriteCond docs

2023-05-08 Thread sebb
Another issue is that there is no link to the syntax to be used for the various conditions. For example, how does on express a file/path test or a string comparison? AFAICT the only example is for a regex, though that is not made explicit. Sebb On Mon, 8 May 2023 at 15:38, Daniel Gruno wrote:

Re: [users@httpd] Unclear RewriteCond docs

2023-05-08 Thread Daniel Gruno
On 2023-05-08 09:33, Eric Covener wrote: On Mon, May 8, 2023 at 10:29 AM Daniel Gruno wrote: On 2023-05-08 08:44, Eric Covener wrote: On Mon, May 8, 2023 at 9:41 AM Frank Gingras wrote: Sebb, Are you sure about that? I would verify before we venture to clarify the docs. I think sebb is

Re: [users@httpd] Unclear RewriteCond docs

2023-05-08 Thread Eric Covener
On Mon, May 8, 2023 at 10:29 AM Daniel Gruno wrote: > > On 2023-05-08 08:44, Eric Covener wrote: > > On Mon, May 8, 2023 at 9:41 AM Frank Gingras wrote: > >> > >> Sebb, > >> > >> Are you sure about that? I would verify before we venture to clarify the > >> docs. > > > > I think sebb is right,

Re: [users@httpd] Unclear RewriteCond docs

2023-05-08 Thread Daniel Gruno
On 2023-05-08 08:44, Eric Covener wrote: On Mon, May 8, 2023 at 9:41 AM Frank Gingras wrote: Sebb, Are you sure about that? I would verify before we venture to clarify the docs. I think sebb is right, I've occasionally had to try to weirdly propagate it or delay/combine it. In a rule or

Re: [users@httpd] Unclear RewriteCond docs

2023-05-08 Thread Eric Covener
On Mon, May 8, 2023 at 9:41 AM Frank Gingras wrote: > > Sebb, > > Are you sure about that? I would verify before we venture to clarify the docs. I think sebb is right, I've occasionally had to try to weirdly propagate it or delay/combine it. In a rule or condition, the captures of the preceding

Re: [users@httpd] Unclear RewriteCond docs

2023-05-08 Thread Frank Gingras
Sebb, Are you sure about that? I would verify before we venture to clarify the docs. On Mon, May 8, 2023 at 5:28 AM sebb wrote: > https://httpd.apache.org/docs/current/rewrite/intro.html#rewritecond says > > “Matches in the regular expressions contained in the RewriteConds can > be used as