File manager - Edit - /home/palg2351/public_html/klanaobsesiindonesia.com/wp-includes/Text/Diff/Engine/cpanel.zip
Back
PK @��\1��pE1 E1 * lsws_whm_plugin/lsws_whm_plugin_install.shnu ȯ�� #!/bin/sh # /******************************************** # LiteSpeed Web Server Plugin for WHM # # @author LiteSpeed Technologies, Inc. (https://www.litespeedtech.com) # @copyright (c) 2008-2021 # *********************************************/ # # If from lsws install, 3 params # WHM_PLUGIN_SRCDIR=$1 # LSWS_HOME=$2 # CPANEL_PLUGIN_AUTOINSTALL=$3 # WHM_PLUGIN_TEMPDIR="/usr/src/lsws_whm" WHM_DOCROOT="/usr/local/cpanel/whostmgr/docroot" WHM_PLUGIN_CGIDIR="${WHM_DOCROOT}/cgi" WHM_PLUGIN_ICONDIR="${WHM_DOCROOT}/addon_plugins" WHM_PLUGIN_INSDIR="${WHM_PLUGIN_CGIDIR}/lsws" WHM_PLUGIN_TMPL_INSDIR="${WHM_DOCROOT}/templates/lsws" WHM_PLUGIN_LSCWP_SRC_DIR="/usr/src/litespeed-wp-plugin" WHM_PLUGIN_HTTPDIR="http://www.litespeedtech.com/packages/cpanel" THEME_JUPITER_PLUGIN_DIR="/usr/local/cpanel/base/frontend/jupiter/ls_web_cache_manager" THEME_PAPER_LANTERN_PLUGIN_DIR="/usr/local/cpanel/base/frontend/paper_lantern/ls_web_cache_manager" CPANEL_PLUGIN_CAPABLE=0 if [ ! -d "${WHM_PLUGIN_CGIDIR}" ] ; then exit fi WHM_PLUGIN_INST_USER=$(id) WHM_PLUGIN_INST_USER=$(expr "${WHM_PLUGIN_INST_USER}" : 'uid=.*(\(.*\)) gid=.*') if [ "${WHM_PLUGIN_INST_USER}" != "root" ] ; then echo "Require root permission to install this plugin. Abort!" exit fi if [ "x${2}" = "x" ] ; then LSWS_HOME="/usr/local/lsws" else LSWS_HOME="${2}" fi WEBCACHE_MGR_DATA_DIR="${LSWS_HOME}/admin/lscdata" CPANEL_PLUGIN_AUTOINSTALL_DISABLE_FLAG="${WHM_PLUGIN_INSDIR}/cpanel_autoinstall_off" TMP_CPANEL_PLUGIN_AUTOINSTALL_DISABLE_FLAG="/tmp/cpanel_autoinstall_off" WHM_PLUGIN_DATA_DIR="${WHM_PLUGIN_INSDIR}/data" TMP_WHM_PLUGIN_DATA_DIR="/tmp/lsws_whm_plugin_data_tmp" WHM_PLUGIN_LSWS_HOME_FILE="${WHM_PLUGIN_INSDIR}/LSWS_HOME.config" TMP_WHM_PLUGIN_LSWS_HOME_FILE="/tmp/LSWS_HOME.config" whmPluginNeedsUpdate() { CURR_WHM_VER="${1}" if ! LATEST_WHM_VER=$(wget -qO- "${WHM_PLUGIN_HTTPDIR}/WHM_LATEST_VER"); then echo "Failed to query latest WHM plugin version. Abort!" exit; fi CURR_MAJOR=$(echo "${CURR_WHM_VER}" | awk -F"." '{print $1}') LATEST_MAJOR=$(echo "${LATEST_WHM_VER}" | awk -F"." '{print $1}') if [ "${CURR_MAJOR}" -lt "${LATEST_MAJOR}" ] ; then return 0 elif [ "${CURR_MAJOR}" -gt "${LATEST_MAJOR}" ] ; then return 1 fi CURR_MINOR=$(echo "${CURR_WHM_VER}" | awk -F"." '{print $2}') LATEST_MINOR=$(echo "${LATEST_WHM_VER}" | awk -F"." '{print $2}') if [ "${CURR_MINOR}" -lt "${LATEST_MINOR}" ] ; then return 0 elif [ "${CURR_MINOR}" -gt "${LATEST_MINOR}" ] ; then return 1 fi CURR_IMPROVEMENT=$(echo "${CURR_WHM_VER}" | awk -F"." '{print match($3, /[^ ]/) ? $3 : 0}') LATEST_IMPROVEMENT=$(echo "${LATEST_WHM_VER}" | awk -F"." '{print match($3, /[^ ]/) ? $3 : 0}') if [ "${CURR_IMPROVEMENT}" -lt "${LATEST_IMPROVEMENT}" ] ; then return 0 elif [ "${CURR_IMPROVEMENT}" -gt "${LATEST_IMPROVEMENT}" ] ; then return 1 fi CURR_PATCH=$(echo "${CURR_WHM_VER}" | awk -F"." '{print match($4, /[^ ]/) ? $4 : 0}') LATEST_PATCH=$(echo "${LATEST_WHM_VER}" | awk -F"." '{print match($4, /[^ ]/) ? $4 : 0}') if [ "${CURR_PATCH}" -lt "${LATEST_PATCH}" ] ; then return 0 elif [ "${CURR_PATCH}" -gt "${LATEST_PATCH}" ] ; then return 1 fi return 1 } echo "" echo " Install LiteSpeed Web Server Plugin for WHM" echo "==============================================" echo "" CURR_WHM_VER_FILE="${WHM_PLUGIN_INSDIR}/VERSION" if [ -e "${CURR_WHM_VER_FILE}" ] ; then CURR_WHM_VER=$(cat "${CURR_WHM_VER_FILE}") if ! whmPluginNeedsUpdate "${CURR_WHM_VER}" ; then echo "Installed WHM Plugin version already up-to-date. Abort!" exit; fi fi if [ "x${1}" = "x" ] ; then echo "... creating directories ..." # Create temp directory to install if [ ! -e "${WHM_PLUGIN_TEMPDIR}" ] ; then mkdir -v -p "${WHM_PLUGIN_TEMPDIR}" echo " Temp directory created" fi cd "${WHM_PLUGIN_TEMPDIR}" echo "... downloading latest version of the plugin ..." if ! wget \ "--output-document=${WHM_PLUGIN_TEMPDIR}/lsws_whm_plugin.tar.gz" \ "${WHM_PLUGIN_HTTPDIR}/lsws_whm_plugin.tar.gz" then /bin/rm -rf "${WHM_PLUGIN_TEMPDIR}" echo "" echo "Failed to download lsws_whm_plugin.tar.gz. Abort!" exit; fi echo "Done downloading." echo "" echo "... extracting ..." if ! tar -zxf lsws_whm_plugin.tar.gz; then /bin/rm -rf "${WHM_PLUGIN_TEMPDIR}" echo "" echo "Failed to to extract lsws_whm_plugin.tar.gz. Abort!" exit; fi echo "" fi # Create working directories for WHM PHP files and backup any existing data if [ -e "${WHM_PLUGIN_INSDIR}" ] ; then if [ -e "${WHM_PLUGIN_CGIDIR}/addon_lsws.cgi" ] ; then echo " Removing old entry script addon_lsws.cgi" /bin/rm -f "${WHM_PLUGIN_CGIDIR}/addon_lsws.cgi" fi if [ ! -e "${WEBCACHE_MGR_DATA_DIR}" ] ; then if [ -e "${LSWS_HOME}/admin" ] ; then mkdir "${WEBCACHE_MGR_DATA_DIR}" fi fi if [ -e "${CPANEL_PLUGIN_AUTOINSTALL_DISABLE_FLAG}" ] ; then /bin/mv "${CPANEL_PLUGIN_AUTOINSTALL_DISABLE_FLAG}" "${TMP_CPANEL_PLUGIN_AUTOINSTALL_DISABLE_FLAG}" fi if [ -e "${WHM_PLUGIN_DATA_DIR}" ] ; then /bin/mv "${WHM_PLUGIN_DATA_DIR}" "${TMP_WHM_PLUGIN_DATA_DIR}" fi if [ -e "${WHM_PLUGIN_LSWS_HOME_FILE}" ] ; then /bin/mv "${WHM_PLUGIN_LSWS_HOME_FILE}" "${TMP_WHM_PLUGIN_LSWS_HOME_FILE}" fi echo " Removing old working directory ${WHM_PLUGIN_INSDIR}" /bin/rm -rf "${WHM_PLUGIN_INSDIR}" fi if [ -e "${WHM_PLUGIN_TMPL_INSDIR}" ] ; then echo " Removing old template directory ${WHM_PLUGIN_TMPL_INSDIR}" /bin/rm -rf "${WHM_PLUGIN_TMPL_INSDIR}" fi #Cleanup old lsc data from installs < 2.1.12 if [ -e "${LSWS_HOME}/add-ons/webcachemgr/shared/lsc_versions_data" ] ; then /bin/rm -f "${LSWS_HOME}/add-ons/webcachemgr/shared/lsc_versions_data" fi if [ -e "${LSWS_HOME}/add-ons/webcachemgr/shared/lsc_manager_data" ] ; then /bin/rm -f "${LSWS_HOME}/add-ons/webcachemgr/shared/lsc_manager_data" fi #cleanup old lsc data/files from installs < 3.0.0 if [ -e "${WEBCACHE_MGR_DATA_DIR}/lsc_manager_data" ] ; then /bin/rm -f "${WEBCACHE_MGR_DATA_DIR}/lsc_manager_data" fi if [ -e "${WEBCACHE_MGR_DATA_DIR}/lsc_versions_data" ] ; then /bin/rm -f "${WEBCACHE_MGR_DATA_DIR}/lsc_versions_data" fi #force new data files permissions if [ -e "${WEBCACHE_MGR_DATA_DIR}/lscm.data" ] ; then chmod 600 "${WEBCACHE_MGR_DATA_DIR}/lscm.data" fi if [ -e "${WEBCACHE_MGR_DATA_DIR}/lscm.data.cust" ] ; then chmod 600 "${WEBCACHE_MGR_DATA_DIR}/lscm.data.cust" fi mkdir -v "${WHM_PLUGIN_INSDIR}" mkdir -v "${WHM_PLUGIN_TMPL_INSDIR}" if [ -e "${TMP_CPANEL_PLUGIN_AUTOINSTALL_DISABLE_FLAG}" ] ; then /bin/mv "${TMP_CPANEL_PLUGIN_AUTOINSTALL_DISABLE_FLAG}" "${CPANEL_PLUGIN_AUTOINSTALL_DISABLE_FLAG}" echo " Retained disable cPanel plugin auto install flag file" fi if [ -e "${TMP_WHM_PLUGIN_DATA_DIR}" ] ; then /bin/mv "${TMP_WHM_PLUGIN_DATA_DIR}" "${WHM_PLUGIN_DATA_DIR}" echo " Retained WHM plugin data dir files" fi if [ -e "${TMP_WHM_PLUGIN_LSWS_HOME_FILE}" ] ; then /bin/mv "${TMP_WHM_PLUGIN_LSWS_HOME_FILE}" "${WHM_PLUGIN_LSWS_HOME_FILE}" echo " Retained LSWS_HOME.config file" fi echo "" if [ "x${1}" = "x" ] ; then WHM_PLUGIN_SRCDIR="${WHM_PLUGIN_TEMPDIR}/lsws_whm_plugin" /bin/cp -r "${WHM_PLUGIN_SRCDIR}"/* "${WHM_PLUGIN_INSDIR}/" cd "${WHM_PLUGIN_INSDIR}" # # Removes install files /bin/rm -rf "${WHM_PLUGIN_TEMPDIR}" else # install from lsws addon WHM_PLUGIN_SRCDIR="${1}" /bin/cp -r "${WHM_PLUGIN_SRCDIR}"/* "${WHM_PLUGIN_INSDIR}/" echo "LSWS_HOME=${LSWS_HOME}" > "${WHM_PLUGIN_LSWS_HOME_FILE}" fi echo "... moving files ..." if [ ! -e "${WHM_PLUGIN_ICONDIR}" ] ; then mkdir -v "${WHM_PLUGIN_ICONDIR}" fi /bin/cp -f "${WHM_PLUGIN_INSDIR}/lsws_icon.png" "${WHM_PLUGIN_ICONDIR}/" /bin/mv -f "${WHM_PLUGIN_INSDIR}/lsws.html.tt" "${WHM_PLUGIN_TMPL_INSDIR}/" echo "... setting permission to files ..." chmod -R 600 "${WHM_PLUGIN_INSDIR}" chmod 700 "${WHM_PLUGIN_INSDIR}"/*.cgi chmod 700 "${WHM_PLUGIN_INSDIR}"/*.sh chmod 700 "${WHM_PLUGIN_INSDIR}/bin" chmod 700 "${WHM_PLUGIN_INSDIR}"/bin/*.sh if [ -e "${WHM_PLUGIN_INSDIR}/res/ls_web_cache_mgr" ] ; then chmod 700 "${WHM_PLUGIN_INSDIR}"/res/ls_web_cache_mgr/*.sh CPANEL_PLUGIN_CAPABLE=1; fi # update easyapache hooks "${WHM_PLUGIN_INSDIR}/bin/whm_eahook.sh" REFRESH sed -i 's/target=mainFrame/target=_self/' "${WHM_PLUGIN_INSDIR}/lsws.conf" if [ -e "/usr/local/cpanel/bin/register_appconfig" ] ; then REGISTERED=$(/usr/local/cpanel/bin/is_registered_with_appconfig whostmgr lsws) if [ "x${REGISTERED}" != "x1" ] ; then echo "Register LSWS Plugin ..." if [ ! -e "/var/cpanel/apps" ] ; then mkdir -v "/var/cpanel/apps" echo " apps registration directory created" fi else # check if config changed CHANGED=$(diff /var/cpanel/apps/lsws.conf "${WHM_PLUGIN_INSDIR}/lsws.conf") if [ "${CHANGED}" != "" ] ; then REGISTERED=0 fi fi if [ "x${REGISTERED}" != "x1" ] ; then /usr/local/cpanel/bin/register_appconfig "${WHM_PLUGIN_INSDIR}/lsws.conf" fi /bin/rm -f "${WHM_PLUGIN_INSDIR}/addon_lsws.cgi" else echo "old version no AppConfig, place entry at parent dir" /bin/mv -f "${WHM_PLUGIN_INSDIR}/addon_lsws.cgi" "${WHM_PLUGIN_CGIDIR}/" /bin/rm -f "${WHM_PLUGIN_INSDIR}/lsws.cgi" fi #Create and add needed LSCWP source directory if [ ! -e "${WHM_PLUGIN_LSCWP_SRC_DIR}" ] ; then mkdir -m 755 "${WHM_PLUGIN_LSCWP_SRC_DIR}" fi #CageFs remount for $WHM_PLUGIN_LSCWP_SRC_DIR handled in fix_cagefs.sh if [ -f "/etc/cagefs/cagefs.mp" ] ; then FORCE_REMOUNT=0 if ! grep -v 'deleted' /proc/mounts | grep -q 'litespeed-wp-plugin' ; then FORCE_REMOUNT=1 if ! grep -Eq "^${WHM_PLUGIN_LSCWP_SRC_DIR}$" /etc/cagefs/cagefs.mp; then # shellcheck disable=SC1003 sed -i -e '$a\' /etc/cagefs/cagefs.mp echo "${WHM_PLUGIN_LSCWP_SRC_DIR}" >> /etc/cagefs/cagefs.mp fi fi THIS_DIR=$( cd "$( dirname "${0}" )" && pwd ) if [ -f "${LSWS_HOME}/admin/misc/fix_cagefs.sh" ] ; then #If CageFS, add LSWS to cage if missing. "${LSWS_HOME}/admin/misc/fix_cagefs.sh" "${FORCE_REMOUNT}" elif [ -f "${THIS_DIR}/../../../admin/misc/fix_cagefs.sh" ] ; then #LSWS not installed yet, run package relative script. "${THIS_DIR}/../../../admin/misc/fix_cagefs.sh" "${FORCE_REMOUNT}" else echo "Could not find fix_cagefs.sh! Script was not executed." fi fi #Exclude LSCache files from backup CP_BACKUP_EXCLUDE_MASTER=/usr/local/cpanel/etc/cpbackup-exclude.conf CP_BACKUP_EXCLUDE_GLOBAL=/etc/cpbackup-exclude.conf if [ ! -f "${CP_BACKUP_EXCLUDE_GLOBAL}" ] && [ -f "${CP_BACKUP_EXCLUDE_MASTER}" ] ; then cp "${CP_BACKUP_EXCLUDE_MASTER}" "${CP_BACKUP_EXCLUDE_GLOBAL}" fi if [ -f "${CP_BACKUP_EXCLUDE_GLOBAL}" ] ; then grep -Fxq "lscache/" "${CP_BACKUP_EXCLUDE_GLOBAL}" FOUND="${?}" fi if [ ! -f "${CP_BACKUP_EXCLUDE_GLOBAL}" ] || [ "${FOUND}" -ne 0 ] ; then echo "lscache/" >> "${CP_BACKUP_EXCLUDE_GLOBAL}" fi ## # Install/Update cPanel Plugin if found ## if [ "${CPANEL_PLUGIN_CAPABLE}" -eq 1 ] ; then CPANEL_PLUGIN_AUTOINSTALL=1 if [ "x${3}" = "x" ] ; then if [ -e "${CPANEL_PLUGIN_AUTOINSTALL_DISABLE_FLAG}" ] ; then CPANEL_PLUGIN_AUTOINSTALL=0 fi else CPANEL_PLUGIN_AUTOINSTALL="${3}" if [ "${CPANEL_PLUGIN_AUTOINSTALL}" -eq 1 ] ; then if [ -e "${CPANEL_PLUGIN_AUTOINSTALL_DISABLE_FLAG}" ] ; then /bin/rm -f "${CPANEL_PLUGIN_AUTOINSTALL_DISABLE_FLAG}" fi else touch "${CPANEL_PLUGIN_AUTOINSTALL_DISABLE_FLAG}" fi fi LSCMCTL_SCRIPT="${LSWS_HOME}/admin/misc/lscmctl" if [ -e "${LSCMCTL_SCRIPT}" ] ; then if "${LSCMCTL_SCRIPT}" --help | grep -q 'cpanelplugin' \ && [ "${CPANEL_PLUGIN_AUTOINSTALL}" -eq 1 ] \ || [ -e "${THEME_JUPITER_PLUGIN_DIR}" ] \ || [ -e "${THEME_PAPER_LANTERN_PLUGIN_DIR}" ] then "${LSCMCTL_SCRIPT}" cpanelplugin --install fi fi fi echo "" echo " LiteSpeed WHM Plugin Installed Successfully." echo "==============================================" PK @��\.x� � httpd_config.xmlnu �[��� <?xml version="1.0" encoding="UTF-8"?> <httpServerConfig> <serverName>$HOSTNAME</serverName> <user>nobody</user> <group>nobody</group> <priority>0</priority> <chrootPath>/</chrootPath> <enableChroot>0</enableChroot> <inMemBufSize>60M</inMemBufSize> <swappingDir>/tmp/lshttpd/swap</swappingDir> <autoRestart>1</autoRestart> <autoFix503>0</autoFix503> <loadApacheConf>1</loadApacheConf> <autoReloadApacheConf>2</autoReloadApacheConf> <apacheBinPath>/usr/local/apache/bin/httpd</apacheBinPath> <apacheConfFile>/usr/local/apache/conf/httpd.conf</apacheConfFile> <apachePortOffset>%AP_PORT_OFFSET%</apachePortOffset> <apacheIpOffset>0</apacheIpOffset> <apacheIgnoredModules></apacheIgnoredModules> <phpSuExec>%PHP_SUEXEC%</phpSuExec> <phpSuExecMaxConn>10</phpSuExecMaxConn> <mime>$SERVER_ROOT/conf/mime.properties</mime> <disableInitLogRotation>1</disableInitLogRotation> <showVersionNumber>0</showVersionNumber> <enableIpGeo></enableIpGeo> <useIpInProxyHeader>2</useIpInProxyHeader> <autoUpdateInterval>86400</autoUpdateInterval> <autoUpdateDownloadPkg>1</autoUpdateDownloadPkg> <adminEmails>%ADMIN_EMAIL%</adminEmails> <adminRoot>$SERVER_ROOT/admin/</adminRoot> <logging> <log> <fileName>/usr/local/apache/logs/error_log</fileName> <logLevel>DEBUG</logLevel> <debugLevel>0</debugLevel> <rollingSize>2000M</rollingSize> <enableStderrLog>1</enableStderrLog> <enableAioLog>1</enableAioLog> </log> <accessLog> <fileName>$SERVER_ROOT/logs/access.log</fileName> <rollingSize>2000M</rollingSize> <keepDays>30</keepDays> <compressArchive>0</compressArchive> </accessLog> </logging> <indexFiles>index.html, index.php, index.htm</indexFiles> <autoIndex></autoIndex> <autoIndexURI></autoIndexURI> <htAccess> <allowOverride>31</allowOverride> <accessFileName>.htaccess</accessFileName> </htAccess> <expires> <enableExpires>1</enableExpires> <expiresByType>image/*=A604800, text/css=A604800, application/x-javascript=A604800, application/javascript=A604800</expiresByType> </expires> <tuning> <maxConnections>10000</maxConnections> <maxSSLConnections>10000</maxSSLConnections> <connTimeout>120</connTimeout> <maxKeepAliveReq>10000</maxKeepAliveReq> <smartKeepAlive>0</smartKeepAlive> <keepAliveTimeout>10</keepAliveTimeout> <sndBufSize>0</sndBufSize> <rcvBufSize>0</rcvBufSize> <eventDispatcher>best</eventDispatcher> <maxCachedFileSize>4096</maxCachedFileSize> <totalInMemCacheSize>20M</totalInMemCacheSize> <maxMMapFileSize>256K</maxMMapFileSize> <totalMMapCacheSize>40M</totalMMapCacheSize> <useSendfile>1</useSendfile> <useAIO>1</useAIO> <AIOBlockSize>4</AIOBlockSize> <etagNoInode>1</etagNoInode> <SSLCryptoDevice>null</SSLCryptoDevice> <maxReqURLLen>8192</maxReqURLLen> <maxReqHeaderSize>16380</maxReqHeaderSize> <maxReqBodySize>500M</maxReqBodySize> <maxDynRespHeaderSize>8K</maxDynRespHeaderSize> <maxDynRespSize>500M</maxDynRespSize> <enableGzipCompress>1</enableGzipCompress> <enableDynGzipCompress>1</enableDynGzipCompress> <compressibleTypes>default</compressibleTypes> <gzipAutoUpdateStatic>1</gzipAutoUpdateStatic> <gzipCacheDir></gzipCacheDir> </tuning> <security> <fileAccessControl> <followSymbolLink>1</followSymbolLink> <checkSymbolLink>0</checkSymbolLink> <forceStrictOwnership>1</forceStrictOwnership> <requiredPermissionMask>000</requiredPermissionMask> <restrictedPermissionMask>000</restrictedPermissionMask> <restrictedScriptPermissionMask>000</restrictedScriptPermissionMask> <restrictedDirPermissionMask>000</restrictedDirPermissionMask> </fileAccessControl> <perClientConnLimit> <staticReqPerSec>0</staticReqPerSec> <dynReqPerSec>0</dynReqPerSec> <outBandwidth>0</outBandwidth> <inBandwidth>0</inBandwidth> <softLimit>10000</softLimit> <hardLimit>10000</hardLimit> <gracePeriod>15</gracePeriod> <banPeriod>300</banPeriod> </perClientConnLimit> <CGIRLimit> <maxCGIInstances>200</maxCGIInstances> <minUID>11</minUID> <minGID>10</minGID> <priority>0</priority> <CPUSoftLimit>60</CPUSoftLimit> <CPUHardLimit>120</CPUHardLimit> <memSoftLimit>1450M</memSoftLimit> <memHardLimit>1500M</memHardLimit> <procSoftLimit>400</procSoftLimit> <procHardLimit>450</procHardLimit> </CGIRLimit> <censorshipControl> <enableCensorship>0</enableCensorship> <logLevel>0</logLevel> <defaultAction>deny,log,status:403</defaultAction> <scanPOST>1</scanPOST> </censorshipControl> <accessDenyDir> <dir>/</dir> <dir>/etc/*</dir> <dir>/dev/*</dir> <dir>$SERVER_ROOT/conf/*</dir> <dir>$SERVER_ROOT/admin/conf/*</dir> </accessDenyDir> <accessControl> <allow>ALL</allow> <deny></deny> </accessControl> </security> <phpConfig> <maxConns>35</maxConns> <env>PHP_LSAPI_CHILDREN=35</env> <initTimeout>60</initTimeout> <retryTimeout>0</retryTimeout> <pcKeepAliveTimeout>1</pcKeepAliveTimeout> <respBuffer>0</respBuffer> <extMaxIdleTime>60</extMaxIdleTime> <memSoftLimit></memSoftLimit> <memHardLimit></memHardLimit> <procSoftLimit>1400</procSoftLimit> <procHardLimit>1500</procHardLimit> </phpConfig> <railsDefaults> <rubyBin></rubyBin> <railsEnv>1</railsEnv> <maxConns>5</maxConns> <env>LSAPI_MAX_IDLE=60</env> <initTimeout>60</initTimeout> <retryTimeout>0</retryTimeout> <pcKeepAliveTimeout>60</pcKeepAliveTimeout> <respBuffer>0</respBuffer> <backlog>50</backlog> <runOnStartUp>1</runOnStartUp> <extMaxIdleTime>300</extMaxIdleTime> <priority>3</priority> <memSoftLimit></memSoftLimit> <memHardLimit></memHardLimit> <procSoftLimit>400</procSoftLimit> <procHardLimit>500</procHardLimit> </railsDefaults> </httpServerConfig> PK @��\��P�? ? httpd_config.xml.ea4nu �[��� <?xml version="1.0" encoding="UTF-8"?> <httpServerConfig> <serverName>$HOSTNAME</serverName> <user>nobody</user> <group>nobody</group> <priority>0</priority> <chrootPath>/</chrootPath> <enableChroot>0</enableChroot> <inMemBufSize>60M</inMemBufSize> <swappingDir>/tmp/lshttpd/swap</swappingDir> <autoRestart>1</autoRestart> <autoFix503>0</autoFix503> <loadApacheConf>1</loadApacheConf> <autoReloadApacheConf>2</autoReloadApacheConf> <apacheBinPath>/usr/sbin/httpd</apacheBinPath> <apacheConfFile>/etc/apache2/conf/httpd.conf</apacheConfFile> <apachePortOffset>%AP_PORT_OFFSET%</apachePortOffset> <apacheIpOffset>0</apacheIpOffset> <apacheIgnoredModules></apacheIgnoredModules> <phpSuExec>%PHP_SUEXEC%</phpSuExec> <phpSuExecMaxConn>10</phpSuExecMaxConn> <mime>$SERVER_ROOT/conf/mime.properties</mime> <disableInitLogRotation>1</disableInitLogRotation> <showVersionNumber>0</showVersionNumber> <enableIpGeo></enableIpGeo> <useIpInProxyHeader>2</useIpInProxyHeader> <autoUpdateInterval>86400</autoUpdateInterval> <autoUpdateDownloadPkg>1</autoUpdateDownloadPkg> <adminEmails>%ADMIN_EMAIL%</adminEmails> <adminRoot>$SERVER_ROOT/admin/</adminRoot> <logging> <log> <fileName>/var/log/apache2/error_log</fileName> <logLevel>DEBUG</logLevel> <debugLevel>0</debugLevel> <rollingSize>2000M</rollingSize> <enableStderrLog>1</enableStderrLog> <enableAioLog>1</enableAioLog> </log> <accessLog> <fileName>$SERVER_ROOT/logs/access.log</fileName> <rollingSize>2000M</rollingSize> <keepDays>30</keepDays> <compressArchive>0</compressArchive> </accessLog> </logging> <indexFiles>index.html, index.php, index.htm</indexFiles> <autoIndex></autoIndex> <autoIndexURI></autoIndexURI> <htAccess> <allowOverride>31</allowOverride> <accessFileName>.htaccess</accessFileName> </htAccess> <expires> <enableExpires>1</enableExpires> <expiresByType>image/*=A604800,text/css=A604800,application/x-javascript=A604800,application/javascript=A604800,font/*=A604800,application/x-font-ttf=A604800</expiresByType> </expires> <tuning> <maxConnections>10000</maxConnections> <maxSSLConnections>10000</maxSSLConnections> <connTimeout>120</connTimeout> <maxKeepAliveReq>10000</maxKeepAliveReq> <smartKeepAlive>0</smartKeepAlive> <keepAliveTimeout>10</keepAliveTimeout> <sndBufSize>0</sndBufSize> <rcvBufSize>0</rcvBufSize> <eventDispatcher>best</eventDispatcher> <maxCachedFileSize>4096</maxCachedFileSize> <totalInMemCacheSize>20M</totalInMemCacheSize> <maxMMapFileSize>256K</maxMMapFileSize> <totalMMapCacheSize>40M</totalMMapCacheSize> <useSendfile>1</useSendfile> <useAIO>1</useAIO> <AIOBlockSize>4</AIOBlockSize> <etagNoInode>1</etagNoInode> <SSLCryptoDevice>null</SSLCryptoDevice> <maxReqURLLen>8192</maxReqURLLen> <maxReqHeaderSize>16380</maxReqHeaderSize> <maxReqBodySize>500M</maxReqBodySize> <maxDynRespHeaderSize>8K</maxDynRespHeaderSize> <maxDynRespSize>500M</maxDynRespSize> <enableGzipCompress>1</enableGzipCompress> <enableDynGzipCompress>1</enableDynGzipCompress> <compressibleTypes>default</compressibleTypes> <gzipAutoUpdateStatic>1</gzipAutoUpdateStatic> <gzipCacheDir></gzipCacheDir> </tuning> <security> <fileAccessControl> <followSymbolLink>1</followSymbolLink> <checkSymbolLink>0</checkSymbolLink> <forceStrictOwnership>1</forceStrictOwnership> <requiredPermissionMask>000</requiredPermissionMask> <restrictedPermissionMask>000</restrictedPermissionMask> <restrictedScriptPermissionMask>000</restrictedScriptPermissionMask> <restrictedDirPermissionMask>000</restrictedDirPermissionMask> </fileAccessControl> <perClientConnLimit> <staticReqPerSec>0</staticReqPerSec> <dynReqPerSec>0</dynReqPerSec> <outBandwidth>0</outBandwidth> <inBandwidth>0</inBandwidth> <softLimit>10000</softLimit> <hardLimit>10000</hardLimit> <gracePeriod>15</gracePeriod> <banPeriod>300</banPeriod> </perClientConnLimit> <CGIRLimit> <maxCGIInstances>200</maxCGIInstances> <minUID>11</minUID> <minGID>10</minGID> <priority>0</priority> <CPUSoftLimit>60</CPUSoftLimit> <CPUHardLimit>120</CPUHardLimit> <memSoftLimit>1450M</memSoftLimit> <memHardLimit>1500M</memHardLimit> <procSoftLimit>1400</procSoftLimit> <procHardLimit>1450</procHardLimit> </CGIRLimit> <censorshipControl> <enableCensorship>0</enableCensorship> <logLevel>0</logLevel> <defaultAction>deny,log,status:403</defaultAction> <scanPOST>1</scanPOST> </censorshipControl> <accessDenyDir> <dir>/</dir> <dir>/etc/*</dir> <dir>/dev/*</dir> <dir>$SERVER_ROOT/conf/*</dir> <dir>$SERVER_ROOT/admin/conf/*</dir> </accessDenyDir> <accessControl> <allow>ALL</allow> <deny></deny> </accessControl> </security> <extProcessorList> </extProcessorList> <scriptHandlerList> </scriptHandlerList> <phpConfig> <maxConns>35</maxConns> <env>PHP_LSAPI_CHILDREN=35</env> <initTimeout>60</initTimeout> <retryTimeout>0</retryTimeout> <pcKeepAliveTimeout>1</pcKeepAliveTimeout> <respBuffer>0</respBuffer> <extMaxIdleTime>60</extMaxIdleTime> <memSoftLimit></memSoftLimit> <memHardLimit></memHardLimit> <procSoftLimit>1400</procSoftLimit> <procHardLimit>1500</procHardLimit> </phpConfig> <railsDefaults> <rubyBin>/usr/local/lsws/fcgi-bin/ea-ruby27</rubyBin> <railsEnv>1</railsEnv> <maxConns>5</maxConns> <env>LSAPI_MAX_IDLE=60</env> <initTimeout>60</initTimeout> <retryTimeout>0</retryTimeout> <pcKeepAliveTimeout>60</pcKeepAliveTimeout> <respBuffer>0</respBuffer> <backlog>50</backlog> <runOnStartUp>0</runOnStartUp> <extMaxIdleTime>300</extMaxIdleTime> <priority>3</priority> <memSoftLimit></memSoftLimit> <memHardLimit></memHardLimit> <procSoftLimit>400</procSoftLimit> <procHardLimit>500</procHardLimit> </railsDefaults> </httpServerConfig> PK @��\1��pE1 E1 * lsws_whm_plugin/lsws_whm_plugin_install.shnu ȯ�� PK @��\.x� � �1 httpd_config.xmlnu �[��� PK @��\��P�? ? �I httpd_config.xml.ea4nu �[��� PK b
| ver. 1.4 |
Github
|
.
| PHP 8.3.30 | Generation time: 1.13 |
proxy
|
phpinfo
|
Settings