Perl script produces error, how to set up and execute Perl scripts?

Discussion in 'Scripts, 3rd Party Apps, and Programming' started by booloox1, Oct 3, 2014.

  1. booloox1

    booloox1 New Member

    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I'm trying to setup and execute a Perl script via my web page. My web page is: http://booloo.x10host.com/
    I have the free account option. I'm trying the services before I pay for it.

    I think I have the right path to test01.pl in my html page.
    test01.pl has execute permissions just for me, i.e. 0744.
    In the first line of test01.pl I put: #!/usr/bin/perl. Is that the right path?

    This is the error:
    "The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator at no-reply@x10hosting.com to inform them of the time this error occurred, and the actions you performed just before this error.
    More information about this error may be available in the server error log.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."

    So how do I set this up?
    Thank you.
     
    Last edited: Oct 3, 2014
  2. AngusThermopyle

    AngusThermopyle Active Member

    Messages:
    319
    Likes Received:
    52
    Trophy Points:
    28
    No Perl here. Just PHP.
     
    • Agree Agree x 1
  3. booloox1

    booloox1 New Member

    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
  4. bdistler

    bdistler Well-Known Member Prime Account

    Messages:
    3,534
    Likes Received:
    196
    Trophy Points:
    63
    Currently the only CGI scripting language - which is supported by x10hosting - that you can use on a x10hosting's free-hosting server is PHP
     

Share This Page