https://issues.apache.org/bugzilla/show_bug.cgi?id=47994
Summary: ScriptInterpreterSource apparently broken in Windows 7
Product: Apache httpd-2
Version: 2.2.14
Platform: PC
OS/Version: Windows Vista
Status: NEW
Severity: normal
Priority: P2
Component: Runtime Config
AssignedTo: [email protected]
ReportedBy: [email protected]
I have been using 'ScriptInterpreterSource Registry-strict' on my Windows XP
system to override shebang without problem. Attempting to migrate to Windows 7
(skipping Vista) ScriptInterpreterSource seems to be broken and the reason
appears to be that file association is handled totally differently in Windows
7; this apparently causes Apache to revert to shebang behaviour. I've verified
this by putting a Windows shebang in a test file and it works properly. Here is
the sum total of the registry entries for a .pl extension:
---
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.pl]
"PerceivedType"="text"
@="Perl"
[HKEY_CLASSES_ROOT\.pl\PersistentHandler]
@="{5e941d80-bf96-11cd-b579-08002b30bfeb}"
---
I've tried to back down to 'ScriptInterpreterSource Registry' but no luck.
I'm fairly certain my file associations are configured correctly. I'm able to
invoke a perl script by clicking on it in Explorer and by typing the name only
at the command prompt.
Is there any work-around aside from shebangin' all my scripts (that run on
Linux as well)?
--
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: [email protected]
For additional commands, e-mail: [email protected]