File manager - Edit - /home/newsbmcs.com/public_html/static/img/logo/conf.tar
Back
vhosts/Example/vhconf.conf 0000644 00000003203 15030400777 0011620 0 ustar 00 docRoot $VH_ROOT/html/ enableGzip 1 context /docs/{ allowBrowse 1 location $SERVER_ROOT/docs/ type NULL } context /protected/{ required user test authName Protected type NULL allowBrowse 1 location protected/ realm SampleProtectedArea accessControl { deny allow * } } context /blocked/{ allowBrowse 0 type NULL } context /cgi-bin/{ allowBrowse 1 location $VH_ROOT/cgi-bin/ type cgi } expires { enableExpires 1 } index { autoIndexURI /_autoindex/default.php indexFiles index.html autoIndex 0 useServer 0 } errorPage 404{ url /error404.html } errorlog $VH_ROOT/logs/error.log{ logLevel DEBUG rollingSize 10M useServer 1 } accessLog $VH_ROOT/logs/access.log{ compressArchive 0 logReferer 1 keepDays 30 rollingSize 10M logUserAgent 1 useServer 0 } htAccess { accessFileName .htaccess allowOverride 0 } awstats { updateInterval 86400 workingDir $VH_ROOT/awstats updateOffset 0 siteDomain localhost siteAliases 127.0.0.1 localhost updateMode 0 awstatsURI /awstats/ } rewrite { enable 0 logLevel 0 rules <<<END_rules RewriteCond %{HTTP_USER_AGENT} ^NameOfBadRobot RewriteRule ^/nospider/ - [F] END_rules } hotlinkCtrl { suffixes gif, jpeg, jpg allowedHosts allowDirectAccess 1 enableHotlinkCtrl 0 onlySelf 1 } accessControl { deny allow * } realm SampleProtectedArea { userDB { cacheTimeout 60 maxCacheSize 200 location $SERVER_ROOT/conf/vhosts/Example/htpasswd } groupDB { cacheTimeout 60 maxCacheSize 200 location $SERVER_ROOT/conf/vhosts/Example/htgroup } } general { enableContextAC 0 } vhosts/Example/htpasswd 0000644 00000000047 15030400777 0011251 0 ustar 00 test:kF2EDBE2Ux8sQ user1:SQtevcsBBnBPY vhosts/Example/htgroup 0000644 00000000100 15030400777 0011072 0 ustar 00 group1: user1,user2, user3 group2: user: user8, test group3: templates/phpsuexec.conf 0000644 00000003164 15030400777 0011424 0 ustar 00 allowSymbolLink 1 chrootMode 0 enableScript 1 restrained 1 setUIDMode 2 vhRoot $SERVER_ROOT/$VH_NAME/ configFile $SERVER_ROOT/conf/vhosts/$VH_NAME/vhconf.conf virtualHostConfig { enableGzip 1 docRoot $VH_ROOT/public_html/ htAccess { accessFileName .htaccess allowOverride 31 } rewrite { enable 0 logLevel 0 } awstats { updateMode 0 workingDir $VH_ROOT/awstats awstatsURI /awstats/ siteDomain localhost siteAliases 127.0.0.1 localhost updateInterval 86400 updateOffset 0 securedConn 0 } extProcessor $VH_NAME_lsphp{ path $SERVER_ROOT/fcgi-bin/lsphp backlog 10 instances 5 runOnStartUp 0 respBuffer 0 autoStart 1 extMaxIdleTime 60 priority 0 memSoftLimit 100M memHardLimit 150M procSoftLimit 100 procHardLimit 200 type lsapi address uds://tmp/lshttpd/$VH_NAME_lsphp.sock maxConns 5 initTimeout 60 retryTimeout 0 persistConn 1 pcKeepAliveTimeout 30 } index { useServer 0 autoIndex 0 autoIndexURI /_autoindex/default.php indexFiles index.html } accessLog $SERVER_ROOT/logs/$VH_NAME.access.log{ keepDays 30 rollingSize 100M compressArchive 1 useServer 0 logHeaders 3 } errorlog { useServer 1 } hotlinkCtrl { enableHotlinkCtrl 0 suffixes gif, jpeg, jpg allowDirectAccess 1 onlySelf 1 } accessControl { allow * } scriptHandler { add lsapi:$VH_NAME_lsphp php } expires { enableExpires 1 } context /cgi-bin/{ type cgi location $VH_ROOT/cgi-bin/ accessControl rewrite } } templates/ccl.conf0,v 0000644 00000003060 15030400777 0010476 0 ustar 00 head 1.1; access; symbols; locks root:1.1; strict; comment @# @; 1.1 date 2017.08.17.05.47.23; author root; state Exp; branches; next ; desc @/usr/local/CyberCP/conf/templates/ccl.conf0 @ 1.1 log @Update @ text @allowSymbolLink 1 chrootMode 0 enableScript 1 restrained 1 setUIDMode 0 vhRoot $SERVER_ROOT/$VH_NAME/ configFile $SERVER_ROOT/conf/vhosts/$VH_NAME/vhconf.conf virtualHostConfig { enableGzip 1 docRoot $VH_ROOT/html/ hotlinkCtrl { allowedHosts enableHotlinkCtrl 0 suffixes gif, jpeg, jpg allowDirectAccess 1 redirectUri onlySelf 1 } general { enableContextAC 0 } expires { expiresDefault enableExpires 1 } rewrite { enable 0 logLevel 0 rules <<<MY_END RewriteCond %{HTTP_USER_AGENT} ^NameOfBadRobot RewriteRule ^/nospider/ - [F] MY_END } index { useServer 0 autoIndex 0 indexFiles index.html autoIndexURI /_autoindex/default.php } accessLog $SERVER_ROOT/logs/$VH_NAME.access.log{ useServer 0 keepDays 30 rollingSize 100M compressArchive 1 logUserAgent 1 logReferer 1 } errorlog { useServer 1 } htAccess { allowOverride 0 accessFileName .htaccess } context /cgi-bin/{ type cgi location $VH_ROOT/cgi-bin/ allowBrowse 1 } awstats { updateMode 0 siteAliases 127.0.0.1 localhost updateInterval 86400 updateOffset 0 siteDomain localhost workingDir $VH_ROOT/awstats awstatsURI /awstats/ } accessControl { deny allow * } } @ templates/ccl.conf 0000644 00000002523 15030400777 0010157 0 ustar 00 allowSymbolLink 1 chrootMode 0 enableScript 1 restrained 1 setUIDMode 0 vhRoot $SERVER_ROOT/$VH_NAME/ configFile $SERVER_ROOT/conf/vhosts/$VH_NAME/vhconf.conf virtualHostConfig { enableGzip 1 docRoot $VH_ROOT/html/ hotlinkCtrl { allowedHosts enableHotlinkCtrl 0 suffixes gif, jpeg, jpg allowDirectAccess 1 redirectUri onlySelf 1 } general { enableContextAC 0 } expires { expiresDefault enableExpires 1 } rewrite { enable 0 logLevel 0 rules <<<MY_END RewriteCond %{HTTP_USER_AGENT} ^NameOfBadRobot RewriteRule ^/nospider/ - [F] MY_END } index { useServer 0 autoIndex 0 indexFiles index.html autoIndexURI /_autoindex/default.php } accessLog $SERVER_ROOT/logs/$VH_NAME.access.log{ useServer 0 keepDays 30 rollingSize 100M compressArchive 1 logUserAgent 1 logReferer 1 } errorlog { useServer 1 } htAccess { allowOverride 0 accessFileName .htaccess } context /cgi-bin/{ type cgi location $VH_ROOT/cgi-bin/ allowBrowse 1 } awstats { updateMode 0 siteAliases 127.0.0.1 localhost updateInterval 86400 updateOffset 0 siteDomain localhost workingDir $VH_ROOT/awstats awstatsURI /awstats/ } accessControl { deny allow * } } templates/rails.conf 0000644 00000002225 15030400777 0010527 0 ustar 00 allowSymbolLink 1 chrootMode 0 enableScript 1 restrained 1 setUIDMode 2 vhRoot $SERVER_ROOT/$VH_NAME/ configFile $SERVER_ROOT/conf/vhosts/$VH_NAME/vhconf.conf virtualHostConfig { enableGzip 1 docRoot $VH_ROOT/public/ accessControl { allow * } hotlinkCtrl { suffixes gif, jpeg, jpg allowDirectAccess 1 onlySelf 1 enableHotlinkCtrl 0 } rewrite { enable 0 logLevel 0 } index { useServer 0 autoIndex 0 indexFiles index.html autoIndexURI /_autoindex/default.php } accessLog $SERVER_ROOT/logs/$VH_NAME.access.log{ logHeaders 3 compressArchive 0 useServer 0 keepDays 30 rollingSize 500M } errorlog { useServer 1 } context /{ railsEnv 1 maxConns 5 location $VH_ROOT/ type rails accessControl addDefaultCharset off } htAccess { allowOverride 0 accessFileName .htaccess } expires { enableExpires 1 } awstats { workingDir $VH_ROOT/awstats awstatsURI /awstats/ siteDomain localhost siteAliases 127.0.0.1 localhost updateMode 0 updateInterval 86400 updateOffset 0 securedConn 0 } } templates/rails.conf0,v 0000644 00000002564 15030400777 0011057 0 ustar 00 head 1.1; access; symbols; locks root:1.1; strict; comment @# @; 1.1 date 2017.08.17.05.47.23; author root; state Exp; branches; next ; desc @/usr/local/CyberCP/conf/templates/rails.conf0 @ 1.1 log @Update @ text @allowSymbolLink 1 chrootMode 0 enableScript 1 restrained 1 setUIDMode 2 vhRoot $SERVER_ROOT/$VH_NAME/ configFile $SERVER_ROOT/conf/vhosts/$VH_NAME/vhconf.conf virtualHostConfig { enableGzip 1 docRoot $VH_ROOT/public/ accessControl { allow * } hotlinkCtrl { suffixes gif, jpeg, jpg allowDirectAccess 1 onlySelf 1 enableHotlinkCtrl 0 } rewrite { enable 0 logLevel 0 } index { useServer 0 autoIndex 0 indexFiles index.html autoIndexURI /_autoindex/default.php } accessLog $SERVER_ROOT/logs/$VH_NAME.access.log{ logHeaders 3 compressArchive 0 useServer 0 keepDays 30 rollingSize 500M } errorlog { useServer 1 } context /{ railsEnv 1 maxConns 5 location $VH_ROOT/ type rails accessControl addDefaultCharset off } htAccess { allowOverride 0 accessFileName .htaccess } expires { enableExpires 1 } awstats { workingDir $VH_ROOT/awstats awstatsURI /awstats/ siteDomain localhost siteAliases 127.0.0.1 localhost updateMode 0 updateInterval 86400 updateOffset 0 securedConn 0 } } @ templates/phpsuexec.conf0,v 0000644 00000003527 15030400777 0011751 0 ustar 00 head 1.1; access; symbols; locks root:1.1; strict; comment @# @; 1.1 date 2017.08.17.05.47.23; author root; state Exp; branches; next ; desc @/usr/local/CyberCP/conf/templates/phpsuexec.conf0 @ 1.1 log @Update @ text @allowSymbolLink 1 chrootMode 0 enableScript 1 restrained 1 setUIDMode 2 vhRoot $SERVER_ROOT/$VH_NAME/ configFile $SERVER_ROOT/conf/vhosts/$VH_NAME/vhconf.conf virtualHostConfig { enableGzip 1 docRoot $VH_ROOT/public_html/ htAccess { accessFileName .htaccess allowOverride 31 } rewrite { enable 0 logLevel 0 } awstats { updateMode 0 workingDir $VH_ROOT/awstats awstatsURI /awstats/ siteDomain localhost siteAliases 127.0.0.1 localhost updateInterval 86400 updateOffset 0 securedConn 0 } extProcessor $VH_NAME_lsphp{ path $SERVER_ROOT/fcgi-bin/lsphp backlog 10 instances 5 runOnStartUp 0 respBuffer 0 autoStart 1 extMaxIdleTime 60 priority 0 memSoftLimit 100M memHardLimit 150M procSoftLimit 100 procHardLimit 200 type lsapi address uds://tmp/lshttpd/$VH_NAME_lsphp.sock maxConns 5 initTimeout 60 retryTimeout 0 persistConn 1 pcKeepAliveTimeout 30 } index { useServer 0 autoIndex 0 autoIndexURI /_autoindex/default.php indexFiles index.html } accessLog $SERVER_ROOT/logs/$VH_NAME.access.log{ keepDays 30 rollingSize 100M compressArchive 1 useServer 0 logHeaders 3 } errorlog { useServer 1 } hotlinkCtrl { enableHotlinkCtrl 0 suffixes gif, jpeg, jpg allowDirectAccess 1 onlySelf 1 } accessControl { allow * } scriptHandler { add lsapi:$VH_NAME_lsphp php } expires { enableExpires 1 } context /cgi-bin/{ type cgi location $VH_ROOT/cgi-bin/ accessControl rewrite } } @ httpd_config.conf 0000644 00000012335 15030400777 0010072 0 ustar 00 # # PLAIN TEXT CONFIGURATION FILE # serverName lscp user nobody group nobody priority 0 inMemBufSize 60M swappingDir /tmp/lshttpd/swap autoFix503 1 gracefulRestartTimeout 300 mime $SERVER_ROOT/conf/mime.properties showVersionNumber 0 adminEmails root@localhost adminRoot $SERVER_ROOT/admin/ errorlog $SERVER_ROOT/logs/error.log { logLevel DEBUG debugLevel 0 rollingSize 10M enableStderrLog 1 } accesslog $SERVER_ROOT/logs/access.log { rollingSize 10M keepDays 30 compressArchive 0 } indexFiles index.html, index.php expires { enableExpires 1 expiresByType image/*=A604800, text/css=A604800, application/x-javascript=A604800 } tuning { eventDispatcher best maxConnections 2000 maxSSLConnections 1000 connTimeout 300 maxKeepAliveReq 1000 smartKeepAlive 0 keepAliveTimeout 5 sndBufSize 0 rcvBufSize 0 maxReqURLLen 8192 maxReqHeaderSize 16380 maxReqBodySize 2047M maxDynRespHeaderSize 8192 maxDynRespSize 2047M maxCachedFileSize 4096 totalInMemCacheSize 20M maxMMapFileSize 256K totalMMapCacheSize 40M useSendfile 1 fileETag 28 enableGzipCompress 1 enableDynGzipCompress 1 gzipCompressLevel 6 compressibleTypes text/*,application/x-javascript,application/javascript,application/xml, image/svg+xml gzipAutoUpdateStatic 1 gzipStaticCompressLevel 6 gzipMaxFileSize 1M gzipMinFileSize 300 SSLCryptoDevice null } fileAccessControl { followSymbolLink 1 checkSymbolLink 0 requiredPermissionMask 000 restrictedPermissionMask 000 } perClientConnLimit { staticReqPerSec 0 dynReqPerSec 0 outBandwidth 0 inBandwidth 0 softLimit 10000 hardLimit 10000 gracePeriod 15 banPeriod 300 } CGIRLimit { maxCGIInstances 20 minUID 11 minGID 10 priority 0 CPUSoftLimit 10 CPUHardLimit 50 memSoftLimit 460M memHardLimit 470M procSoftLimit 400 procHardLimit 450 } accessDenyDir { dir / dir /etc/* dir /dev/* dir $SERVER_ROOT/conf/* dir $SERVER_ROOT/admin/conf/* } accessControl { allow ALL } scripthandler { add lsapi:php70 php } railsDefaults { maxConns 5 env LSAPI_MAX_REQS=1000 env LSAPI_MAX_IDLE=60 initTimeout 60 retryTimeout 0 pcKeepAliveTimeout 60 respBuffer 0 backlog 50 runOnStartUp 1 extMaxIdleTime 300 priority 3 memSoftLimit 2047M memHardLimit 2047M procSoftLimit 500 procHardLimit 600 } module cache { param <<<END_param enableCache 0 enablePrivateCache 0 checkPublicCache 1 checkPrivateCache 1 qsCache 1 reqCookieCache 1 ignoreReqCacheCtrl 1 ignoreRespCacheCtrl 0 respCookieCache 1 expireInSeconds 3600 privateExpireInSeconds 3600 maxStaleAge 200 maxCacheObjSize 10000000 storagepath cachedata noCacheDomain noCacheUrl no-vary 0 addEtag 0 END_param } listener Default{ address *:80 secure 0 map Example * } listener Default IPv6{ address [ANY]:80 secure 0 map Example * } vhTemplate centralConfigLog { templateFile $SERVER_ROOT/conf/templates/ccl.conf listeners Default } vhTemplate PHP_SuEXEC { templateFile $SERVER_ROOT/conf/templates/phpsuexec.conf listeners Default } vhTemplate EasyRailsWithSuEXEC { templateFile $SERVER_ROOT/conf/templates/rails.conf listeners Default } virtualHost Example{ vhRoot $SERVER_ROOT/Example/ allowSymbolLink 1 enableScript 1 restrained 1 maxKeepAliveReq smartKeepAlive setUIDMode 0 chrootMode 0 configFile $SERVER_ROOT/conf/vhosts/Example/vhconf.conf } include phpconfigs/php53.conf include phpconfigs/php54.conf include phpconfigs/php55.conf include phpconfigs/php56.conf include phpconfigs/php70.conf include phpconfigs/php71.conf mime.properties 0000644 00000011366 15030400777 0007623 0 ustar 00 default = application/octet-stream 3gp = video/3gpp 3g2 = video/3gpp2 ai, eps = application/postscript aif, aifc, aiff = audio/x-aiff asc = text/plain asf = video/asf asx = video/x-ms-asf au = audio/basic avi = video/x-msvideo bcpio = application/x-bcpio bmp = image/bmp bin = application/octet-stream bz, bz2 = application/x-bzip cdf = application/x-netcdf class = application/java-vm cpio = application/x-cpio cpt = application/mac-compactpro crt = application/x-x509-ca-cert csh = application/x-csh css = text/css dcr,dir, dxr = application/x-director dms = application/octet-stream doc = application/msword dtd = application/xml-dtd dvi = application/x-dvi eot = application/vnd.ms-fontobject etx = text/x-setext exe = application/x-executable ez = application/andrew-inset flv = video/x-flv gif = image/gif gtar = application/x-gtar gz, gzip = application/gzip hdf = application/x-hdf hqx = application/mac-binhex40 htc = text/x-component html, htm = text/html ice = x-conference/x-cooltalk ico = image/x-icon ief = image/ief iges, igs = model/iges iso = application/x-cd-image java = text/plain jar = application/java-archive jnlp = application/x-java-jnlp-file jpeg, jpe, jpg = image/jpeg js = application/x-javascript js2 = application/javascript js3 = text/javascript json = application/json jsp = text/plain kar = audio/midi latex = application/x-latex lha, lzh = application/octet-stream man = application/x-troff-man mdb = application/vnd.ms-access me = application/x-troff-me mesh = model/mesh mid, midi = audio/midi mif = application/vnd.mif movie = video/x-sgi-movie mov = video/quicktime mp2, mp3, mpga = audio/mpeg mpeg, mpe, mpg = video/mpeg mp4 = video/mp4 mpp = application/vnd.ms-project ms = application/x-troff-ms msh = model/mesh nc = application/x-netcdf oda = application/oda odb = application/vnd.oasis.opendocument.database odc = application/vnd.oasis.opendocument.chart odf = application/vnd.oasis.opendocument.formula odg = application/vnd.oasis.opendocument.graphics odi = application/vnd.oasis.opendocument.image odp = application/vnd.oasis.opendocument.presentation ods = application/vnd.oasis.opendocument.spreadsheet odt = application/vnd.oasis.opendocument.text ogg = audio/ogg otf = application/x-font-woff pbm = image/x-portable-bitmap pdb = chemical/x-pdb pdf = application/pdf pgm = image/x-portable-graymap pgn = application/x-chess-pgn pls = audio/x-scpls png = image/png pnm = image/x-portable-anymap ppm = image/x-portable-pixmap ppt = application/vnd.ms-powerpoint ps = application/postscript qt,qtvr = video/quicktime ra = audio/x-realaudio ram, rm = audio/x-pn-realaudio rar = application/x-rar-compressed ras = image/x-cmu-raster rgb = image/x-rgb roff, t, tr = application/x-troff rss = application/rss+xml rsd = application/rsd+xml rtf = application/rtf rtx = text/richtext ser = application/java-serialized-object sgml, sgm = text/sgml sh = application/x-sh shar = application/x-shar shtml = application/x-httpd-shtml silo = model/mesh sit = application/x-stuffit skd, skm, skp, skt = application/x-koan smi,smil = application/smil snd = audio/basic spl = application/x-futuresplash sql = text/x-sql src = application/x-wais-source sv4cpio = application/x-sv4cpio sv4crc = application/x-sv4crc svg, svgz = image/svg+xml swf = application/x-shockwave-flash tar = application/x-tar tcl = application/x-tcl tex = application/x-tex texi, texinfo = application/x-texinfo tgz = application/x-gtar tiff, tif = image/tiff tsv = text/tab-separated-values ttf, ttc = application/x-font-ttf txt = text/plain ustar = application/x-ustar vcd = application/x-cdlink vrml = model/vrml vxml = application/voicexml+xml wav = audio/vnd.wave wax = audio/x-ms-wax wbmp = image/vnd.wap.wbmp wma = audio/x-ms-wma wml = text/vnd.wap.wml wmlc = application/vnd.wap.wmlc wmls = text/vnd.wap.wmlscript wmlsc = application/vnd.wap.wmlscriptc woff = application/font-woff woff2 = font/woff2 woff_o1 = application/x-font-woff wtls-ca-certificate = application/vnd.wap.wtls-ca-certificate wri = application/vnd.ms-write wrl = model/vrml xbm = image/x-xbitmap xhtml, xht = application/xhtml+xml xls = application/vnd.ms-excel xml, xsd, xsl = application/xml xslt = application/xslt+xml xpm = image/x-xpixmap xwd = image/x-xwindowdump xyz = chemical/x-pdb zip = application/zip z = application/compress urls/i18n.py 0000644 00000002240 15030410212 0006644 0 ustar 00 import functools from django.conf import settings from django.urls import LocalePrefixPattern, URLResolver, get_resolver, path from django.views.i18n import set_language def i18n_patterns(*urls, prefix_default_language=True): """ Add the language code prefix to every URL pattern within this function. This may only be used in the root URLconf, not in an included URLconf. """ if not settings.USE_I18N: return list(urls) return [ URLResolver( LocalePrefixPattern(prefix_default_language=prefix_default_language), list(urls), ) ] @functools.lru_cache(maxsize=None) def is_language_prefix_patterns_used(urlconf): """ Return a tuple of two booleans: ( `True` if i18n_patterns() (LocalePrefixPattern) is used in the URLconf, `True` if the default language should be prefixed ) """ for url_pattern in get_resolver(urlconf).url_patterns: if isinstance(url_pattern.pattern, LocalePrefixPattern): return True, url_pattern.pattern.prefix_default_language return False, False urlpatterns = [ path("setlang/", set_language, name="set_language"), ] urls/__pycache__/static.cpython-310.pyc 0000644 00000002022 15030410212 0013711 0 ustar 00 o �h� � @ sT d dl Z d dlmZ d dlmZ d dlmZ d dlmZ d dl m Z e fdd�ZdS ) � N)�urlsplit)�settings)�ImproperlyConfigured)�re_path)�servec K s@ | st d��tjrt| �jrg S tdt�| �d�� ||d�gS )a$ Return a URL pattern for serving files in debug mode. from django.conf import settings from django.conf.urls.static import static urlpatterns = [ # ... the rest of your URLconf goes here ... ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) z!Empty static prefix not permittedz^%s(?P<path>.*)$�/)�kwargs) r r �DEBUGr �netlocr �re�escape�lstrip)�prefix�viewr � r �M/usr/local/CyberPanel/lib/python3.10/site-packages/django/conf/urls/static.py�static s ��r )r �urllib.parser �django.confr �django.core.exceptionsr �django.urlsr �django.views.staticr r r r r r �<module> s urls/__pycache__/__init__.cpython-310.pyc 0000644 00000000700 15030410212 0014162 0 ustar 00 o �h$ � @ s<