httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Devendra Singh <dee....@gmail.com>
Subject Re: [users@httpd] Reverse Proxy and SSI from Back-End Apache
Date Thu, 10 Nov 2005 07:42:30 GMT
Hi,

On 11/10/05, Joshua Slive <jslive@gmail.com> wrote:
>
> On 11/9/05, Devendra Singh <dee.ess@gmail.com> wrote:
>
> > I checked the modules/mappers/mod_rewrite.c and found the following
> around
> > line 1828 (httpd-2.0.55):
> >
> > /*
> > * Ignore this rule on subrequests if we are explicitly
> > * asked to do so or this is a proxy-throughput or a
> > * forced redirect rule.
> > */
> > if (r->main != NULL &&
> > (p->flags & RULEFLAG_IGNOREONSUBREQ ||
> > p->flags & RULEFLAG_PROXY ||
> > p->flags & RULEFLAG_FORCEREDIRECT )) {
> > continue;
> > }
> >
> > In my opinion (of limited knowledge of Apache internals) the line with
> > "RULEFLAG_PROXY" may be the culprit. I commented the line:
> >
> > /* p->flags & RULEFLAG_PROXY || */
> >
> > and recompiled the Front Apache. Voila, now its giving the desired
> effect of
> > rewriterule on subrequest via SSI.
> >
>
> > I would like to seek opinion of the expert list members / developers,
> > whether this modification is okay and would it have any bad impact
> somewhere
> > else?
>
> I don't think I'd call myself a mod_rewrite expert (in fact, you'd
> need to be a little insane to claim such a thing), but I see no
> problem with removing that check. You might want to file a bug report
> to have it removed permanently.
>
> Joshua.

  I have filed a Bug report (#37438).

Thanks,

DS
--
Devendra Singh
S-4/A-116, Shalimar Garden Ext-II
Sahibabad, Ghaziabad (UP) - 201005 INDIA
Ph# +91+11-2637495
Mobile# +91-9818342483

Mime
View raw message