Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for
CGI script supported languages (for hostopia cgi-bin)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- CGI script supported languages (for hostopia cgi-b...
CGI script supported languages (for hostopia cgi-bin)
13-10-2014 2:41 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
What languages are supported for CGI scripts in the cgi-bin directory:
bash (yes, but the version is 2.x)
what about perl python, ruby ?
any others?
bash (yes, but the version is 2.x)
what about perl python, ruby ?
any others?
Message 1 of 4
(1,395 Views)
3 REPLIES 3
Re: CGI script supported languages (for hostopia cgi-bin)
13-10-2014 4:33 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
Perl and Python are supported. I don't think Ruby is, although I might be mistaken:
$ perl -v
This is perl, v5.8.0 built for i586-linux-thread-multi
$ python -v
Python 2.7.3
$ ruby -v
-bash: ruby: command not found
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Message 2 of 4
(400 Views)
Re: CGI script supported languages (for hostopia cgi-bin)
13-10-2014 9:38 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
That's interesting, because I found the versions to be different:
That was on "web6c50.megawebservers.eu" but that varies on each request (I susepct there's a load balancer?)
I couldn't get an answer to "python -v", or "python --version", I had to do it the long way: python -c "import sys; print(sys.version)"
It would be good to have Ruby, if that's at all possible. Also, do you know if "fastcgi" is supported at all ?
Bash GNU bash, version 2.05b.0(3)-release (i686-pc-linux-gnu) Copyright (C) 2002 Free Software Foundation, Inc.
Ruby
Python 2.2.1 (#1, Feb 3 2005, 15:45:36)
Perl This is perl, v5.10.1 (*) built for i386-linux-thread-multi
That was on "web6c50.megawebservers.eu" but that varies on each request (I susepct there's a load balancer?)
I couldn't get an answer to "python -v", or "python --version", I had to do it the long way: python -c "import sys; print(sys.version)"
It would be good to have Ruby, if that's at all possible. Also, do you know if "fastcgi" is supported at all ?
Message 3 of 4
(400 Views)
Re: CGI script supported languages (for hostopia cgi-bin)
14-10-2014 12:30 PM
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Report to Moderator
I ran my commands from the shell environment which you won't have access to. Whilst it may defy logic, the two environments are treated slightly differently (Hostopia's set-up is pretty non-standard). Having said that, it would be interesting to see the state of play once your most recent problem has been resolved...
From phpinfo (which again, you're unable to execute):
From phpinfo (which again, you're unable to execute):
Server API: CGI/FastCGI
Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵
Message 4 of 4
(400 Views)
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Plusnet Community
- :
- Forum
- :
- Help with my Plusnet services
- :
- Everything else
- :
- CGI script supported languages (for hostopia cgi-b...