You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Yakov Lerner <ya...@kavado.com> on 2004/01/14 10:57:18 UTC

[users@httpd] perl script in RewriteMap on PC

I am trying to use perl script in RewriteMap prg:
on PC (apache2), and it doesn't work. When this
RewriteMap directive is present:
               RewriteMap dynamic-map prg:c:/redir1.pl
, apache2 doesn't start. It quits immediately when I start it.

Apparently apache cannot start the perl script. But script
starts and works OK when I start it from command-line, though.
The script is while(<STDIN>) { print $_; } example from apache docs.

The .pl extension is associated with perl and outside of apache
script works OK, and perl is in PATH. (I installed ActiveState perl)

How do I fix this ?
-- 
Jacob Lerner


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