D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
usr
/
local
/
lsws
/
add-ons
/
lxadmin
/
Filename :
httpd_config.xml
back
Copy
<?xml version="1.0" encoding="UTF-8"?> <httpServerConfig> <serverName>$HOSTNAME</serverName> <user>apache</user> <group>apache</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>1</autoReloadApacheConf> <apacheBinPath>/usr/sbin/httpd</apacheBinPath> <apacheConfFile>/etc/httpd/conf/httpd.conf</apacheConfFile> <apachePortOffset>%AP_PORT_OFFSET%</apachePortOffset> <apacheIpOffset>0</apacheIpOffset> <phpSuExec>%PHP_SUEXEC%</phpSuExec> <phpSuExecMaxConn>10</phpSuExecMaxConn> <mime>$SERVER_ROOT/conf/mime.properties</mime> <disableInitLogRotation></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>$SERVER_ROOT/logs/error.log</fileName> <logLevel>DEBUG</logLevel> <debugLevel>0</debugLevel> <rollingSize>2000M</rollingSize> <enableStderrLog>1</enableStderrLog> </log> <accessLog> <fileName>$SERVER_ROOT/logs/access.log</fileName> <rollingSize>10M</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>4K</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> <requiredPermissionMask>000</requiredPermissionMask> <restrictedPermissionMask>000</restrictedPermissionMask> </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>20</maxCGIInstances> <minUID>11</minUID> <minGID>10</minGID> <priority>0</priority> <CPUSoftLimit>60</CPUSoftLimit> <CPUHardLimit>120</CPUHardLimit> <memSoftLimit>1250M</memSoftLimit> <memHardLimit>1300M</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> <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></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>