You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Florian S." <fl...@gmx.net> on 2009/03/07 01:48:06 UTC

Re: [users@httpd] help with mod_proxy_html, trouble rewriting javascript content

Hi,

I'm not a pro, but my way would be patching/editing mod_proxy_html.c for
myself:

Searching for 'text/html' would lead you to line 1024, where an error
message is set for a content type not being html or xhtml+xml. If a
message is set, it will end up processing by ap_remove_output_filter
some lines below (I dare interpret it that way).
Adding the desired content-type in the if statement could resolve your
problem.

Hope, that may help,
Florian


Am Freitag, den 06.03.2009, 17:29 -0500 schrieb Brian Mearns:
> On Fri, Mar 6, 2009 at 5:02 PM, Flowering Weeds
> <fl...@hotmail.com> wrote:
> >
> >>
> >> That was not the question. But when you ask...
> >
> > Hey thanks for the answer.
> >
> >> - The apache has a SUN Access Manager plugin (not supported on IIS7)
> >
> > I don't use this but since one is using IIS 7 I looked at
> >
> > http://docs.sun.com/app/docs/doc/819-4669/adrab?a=view
> >
> > How Access Manager Works
> >
> > And since I don't use this (I could be wrong)
> > but a lot of this is all in http.sys itself. I'm
> > sure there is much more to this Access Manager!
> >
> > But for certain users for certain access and etc.
> > can be done for https.sys aware products.
> >
> > When one is not busy, (and I know we all never are not busy)
> > perhaps take a look at setting up http.sys for certain
> > users only access (databases, web services, etc.)
> >
> > Http.sys is not just for IIS7!
> > It is for any Windows HTTP usage.
> > A lot of products use http.sys.
> > ASF can use http.sys too.
> >
> >> - The apache is running mod_security. Is there a equivalent om IIS?
> >
> > Not needed but perhaps look up URLScan.
> >
> > Using Windows PowerShell yet?
> >
> > Yep change is tough on all of us!
> 
> Enough with http.sys, already! If you think MS offers better solutions
> than Apache, then by all means, use them! But this is the *apache*
> user's list. I've never even seen your name on this list before the
> past two days, and so far every message you've posted has been about
> http.sys or .NET or IIS. It seems like the only reason you signed up
> for this list in the first place is to evangelize over the great and
> powerful Microsoft. If you have nothing apache related to actually
> contribute to this community, then please just head back to redmond
> and leave us to our own.
> 
> Thank you,
> -Brian
> 


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org