httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 44776] New: External rewriting at RewriteMap documentation is wrong
Date Tue, 08 Apr 2008 09:40:43 GMT
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


Mime
View raw message