httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Issac Goldstand" <mar...@beamartyr.net>
Subject Re: [users@httpd] spoofing 200 responses
Date Wed, 15 Jan 2003 14:29:23 GMT
Well, the idea is to set the output handler on a <Location> block.  If
there's any content piped through, the filter just injects the data.  If
not, however, it should rewrite the 404 to a 200 and spit out the data...
An ErrorDocument will work, I suppose, but it needs more configuration...

  Issac

----- Original Message -----
From: "Razvan Costea-Barlutiu" <cbrazvan@laitek.com>
To: <users@httpd.apache.org>
Sent: Wednesday, January 15, 2003 4:25 PM
Subject: Re: [users@httpd] spoofing 200 responses


>
> Maybe you really want to do this with modules, but wouldn't the
> ErrorDocument... /file from http.conf be of any help?
>
> --Razvan
>
>
> At 01:07 15-01-03 +0200, you wrote:
> >Once upon a time (about a month ago), I wrote a nice little Apache-2
module
> >which added a few lines of text into a response (output filter) and had a
> >little extra goodie which somehow checked for an imminent 404 and rewrote
> >the response so that a 200 would be sent instead with the two inserted
> >lines.  Time has passed and my source code is somehow lost, and I find
> >myself unable to do the trick again (although I recall it having seemed
so
> >trivial then).  Anyone do something like this (and actually remember
how?)
>
>
>
> ---------------------------------------------------------------------
> 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
>


---------------------------------------------------------------------
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


Mime
View raw message