You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/04/08 11:40:43 UTC

DO NOT REPLY [Bug 44776] New: External rewriting at RewriteMap documentation is wrong

https://issues.apache.org/bugzilla/show_bug.cgi?id=44776

           Summary: External rewriting at RewriteMap documentation is wrong
           Product: Apache httpd-2
           Version: 2.3-HEAD
          Platform: All
               URL: http://ebox-platform.com
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Documentation
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: bugmenot@lortemail.dk


The given Perl script example misses the new line character. I tried the given
example and the request hangs indefinitely. If the new line is added, the
request is performed gracefully. The correct Perl script is as follows:

#!/usr/bin/perl
$| = 1;
while (<STDIN>) {
    # ...put here any transformations or lookups...
    print $_ . $/;
}

I hope this helps someone.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 44776] External rewriting at RewriteMap documentation is wrong

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44776

Rich Bowen <rb...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|bugs@httpd.apache.org       |docs@httpd.apache.org

--- Comment #2 from Rich Bowen <rb...@apache.org> 2010-10-29 11:07:58 EDT ---
Moving docs bugs to docs@httpd.a.o ownership.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 44776] External rewriting at RewriteMap documentation is wrong

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44776





--- Comment #1 from André Malo <nd...@perlig.de>  2008-04-08 02:46:08 PST ---
Hmm, the newline already comes in when reading from stdin. Did you remove it in
the transformation process?

Also, $/ would be wrong. It has to be \n.


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org