Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ServerRoot "/etc/httpd"
- Listen 5000
- LoadModule authz_host_module modules/mod_authz_host.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 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 root
- Group root
- ServerAdmin admin
- ServerName *:5000
- DocumentRoot "/usr/syno/synoman"
- Alias /ssdp /tmp/ssdp
- <Directory />
- Options ExecCGI FollowSymLinks
- AllowOverride All
- </Directory>
- <Directory "/usr/syno/synoman">
- Options ExecCGI FollowSymLinks MultiViews
- AllowOverride All
- Order allow,deny
- Allow from all
- </Directory>
- <IfModule dir_module>
- DirectoryIndex index.html index.htm index.cgi
- </IfModule>
- <FilesMatch "^\.ht">
- Order allow,deny
- Deny from all
- Satisfy All
- </FilesMatch>
- ErrorLog /var/log/httpd/sys-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/sys-access_log combined
- </IfModule>
- <IfModule alias_module>
- Alias /wfmlogindialog.js /usr/syno/synoman/webfm/webUI/directlogin.js
- </IfModule>
- ScriptSock /run/httpd/sys-cgisock
- ScriptLog /var/log/httpd/sys-cgi_log
- 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
- ErrorDocument 500 /error.cgi?status=500
- ErrorDocument 404 /error.cgi?status=404
- ErrorDocument 403 /error.cgi?status=403
- EnableMMAP off
- Include conf/extra/httpd-mpm.conf-sys
- Include conf/extra/httpd-autoindex.conf-sys
- Include conf/extra/httpd-languages.conf-sys
- Include conf/extra/httpd-default.conf-sys
- <IfDefine SSL>
- <IfDefine !SPDY>
- LoadModule ssl_module modules/mod_ssl.so
- Include conf/extra/httpd-ssl.conf-sys
- </IfDefine>
- <IfDefine SPDY>
- LoadModule ssl_module modules/mod_ssl_npn.so
- Include conf/extra/httpd-ssl.conf-sys
- 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 CVE-2003-1418
- FileETag MTime Size
- <IfDefine REDIRECT_USER>
- Listen 80
- <VirtualHost *:80>
- RewriteEngine on
- RewriteRule ^/(.*)$ /usr/syno/synoman/redirect.cgi?5000
- </VirtualHost>
- </IfDefine>
- <IfDefine !DEFAULT_SETTING>
- Include sites-enabled/*.legacy.conf
- Include sites-enabled/*.alt_port.conf
- Include sites-enabled/*.alias.conf
- <IfDefine SSL>
- Include sites-enabled/*.alt_port_ssl.conf
- </IfDefine>
- </IfDefine>
- <IfModule rewrite_module>
- Include conf/extra/*demo-site.conf
- RewriteEngine on
- RewriteRule ^/viewer/(.*)/(.*)/(.*)/(.*) /usr/syno/synoman/webfm/webUI/file_download.cgi?dlink=$1&_sid=$2&SynoToken=$3&ip=false&api=SYNO.FileStation.Download&version=1&method=download&mode=open&stdhtml=true [QSA,L]
- RewriteRule ^/fbsharing/(.*) /usr/syno/synoman/webfm/webUI/file_download.cgi?key=$1&api=SYNO.FileStation.Download&version=1&method=download&mode=download&stdhtml=true [QSA,L]
- RewriteRule ^/fbdownload/(.*) /usr/syno/synoman/webfm/webUI/file_download.cgi?api=SYNO.FileStation.Download&version=1&method=download&mode=download&stdhtml=true [QSA,L]
- # wfmdownload rule is for old version compatibility
- RewriteRule ^/wfmdownload/(.*) /usr/syno/synoman/webfm/webUI/file_download.cgi?api=SYNO.FileStation.Download&version=1&method=download&mode=download&stdhtml=true [QSA,L]
- RewriteRule ^/dar/(.*) /usr/syno/synoman/webman/modules/SystemInfoApp/DataAnalysis.cgi?path=$1 [QSA,L]
- </IfModule>
- <IfDefine FrameOptions>
- Include conf/extra/httpd-frameOptions.conf-sys
- </IfDefine>
- include conf/extra/mod_xsendfile.conf-sys
- Include conf/extra/httpd-reqtimeout.conf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement