Changes

From SME Server
Jump to navigationJump to search
342 bytes removed ,  06:48, 13 February 2020
Line 370: Line 370:  
|
 
|
 
|-
 
|-
|DisableFunctions
+
|DisabledFunctions
|system,show_source, symlink,exec,dl,shell_exec,passthru,phpinfo,escapeshellarg,escapeshellcmd
+
|system,show_source,symlink,exec,dl,shell_exec,passthru,phpinfo,escapeshellarg,escapeshellcmd
 
|
 
|
 
|-
 
|-
Line 390: Line 390:  
|
 
|
 
|}
 
|}
you will then need two httpd.conf custom template fragment to use your pool. You will need to change '''VERSION''' and '''MYPOOL''' to what you want<syntaxhighlight lang="bash">
+
you will then need two httpd.conf custom template fragment to use your pool. You will need to change   '''MYPOOL''' to what you want<syntaxhighlight lang="bash">
mkdir -p  /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
  −
vim /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/68FastCGIConfig15myphppool
  −
</syntaxhighlight><syntaxhighlight>
  −
Action phpMYPOOL-fastcgi /php-cgi-bin/phpMYPOOL-wrapper
  −
Alias /php-cgi-bin/phpMYPOOL-wrapper /var/www/php-cgi-bin/phpMYPOOL-wrapper
  −
FastCgiExternalServer /var/www/php-cgi-bin/phpMYPOOL-wrapper -socket /var/run/php-fpm/phpVERSION-MYPOOL.sock -pass-header Authorization -idle-timeout 120
  −
</syntaxhighlight><syntaxhighlight lang="bash">
   
mkdir -p  /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
 
mkdir -p  /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/
 
vim /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/98mypoolusage
 
vim /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/98mypoolusage
 
</syntaxhighlight><syntaxhighlight lang="perl">
 
</syntaxhighlight><syntaxhighlight lang="perl">
  <Directory "/home/e-smith/ibays/Primary/html/myfolder">
+
<Directory /home/e-smith/files/ibays/test/html>
 +
    SSLRequireSSL
 +
    Options None
 +
    Options +Indexes
 
     Options +FollowSymLinks
 
     Options +FollowSymLinks
 +
    DirectoryIndex index.php index.shtml index.htm index.html
 +
    AddHandler phpMYPOOL-fastcgi .php
 
     AllowOverride All
 
     AllowOverride All
     AddHandler phpMYPOOL-fastcgi .php\n";
+
     order deny,allow
  </Directory>
+
    deny from all
 
+
    allow from all
 +
</Directory>
   −
</syntaxhighlight>
+
</syntaxhighlight>then just do signal-event webapps-update
    
=== Uninstall ===
 
=== Uninstall ===
Super Admin, Wiki & Docs Team, Bureaucrats, Interface administrators, Administrators
3,254

edits

Navigation menu