Quellcode durchsuchen

El formulario de la creación del subdominio como sitio web no funcionaba, lo he solucionado copiando el formulario de creación de dominio como sitio web.

Cambio también la forma de ejecutar PHP de ondemand a dynamic.
Actualizo el README.
v2.0
Pablo Sarria vor 1 Monat
Ursprung
Commit
33a0ca816e
2 geänderte Dateien mit 27 neuen und 26 gelöschten Zeilen
  1. +2
    -2
      README.md
  2. +25
    -24
      new_service_webdns.php

+ 2
- 2
README.md Datei anzeigen

@@ -1,8 +1,8 @@
# ISPConfig WebDNS module versión 1.2
# ISPConfig WebDNS module versión 2.0

Este módulo crea las DNS, sitio web, usuario de base de datos, base de datos y usuario ftp introduciendo el dominio o subdominio y un cliente o admin.

This module is compatible with ISPConfig version 3.1.3 y superior(3.1.7p1)
This module is compatible with ISPConfig version 3.3.0p3

## Installation



+ 25
- 24
new_service_webdns.php Datei anzeigen

@@ -711,23 +711,24 @@ class page_action extends tform_actions {
*/
//add site
$paramsite = array(
//"sys_userid" => $this->sys_usuario_id,
//"sys_groupid" => $this->cli_grupo_id,
'type' => 'vhost',
'domain' => $fields['domain'], //$this->subdominio,
'server_id' => $this->web_serv, //$server_id,
'ip_address' => '*',
'ipv6_address' =>$this->ip6_servidor_web['ip_address'],
'traffic_quota' => '-1',
'hd_quota' => '100',
'cgi' => 'n',
'ssi' => 'n',
'suexec' => 'y',
'ruby' => 'n',
'domain' => $fields['domain'],
'server_id' => $this->web_serv,// $web_servidor, //$server_id,//$dns_servidor['default_webserver'],
//IMPORTANTE. Aquí­ no se ponen los campos sys_userid ni sys_groupid, el evento on_after_insert
//'sys_userid' => $sysUsuarioId, //$fields['client_group_id'],//$sys_userid,
//'sys_groupid' => $cliente_groupid,
'ip_address' => '*', //$dns_ip_servidor['ip_address'],
'ipv6_address' => $this->ip6_servidor_web['ip_address'], //$this->ip6_ultima['ip_address'], //$dns_ip_servidor_ipv6['ip_address'],
'traffic_quota' => '-1',
'hd_quota' => '0',
'cgi' => 'y',
'ssi' => 'y',
'suexec' => 'y',
'ruby' => 'n',
'python' => 'n',
'perl' => 'n',
'errordocs' => 'n',
'subdomain' => '',
'errordocs' => '1',
'subdomain' => 'none',
'php' => 'php-fpm',
'fastcgi_php_version' => '',
'seo_redirect' => '',
@@ -738,20 +739,20 @@ class page_action extends tform_actions {
'apache_directives' => '',
'nginx_directives' => '',
'php_fpm_use_socket' => 'y',
'pm' => 'ondemand',
'pm' => 'dynamic',
'pm_max_children' => 10,
'pm_start_servers' => 1,
'pm_min_spare_servers' => 1,
'pm_max_spare_servers' => 5,
'pm_max_spare_servers' => 1,
'pm_process_idle_timeout' => 10,
'pm_max_requests' => 0,
'custom_php_ini' => '',
'pm_max_requests' => 10,
'custom_php_ini' => '',
'active' => 'y',
'document_root' => '-',
'system_user' => '-',
'system_group' => '-',
'log_retention' => 30,
'client_group_id' => $this->cli_grupo_id, //$client_group_id,
'client_group_id' => $this->cli_grupo_id,//$cliente_groupid, //$client_group_id,
);

//print "<pre> Parametros:"; print_r($paramsite); print "</pre>\n";
@@ -1432,8 +1433,8 @@ class page_action extends tform_actions {
'ipv6_address' => $this->ip6_servidor_web['ip_address'], //$this->ip6_ultima['ip_address'], //$dns_ip_servidor_ipv6['ip_address'],
'traffic_quota' => '-1',
'hd_quota' => '0',
'cgi' => 'y',
'ssi' => 'y',
'cgi' => 'n',
'ssi' => 'n',
'suexec' => 'y',
'ruby' => 'n',
'python' => 'n',
@@ -1450,13 +1451,13 @@ class page_action extends tform_actions {
'apache_directives' => '',
'nginx_directives' => '',
'php_fpm_use_socket' => 'y',
'pm' => 'ondemand',
'pm' => 'dynamic',
'pm_max_children' => 10,
'pm_start_servers' => 1,
'pm_min_spare_servers' => 1,
'pm_max_spare_servers' => 5,
'pm_max_spare_servers' => 1,
'pm_process_idle_timeout' => 10,
'pm_max_requests' => 0,
'pm_max_requests' => 10,
'custom_php_ini' => '',
'active' => 'y',
'document_root' => '-',


Laden…
Abbrechen
Speichern