Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ServerRoot "/etc/httpd"
- Listen 80
- LoadModule authn_file_module modules/mod_authn_file.so
- LoadModule authn_default_module modules/mod_authn_default.so
- LoadModule authz_host_module modules/mod_authz_host.so
- LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
- LoadModule authz_user_module modules/mod_authz_user.so
- LoadModule authz_owner_module modules/mod_authz_owner.so
- LoadModule authz_default_module modules/mod_authz_default.so
- LoadModule auth_basic_module modules/mod_auth_basic.so
- LoadModule auth_digest_module modules/mod_auth_digest.so
- LoadModule include_module modules/mod_include.so
- LoadModule filter_module modules/mod_filter.so
- LoadModule deflate_module modules/mod_deflate.so
- LoadModule log_config_module modules/mod_log_config.so
- #LoadModule logio_module modules/mod_logio.so
- LoadModule env_module modules/mod_env.so
- LoadModule mime_magic_module modules/mod_mime_magic.so
- LoadModule headers_module modules/mod_headers.so
- LoadModule setenvif_module modules/mod_setenvif.so
- LoadModule proxy_module modules/mod_proxy.so
- LoadModule proxy_http_module modules/mod_proxy_http.so
- LoadModule mime_module modules/mod_mime.so
- LoadModule status_module modules/mod_status.so
- LoadModule autoindex_module modules/mod_autoindex.so
- LoadModule asis_module modules/mod_asis.so
- LoadModule cgid_module modules/mod_cgid.so
- LoadModule negotiation_module modules/mod_negotiation.so
- LoadModule dir_module modules/mod_dir.so
- LoadModule actions_module modules/mod_actions.so
- LoadModule userdir_module modules/mod_userdir.so
- LoadModule alias_module modules/mod_alias.so
- LoadModule rewrite_module modules/mod_rewrite.so
- User http
- Group http
- ServerAdmin admin
- ServerName *:80
- <Directory />
- Options FollowSymLinks
- AllowOverride All
- RewriteEngine on
- RewriteCond %{HTTP:Transfer-Encoding} chunked
- RewriteRule ^(.*)$ http://localhost:412/$1 [P]
- </Directory>
- <Directory "/var/services/web">
- Options MultiViews FollowSymLinks ExecCGI
- AllowOverride All
- Order allow,deny
- Allow from all
- </Directory>
- <Directory "/usr/syno/synoman/phpsrc/web">
- Options MultiViews FollowSymLinks ExecCGI
- AllowOverride None
- Order allow,deny
- Allow from all
- </Directory>
- <Directory "/usr/syno/synoman/empty/web">
- Options MultiViews FollowSymLinks ExecCGI
- AllowOverride None
- Order allow,deny
- Allow from all
- </Directory>
- <IfModule dir_module>
- DirectoryIndex index.html index.htm index.cgi index.php index.php5
- </IfModule>
- <FilesMatch "^\.ht">
- Order allow,deny
- Deny from all
- Satisfy All
- </FilesMatch>
- ErrorLog /var/log/httpd/user-error_log
- #ErrorLog /dev/null
- TraceEnable off
- LogLevel error
- <IfModule log_config_module>
- LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
- LogFormat "%h %l %u %t \"%r\" %>s %b" common
- <IfModule logio_module>
- LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
- </IfModule>
- CustomLog /dev/null combined
- #CustomLog /var/log/httpd/user-access_log combined
- </IfModule>
- <IfModule alias_module>
- Alias /webman/pingpong.php /usr/syno/synoman/phpsrc/pingpong.php
- </IfModule>
- ScriptSock /run/httpd/user-cgisock
- DefaultType text/plain
- <IfModule mime_module>
- TypesConfig conf/mime.types
- AddEncoding x-compress Z
- AddEncoding x-gzip gz tgz
- AddType application/x-compress .Z
- AddType application/x-gzip .gz .tgz
- AddType image/x-icon .ico
- AddHandler cgi-script .cgi
- </IfModule>
- MIMEMagicFile conf/magic
- <IfDefine HAVE_PHP>
- ErrorDocument 403 /webdefault/sample.php?status=403&from=user
- ErrorDocument 404 /webdefault/sample.php?status=404&from=user
- ErrorDocument 500 /webdefault/sample.php?status=500&from=user
- Include conf/extra/mod_fastcgi.conf
- </IfDefine>
- EnableMMAP off
- Include conf/extra/httpd-mpm.conf-user
- Include conf/extra/httpd-autoindex.conf-user
- Include conf/extra/httpd-languages.conf-user
- Include conf/extra/httpd-default.conf-user
- <IfDefine SSL>
- <IfDefine !SPDY>
- LoadModule ssl_module modules/mod_ssl.so
- Include conf/extra/httpd-ssl.conf
- </IfDefine>
- <IfDefine SPDY>
- LoadModule ssl_module modules/mod_ssl_npn.so
- Include conf/extra/httpd-ssl.conf
- Include conf/extra/mod_spdy.conf
- </IfDefine>
- </IfDefine>
- <IfModule deflate_module>
- DeflateCompressionLevel 2
- AddOutputFilterByType DEFLATE text/html text/plain text/xml
- AddOutputFilter DEFLATE js css
- BrowserMatch ^Mozilla/4 gzip-only-text/html
- BrowserMatch ^Mozilla/4\.[0678] no-gzip
- BrowserMatch \bMSIE\s7 !no-gzip !gzip-only-text/html
- </IfModule>
- <Files *.js>
- Header unset Etag
- </Files>
- <Files *.css>
- Header unset Etag
- </Files>
- # For CVS-2001-1446
- <Files ~ "^\.([Hh][Tt]|[Dd][Ss]_[Ss])">
- Order allow,deny
- Deny from all
- Satisfy All
- </Files>
- # For @eaDir
- <DirectoryMatch "@eaDir">
- Order allow,deny
- Deny from all
- Satisfy All
- </DirectoryMatch>
- # For CVE-2003-1418
- FileETag MTime Size
- <VirtualHost *:80>
- Include sites-enabled-user/*.conf
- </VirtualHost>
- include conf/extra/mod_xsendfile.conf-user
- Include conf/extra/httpd-reqtimeout.conf
- Listen 36331
- <VirtualHost *:36331>
- Include /etc/httpd/sites-enabled-user/*.conf
- </VirtualHost>
- Include /etc/httpd/sites-enabled-user/httpd-vhost.conf-user
- DocumentRoot "/var/services/web"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement