Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Bugs

[Bug 47994] New: ScriptInterpreterSource apparently broken in Windows 7

 

 

Apache bugs RSS feed   Index | Next | Previous | View Threaded


bugzilla at apache

Oct 14, 2009, 10:17 AM

Post #1 of 1 (278 views)
Permalink
[Bug 47994] New: ScriptInterpreterSource apparently broken in Windows 7

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: bugs [at] httpd
ReportedBy: v861vud02 [at] sneakemail


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: bugs-unsubscribe [at] httpd
For additional commands, e-mail: bugs-help [at] httpd

Apache bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.