- Added Python support (for Apache).
6 files modified
1 files added
New file |
| | |
| | | ALTER TABLE `web_domain` ADD `python` ENUM( 'n', 'y' ) NOT NULL DEFAULT 'n' AFTER `ruby`; |
| | |
| | | `subdomain` enum('none','www','*') NOT NULL default 'none', |
| | | `php` varchar(32) NOT NULL default 'y', |
| | | `ruby` enum('n','y') NOT NULL default 'n', |
| | | `python` enum('n','y') NOT NULL default 'n', |
| | | `redirect_type` varchar(255) default NULL, |
| | | `redirect_path` varchar(255) default NULL, |
| | | `seo_redirect` varchar(255) default NULL, |
| | |
| | | 'default' => 'n', |
| | | 'value' => array(0 => 'n',1 => 'y') |
| | | ), |
| | | 'python' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'CHECKBOX', |
| | | 'default' => 'n', |
| | | 'value' => array(0 => 'n',1 => 'y') |
| | | ), |
| | | 'active' => array ( |
| | | 'datatype' => 'VARCHAR', |
| | | 'formtype' => 'CHECKBOX', |
| | |
| | | $wb['php_fpm_use_socket_txt'] = 'Benutze Socket für PHP-FPM'; |
| | | $wb['ipv6_address_txt'] = 'IPv6-Address'; |
| | | $wb['error_no_sni_txt'] = 'SNI for SSL is not activated on this server. You can enable only one SSL certificate on each IP address.'; |
| | | $wb["python_txt"] = 'Python'; |
| | | ?> |
| | |
| | | $wb["www_to_non_www_txt"] = 'www -> non-www'; |
| | | $wb["php_fpm_use_socket_txt"] = 'Use Socket For PHP-FPM'; |
| | | $wb["error_no_sni_txt"] = 'SNI for SSL is not activated on this server. You can enable only one SSL certificate on each IP address.'; |
| | | $wb["python_txt"] = 'Python'; |
| | | ?> |
| | |
| | | {tmpl_var name='ruby'} |
| | | </div> |
| | | </div> |
| | | <div class="ctrlHolder apache"> |
| | | <p class="label">{tmpl_var name='python_txt'}</p> |
| | | <div class="multiField"> |
| | | {tmpl_var name='python'} |
| | | </div> |
| | | </div> |
| | | <div class="ctrlHolder apache"> |
| | | <p class="label">{tmpl_var name='suexec_txt'}</p> |
| | | <div class="multiField"> |
| | |
| | | </IfModule> |
| | | </tmpl_if> |
| | | |
| | | <tmpl_if name='python' op='==' value='y'> |
| | | <IfModule mod_python.c> |
| | | <Directory {tmpl_var name='web_document_root'}> |
| | | AddHandler mod_python .py |
| | | PythonHandler mod_python.publisher |
| | | PythonDebug On |
| | | </Directory> |
| | | </IfModule> |
| | | </tmpl_if> |
| | | |
| | | <tmpl_if name='cgi' op='==' value='y'> |
| | | # cgi enabled |
| | | <Directory {tmpl_var name='document_root'}/cgi-bin> |