Forum Moderators: phranque
Right now I have to modify my perl scripts to #!perl to work at home. Then I have to change back to #!usr/bin/perl to upload any changes to the main web server.
Is there a way that I can do a rewrite or something to make it so I don't have to change the beginning of the script?
Any suggestions would be greatly appreciated.
Thanks,
RoseMarie
1) Create a folder in the path /usr/bin/perl and put a 'shortcut' to the actual location there.
2) Use the Apache ScriptInterpreterSource directive to override the #!perl and find the script interpreter by looking for its location in the Windows registry instead.
Jim