Merge remote-tracking branch 'origin/stable-3.0.5'
Conflicts:
interface/lib/classes/remoting.inc.php
interface/web/sites/web_vhost_subdomain_edit.php
server/plugins-available/cron_plugin.inc.php
| | |
| | | |
| | | $content = rf('/etc/apache2/httpd.conf'); |
| | | if(!stristr($content, 'Include /etc/apache2/sites-enabled/')) { |
| | | af('/etc/apache2/httpd.conf', "\n<Directory /srv/www>\n Options FollowSymlinks\n</Directory>\n\nInclude /etc/apache2/sites-enabled/\n\n"); |
| | | af('/etc/apache2/httpd.conf', "\n<Directory /srv/www>\n Options +FollowSymlinks\n</Directory>\n\nInclude /etc/apache2/sites-enabled/\n\n"); |
| | | } |
| | | unset($content); |
| | | |
| | |
| | | DocumentRoot {apps_vhost_dir} |
| | | SuexecUserGroup ispapps ispapps |
| | | <Directory {apps_vhost_dir}> |
| | | Options Indexes FollowSymLinks MultiViews +ExecCGI |
| | | Options +Indexes +FollowSymLinks +MultiViews +ExecCGI |
| | | AllowOverride AuthConfig Indexes Limit Options FileInfo |
| | | <FilesMatch "\.ph(p[3-5]?|tml)$"> |
| | | SetHandler fcgid-script |
| | |
| | | DocumentRoot {apps_vhost_dir} |
| | | AddType application/x-httpd-php .php |
| | | <Directory {apps_vhost_dir}> |
| | | Options FollowSymLinks |
| | | Options +FollowSymLinks |
| | | AllowOverride None |
| | | Order allow,deny |
| | | Allow from all |
| | |
| | | DocumentRoot /var/www/ispconfig/ |
| | | SuexecUserGroup ispconfig ispconfig |
| | | <Directory /var/www/ispconfig/> |
| | | Options Indexes FollowSymLinks MultiViews +ExecCGI |
| | | Options +Indexes +FollowSymLinks +MultiViews +ExecCGI |
| | | AllowOverride AuthConfig Indexes Limit Options FileInfo |
| | | <FilesMatch "\.ph(p[3-5]?|tml)$"> |
| | | SetHandler fcgid-script |
| | |
| | | DocumentRoot /usr/local/ispconfig/interface/web/ |
| | | AddType application/x-httpd-php .php |
| | | <Directory /usr/local/ispconfig/interface/web> |
| | | Options FollowSymLinks |
| | | Options +FollowSymLinks |
| | | AllowOverride None |
| | | Order allow,deny |
| | | Allow from all |
| | |
| | | ALTER TABLE `dbispconfig`.`web_domain` ADD UNIQUE `serverdomain` ( `server_id` , `domain` ); |
| | | DROP INDEX rr ON dns_rr; |
| | | ALTER TABLE `dns_rr` CHANGE `name` `name` VARCHAR( 128 ) NOT NULL ; |
| | | CREATE INDEX `rr` ON dns_rr (`zone`,`type`,`name`); |
| | | |
| | | ALTER TABLE `dns_rr` DROP KEY rr, |
| | | CHANGE `name` `name` VARCHAR( 128 ) NOT NULL, |
| | | ADD KEY `rr` (`zone`,`type`,`name`); |
| | |
| | | AddType application/x-httpd-php .php |
| | | <Directory {apps_vhost_dir}> |
| | | # php_admin_value open_basedir "{apps_vhost_dir}:/usr/share:/tmp" |
| | | Options FollowSymLinks |
| | | Options +FollowSymLinks |
| | | AllowOverride None |
| | | Order allow,deny |
| | | Allow from all |
| | |
| | | DocumentRoot {apps_vhost_dir} |
| | | SuexecUserGroup ispapps ispapps |
| | | <Directory {apps_vhost_dir}> |
| | | Options Indexes FollowSymLinks MultiViews +ExecCGI |
| | | Options +Indexes +FollowSymLinks +MultiViews +ExecCGI |
| | | AllowOverride AuthConfig Indexes Limit Options FileInfo |
| | | AddHandler fcgid-script .php |
| | | FCGIWrapper {website_basedir}/php-fcgi-scripts/apps/.php-fcgi-starter .php |
| | |
| | | DocumentRoot /var/www/ispconfig/ |
| | | SuexecUserGroup ispconfig ispconfig |
| | | <Directory /var/www/ispconfig/> |
| | | Options -Indexes FollowSymLinks MultiViews +ExecCGI |
| | | Options -Indexes +FollowSymLinks +MultiViews +ExecCGI |
| | | AllowOverride AuthConfig Indexes Limit Options FileInfo |
| | | AddHandler fcgid-script .php |
| | | FCGIWrapper /var/www/php-fcgi-scripts/ispconfig/.php-fcgi-starter .php |
| | |
| | | AddType application/x-httpd-php .php |
| | | <Directory /usr/local/ispconfig/interface/web> |
| | | # php_admin_value open_basedir "/usr/local/ispconfig/interface:/usr/share:/tmp" |
| | | Options FollowSymLinks |
| | | Options +FollowSymLinks |
| | | AllowOverride None |
| | | Order allow,deny |
| | | Allow from all |
| | |
| | | 1 => array ( 'type' => 'UNIQUE', |
| | | 'errmsg'=> 'domain_error_unique'), |
| | | 2 => array ( 'type' => 'REGEX', |
| | | 'regex' => '/^[\w\.\-]{2,255}\.[a-zA-Z\-]{2,10}$/', |
| | | 'regex' => '/^[\w\.\-]{2,255}\.[a-zA-Z0-9\-]{2,30}$/', |
| | | 'errmsg'=> 'domain_error_regex'), |
| | | ), |
| | | 'default' => '', |
| | |
| | | DocumentRoot {tmpl_var name='apps_vhost_dir'} |
| | | SuexecUserGroup ispapps ispapps |
| | | <Directory {tmpl_var name='apps_vhost_dir'}> |
| | | Options Indexes FollowSymLinks MultiViews +ExecCGI |
| | | Options +Indexes +FollowSymLinks +MultiViews +ExecCGI |
| | | AllowOverride AuthConfig Indexes Limit Options FileInfo |
| | | AddHandler fcgid-script .php |
| | | FCGIWrapper {tmpl_var name='apps_vhost_basedir'}/php-fcgi-scripts/apps/.php-fcgi-starter .php |
| | |
| | | </IfModule> |
| | | |
| | | <Directory {tmpl_var name='web_document_root_www'}> |
| | | Options FollowSymLinks |
| | | Options +FollowSymLinks |
| | | AllowOverride <tmpl_var name='allow_override'> |
| | | <tmpl_if name='apache_version' op='>' value='2.2' format='version'> |
| | | Require all granted |
| | |
| | | </tmpl_if> |
| | | </Directory> |
| | | <Directory {tmpl_var name='web_document_root'}> |
| | | Options FollowSymLinks |
| | | Options +FollowSymLinks |
| | | AllowOverride <tmpl_var name='allow_override'> |
| | | <tmpl_if name='apache_version' op='>' value='2.2' format='version'> |
| | | Require all granted |
| | |
| | | |
| | | $command .= "\t"; |
| | | if($job['type'] != 'chrooted' && substr($job['command'], 0, 1) != "/") $command .= $this->parent_domain['document_root'].'/'; |
| | | <<<<<<< HEAD |
| | | $command .= $job['command'] . " " . $log_target; |
| | | ======= |
| | | $command .= $job['command']; |
| | | >>>>>>> origin/stable-3.0.5 |
| | | } |
| | | |
| | | if($job['type'] == 'chrooted') { |