View Single Post
Old 10th September 2012, 12:35
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts

I dont know if is same issue i got, but the extra features arent working on debian 6 too.
It is unlikely that its related as debian and opensuse are very different.

Regarding your tests, perl ruby and python are working fine here on a debian perfect setup, I downloaded the original vmware image from howtoforge without any modifications which is the exact copy & paste install of the published guide.

Reagarding your tests:

1) Perl: Did you put the perl code into the cgi-bin directory as required and accessed it trough cgi-bin?

2) Thats "ruby on rails" code for a rails application server and nothing to be executed in a apache webserver.

3) Do you have mod_pythoin installed and did the file had the correct .py ending?

How to test perl, ruby and python on a ispconfig server:

Here are the instructions on how to test perl, python and ruby:

Perl: Ensure that cgi is enabled in the site settings, then create a file " in the cgi-bin folder of the website with this content:

#!/usr/bin/perl -w

     # Tell perl to send a html header.
     # So your browser gets the output
     # rather then <stdout>(command line
     # on the server.)
print "Content-type: text/html\n\n";

     # print your basic html tags.
     # and the content of them.
print "<html><head><title>Hello World!! </title></head>\n";
print "<body><h1>Hello world</h1></body></html>\n";
then run:

chmod +x
chown web1:client0

(change user and group to match the user and group of the website) on the file and enter:

in the browser. You will see the output "Hello World!"

Ruby: Create a file "hello.rbx" in the web folder with this content:

puts "Hello world"
set correct user and permissions:

chmod +x hellp.rbx
chown web1:client0 hello.rbx

and open the url in your browser and you will see the test "Hello World" in the browser.


Python support was not implemented in ispconfig at the time the debian 6 setup was written, so it is included in newer guides like the ubuntu ones only. To enable python on a debian 6 server run:

install libapache2-mod-python
/etc/init.d/apache2 restart

To test it, create a file "hello py" in the web folder of the site

def index(req):
  return "Hello World";
and open the url in your browser and you will see the test "Hello World" in the browser.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from
Reply With Quote