Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Re: Re: Re: Re: Re: Re: 500 Internal Server Error - Using ActiveState perl

by barbie (Deacon)
on Jan 10, 2004 at 10:10 UTC ( #320320=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Re: Re: Re: Re: 500 Internal Server Error - Using ActiveState perl
in thread 500 Internal Server Error - Using ActiveState perl

IIS uses the shebang line, and thus uses PerlIS. Apache reads the httpd.conf and thus uses the registry entry and ignores the shebang line. PerlIS runs ALOT faster with IIS. If you care to follow the link I posted, you'll understand why this is. PerlIS was written by ActiveState to better integrate Perl with IIS.

Please note the OP mention they were using Windows NOT Unix. What I suggested was applicable to their situation.

--
Barbie | Birmingham Perl Mongers | http://birmingham.pm.org/

  • Comment on Re: Re: Re: Re: Re: Re: Re: 500 Internal Server Error - Using ActiveState perl

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Re: Re: 500 Internal Server Error - Using ActiveState perl
by Anonymous Monk on Jan 10, 2004 at 11:31 UTC
    Apache reads the httpd.conf and thus uses the registry entry and ignores the shebang line.
    Maybe your copy of apache, but standard apache doesn't perform any such magic. mod_perl maybe, but not apache.
      Ahem, may I direct you to .... a description from an online manual

      This directive is used to control how Apache finds the interpreter used to run CGI scripts. The default technique is to use the interpreter pointed to by the #! line in the script. Setting ScriptInterpreterSource registry will cause the Windows Registry to be searched using the script file extension (e.g., .pl) as a search key.

      That's standard Apache on Win32 :)

      --
      Barbie | Birmingham Perl Mongers | http://birmingham.pm.org/

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://320320]
help
Chatterbox?
[Discipulus]: Tanktalus my comment was about how to fork & join in tk?
[marioroy]: Oh, I've might of missed Discipulus's earlier response. I had gone to bed.
[Tanktalus]: ah, I don't even have the perlmonks site open in my browser :)
Tanktalus is chatting through his cbstats application :)
[marioroy]: Perl is so much fun.
[Discipulus]: Tanktalus i recently started a Meditation about marioroy's MCE suit of modules, but is even better to see a practical question answered than responses to my meditation
[Discipulus]: good night mario!
[Tanktalus]: yeah, I saw you post about MCE - the concept looks really really cool. I wonder how well it plays with Coro :)
[Lady_Aleena]: Hi guys. I asked this earlier but got no answer. Why is this dying at -exec: my @music_times = qx(find ~/Music/Albums/ -type f -iname '*.mp3' -exec mp3info -p "%S\n" {} \;);
[Lady_Aleena]: The error find: missing argument to `-exec'

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2017-04-23 19:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (432 votes). Check out past polls.