#1  
Old 20th March 2013, 12:58
aldo aldo is offline
HowtoForge Supporter
 
Join Date: Jan 2011
Posts: 92
Thanks: 33
Thanked 3 Times in 3 Posts
Default Python with ISPConfig 3.0.5.1

I created a new site where I would like to use Python.

ISPConfig was installed following the "Perfect Server" for Debian 6 (and updated) and the "Python" checkbox is checked in the site configuration page, but I notice that it is not enough.

Can you give me some guidance?

Must also be checked CGI?
The .py file must be placed in the cgi-bin?
Apache directives should be added?
If so, have you an example?
Is there anything else to install or configure?

Thanks for any help.
Reply With Quote
Sponsored Links
  #2  
Old 20th March 2013, 13:11
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,486
Thanks: 813
Thanked 5,256 Times in 4,121 Posts
Default

The "Python" checkbox in the website settings enables mod_python for .py files in the web directory. Please check if the mod_python package (dont remember the correct name, must be something like libapache....python) is installed na enabled in apache.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 20th March 2013, 14:18
ressel ressel is offline
Senior Member
 
Join Date: Apr 2007
Location: Denmark
Posts: 128
Thanks: 18
Thanked 5 Times in 5 Posts
Default

Quote:
Originally Posted by till View Post
The "Python" checkbox in the website settings enables mod_python for .py files in the web directory. Please check if the mod_python package (dont remember the correct name, must be something like libapache....python) is installed na enabled in apache.
libapache2-mod-python
Reply With Quote
  #4  
Old 20th March 2013, 14:59
aldo aldo is offline
HowtoForge Supporter
 
Join Date: Jan 2011
Posts: 92
Thanks: 33
Thanked 3 Times in 3 Posts
 
Default

Thanks all, solved.

Also this could help:
http://www.howtoforge.com/embedding-...on-debian-etch

Is possible (and safe) to allow Python interactive through jailed SSH?
Reply With Quote
Reply

Bookmarks

Tags
python

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3 - MultiServer Setup - With Dedicated Control Panel - How? SuperJC Installation/Configuration 4 16th October 2012 20:03
around 80 sleeping connections created by ISPConfig bkilinc General 2 1st October 2012 16:12
Control Panel - E-mail Tab is empty domi-nik General 15 14th April 2011 18:17
chroot SSH IspConfig2 kextra1 General 4 20th January 2011 18:41
SP-Server Setup - Ubuntu 5.10 "Breezy Badger" - Page 6 (changes) LuisC-SM HOWTO-Related Questions 0 21st April 2006 15:16


All times are GMT +2. The time now is 23:26.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.