Jump to content

Recommended Posts

Posted

No perl scripts seem to work on the johnny server.

I even tried your basic "hello world" script copied from this site and still just get 500 server errors.

 

I tried renaming the .htacess file but that didn't help

 

Any suggestions would be appreciated

 

Thank you

Posted

Yes permissions were set to 755

This issue is with all the perl scripts on the site (the site dwarfnet.com is new to this hosting company, the scripts have worked fine on other servers for 20 years)

Posted (edited)

Okay, that got the script working if you do a direct call, however the script still errors when called from a webpage

 

Example: http://dwarfnet.heliohost.org/cgi-bin/fortunecookie.cgi

 

     will return the fortune line

 

however clicking on the fortunecookie at http://dwarfnet.heliohost.org/fortunecookie will still cause a 500 server error even though it is calling the same script.

Edited by dwarfnet
Posted (edited)

It's been a long time since of used shtml (ssi). Are you including your script like this?

<!--#include virtual="/cgi-bin/fortunecookie.cgi" -->

or

<!--#include virtual="../cgi-bin/fortunecookie.cgi" -->

Depending on how far up you are in your directory.

Edited by Byron
Posted

<!--#include virtual="/cgi-bin/fortunecookie.cgi" -->

or

<!--#include virtual="../cgi-bin/fortunecookie.cgi" -->

 

didn't work, still give error

 

any other sugeestions??

Posted

I'll let our other root admin Krydos take a look at this and see if he has any input on why this might be happening.

 

In fairness, this isn't something we see used every day anymore, so you may very well be the first to use this functionality in quite some time...I know from a support standpoint you're the first person I've come across in my 8 years with HelioHost to ask for help using server-side includes. In fact, Perl in general doesn't get asked about much, let alone SSI. Python is the more common CGI language we deal with these days (usually Django apps).

 

Perl and SSI are very old school ways of building interactive sites (though it should be supported as far as I'm aware).

Posted

Yes I realize it is a bit "old school". Then again, the site is 20 years old... (it was cutting edge then... lol)

I may just have to teach myself php quickly if we can't get this figured out :)

Posted

It's working on Tommy, just not Johnny. I think it has something to do with:

 

Options Indexes FollowSymLinks Includes
Posted

An admin can move your account to Tommy if you donate $1USD or more using the instructions on https://www.heliohost.org/donate/. You can also try to sign up for a free account but the free Tommy accounts usually fill very quickly. The status of free account registrations can be seen on http://heliohost.grd.net.pl/monitor/ signups reset at midnight UTC. Donating means you don't have to do anything and you can get an account even if free registrations are closed for the day. If you donate please post your transaction ID in this thread.

 

If you opt for a free account you will need to backup and delete your Johnny account first as you are only allowed one account.

 

Otherwise just persevere with trying to get it working on Johnny. Good Luck.  

Posted

Let's wait and see if Krydos can fix this on Johnny or not. If he can't, perhaps we can just move you because it's the only server it works on.

Guest
This topic is now closed to further replies.
×
×
  • Create New...