DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26166>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=26166

RewriteMap prg: doesn't spawn perl script on PC platform

           Summary: RewriteMap prg: doesn't spawn perl script on PC platform
           Product: Apache httpd-2.0
           Version: 2.0-HEAD
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: mod_rewrite
        AssignedTo: [email protected]
        ReportedBy: [EMAIL PROTECTED]


On Win2000, I have ActiveState perl installed. The .pl extension is
associated with perl, and perl is in path. The c:\redir1.pl script works
from the command line. It is the the example 
'while(<STDIN>) { print $_,"\n"; }' script. 

When I include this directive:
         RewriteMap dynamic-map prg:c:/redir1.pl
, apache doesn't start. Apparently, apache cannot spawn a child process.
But from command line, the script works fine. On the other hand, if I
wrap the script into .bat file, it works.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to