Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

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

by perleager (Pilgrim)
on Jan 07, 2004 at 04:33 UTC ( [id://319353]=note: print w/replies, xml ) Need Help??


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

Hey,

Thanks for the help -

Where can I install the mod_perl? Will using the ActiveState Perl PPM work? Also I checked the config for the loadfile , and changed it to the updated version of perl. Which one should I use?

C:/perl58/bin/perlis.dll or C:/perl58/bin/perl58.dll?
Or are both the same? -I tried both and both seems to still give me a 500 error message. Also where can I check the server log? I'm not really the admin of the server but I did check under adminstration tools > event viewer > and checked for any errors with 500? :(

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

Replies are listed 'Best First'.
Re: Re: Re: 500 Internal Server Error - Using ActiveState perl
by Roger (Parson) on Jan 07, 2004 at 04:42 UTC
    You should load C:/perl58/bin/perl58.dll, and you definitely should install mod_perl.

    To get mod_perl:

    Official Website: http://perl.apache.org/

    To install the binary package (the quick and easy way) - open a CMD shell and then type the following:
    ppm install http://theoryx5.uwinnipeg.ca/ppms/mod_perl.ppd
    You also need to download the mod_perl.so module from here -> http://theoryx5.uwinnipeg.ca/ppms/x86/. Drop this file under C:/Apache2/modules directory.

      Okay thank you,

      Would installing this solve the 500 problem you think? What if I'm not running apache?

      Thanks,
      Anthony
        Would installing this solve the 500 problem you think?
        Would drinking some water solve it? You need to read the documentation for whatever webserver you're running, and you need to read your webservers error logs. Only you can help yourself.
        Don't tell me you are running IIS? ;-)

        Have a look at PerlIS (more commonly known as 'Perl for ISAPI', which comes as part of the default install with ActivePerl) from ActiveState. If you're using IIS then change the shebang line to:
        #!/usr/bin/perlis.dll
        If you then need to switch to Apache, without changing the shebang line, find the following line in the httpd.conf and ensure it's uncommented:
        ScriptInterpreterSource registry
        This will ensure you run the script against the Perl binary referenced in the registry and will ignore the shebang line. I use this to switch between IIS and Apache all the time.

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

Re: Re: Re: 500 Internal Server Error - Using ActiveState perl
by barbie (Deacon) on Jan 07, 2004 at 14:32 UTC
    Also where can I check the server log?

    If you're using IIS, you're out of luck. It doesn't write error logs, and the reasearch I've done has not highlighted a hidden feature/setting either that can produce error logs. The access logs are all you get.

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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://319353]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-19 20:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found