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****************************
- LoadModule fastcgi_module modules/mod_fastcgi.so
- <IfModule fastcgi_module>
- FastCgiExternalServer /php-fpm-handler -socket /run/php-fpm/php-fpm.sock -idle-timeout 3600
- AddHandler php5-fastcgi .php .php3 .php4 .php5 .phtml
- Action php5-fastcgi /php-fpm-handler.fcgi
- ScriptAlias /php-fpm-handler.fcgi /php-fpm-handler
- </IfModule>
- *********************************************************************************
- </IfDefine>
- EnableMMAP off
- *******************************************Include conf/extra/httpd-mpm.conf-user*******************************************
- <IfModule !mpm_netware_module>
- PidFile /run/httpd/httpd-user.pid
- </IfModule>
- <IfModule !mpm_winnt_module>
- <IfModule !mpm_netware_module>
- LockFile /run/httpd/httpd-user.lock
- </IfModule>
- </IfModule>
- <IfModule mpm_worker_module>
- StartServers 2
- MinSpareThreads 16
- MaxSpareThreads 48
- ThreadsPerChild 32
- MaxRequestsPerChild 0
- Include conf/extra/httpd-mpm.conf-max-connection
- </IfModule>
- **************************************************************************************
- *******************************************Include conf/extra/httpd-autoindex.conf-user*******************************************
- IndexOptions FancyIndexing HTMLTable VersionSort
- Alias /icons/ "/usr/share/httpd/icons/"
- <Directory "/usr/share/httpd/icons">
- Options Indexes MultiViews FollowSymLinks
- AllowOverride None
- Order allow,deny
- Allow from all
- </Directory>
- <IfDefine HAVE_PHP>
- Alias /webdefault/ "/usr/syno/synoman/phpsrc/web/"
- </IfDefine>
- <IfDefine !HAVE_PHP>
- Alias /webdefault/ "/usr/syno/synoman/empty/web/"
- </IfDefine>
- AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
- AddIconByType (TXT,/icons/text.gif) text/*
- AddIconByType (IMG,/icons/image2.gif) image/*
- AddIconByType (SND,/icons/sound2.gif) audio/*
- AddIconByType (VID,/icons/movie.gif) video/*
- AddIcon /icons/binary.gif .bin .exe
- AddIcon /icons/binhex.gif .hqx
- AddIcon /icons/tar.gif .tar
- AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
- AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
- AddIcon /icons/a.gif .ps .ai .eps
- AddIcon /icons/layout.gif .html .shtml .htm .pdf
- AddIcon /icons/text.gif .txt
- AddIcon /icons/c.gif .c
- AddIcon /icons/p.gif .pl .py
- AddIcon /icons/f.gif .for
- AddIcon /icons/dvi.gif .dvi
- AddIcon /icons/uuencoded.gif .uu
- AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
- AddIcon /icons/tex.gif .tex
- AddIcon /icons/bomb.gif core
- AddIcon /icons/back.gif ..
- AddIcon /icons/hand.right.gif README
- AddIcon /icons/folder.gif ^^DIRECTORY^^
- AddIcon /icons/blank.gif ^^BLANKICON^^
- DefaultIcon /icons/unknown.gif
- ReadmeName README.html
- HeaderName HEADER.html
- IndexIgnore .??* *~ *# HEADER* README* RCS CVS *,v *,t
- **************************************************************************************
- *******************************************Include conf/extra/httpd-languages.conf-user*******************************************
- AddLanguage ca .ca
- AddLanguage cs .cz
- AddLanguage da .dk
- AddLanguage de .de
- AddLanguage el .el
- AddLanguage en .en
- AddLanguage eo .eo
- AddLanguage es .es
- AddLanguage et .et
- AddLanguage fr .fr
- AddLanguage he .he
- AddLanguage hr .hr
- AddLanguage it .it
- AddLanguage ja .ja
- AddLanguage ko .ko
- AddLanguage ltz .ltz
- AddLanguage nl .nl
- AddLanguage nn .nn
- AddLanguage no .no
- AddLanguage pl .po
- AddLanguage pt .pt
- AddLanguage pt-BR .pt-br
- AddLanguage ru .ru
- AddLanguage sv .sv
- AddLanguage tr .tr
- AddLanguage zh-CN .zh-cn
- AddLanguage zh-tw .tw
- AddLanguage tw .tw
- LanguagePriority en ca cs da de el eo es et fr he hr it ja ko ltz nl nn no pl pt pt-BR ru sv tr zh-CN zh-TW
- ForceLanguagePriority Prefer Fallback
- AddCharset us-ascii.ascii .us-ascii
- AddCharset ISO-8859-1 .iso8859-1 .latin1
- AddCharset ISO-8859-2 .iso8859-2 .latin2 .cen
- AddCharset ISO-8859-3 .iso8859-3 .latin3
- AddCharset ISO-8859-4 .iso8859-4 .latin4
- AddCharset ISO-8859-5 .iso8859-5 .cyr .iso-ru
- AddCharset ISO-8859-6 .iso8859-6 .arb .arabic
- AddCharset ISO-8859-7 .iso8859-7 .grk .greek
- AddCharset ISO-8859-8 .iso8859-8 .heb .hebrew
- AddCharset ISO-8859-9 .iso8859-9 .latin5 .trk
- AddCharset ISO-8859-10 .iso8859-10 .latin6
- AddCharset ISO-8859-13 .iso8859-13
- AddCharset ISO-8859-14 .iso8859-14 .latin8
- AddCharset ISO-8859-15 .iso8859-15 .latin9
- AddCharset ISO-8859-16 .iso8859-16 .latin10
- AddCharset ISO-2022-JP .iso2022-jp .jis
- AddCharset ISO-2022-KR .iso2022-kr .kis
- AddCharset ISO-2022-CN .iso2022-cn .cis
- AddCharset Big5.Big5 .big5 .b5
- AddCharset cn-Big5 .cn-big5
- # For russian, more than one charset is used (depends on client, mostly):
- AddCharset WINDOWS-1251 .cp-1251 .win-1251
- AddCharset CP866 .cp866
- AddCharset KOI8 .koi8
- AddCharset KOI8-E .koi8-e
- AddCharset KOI8-r .koi8-r .koi8-ru
- AddCharset KOI8-U .koi8-u
- AddCharset KOI8-ru .koi8-uk .ua
- AddCharset ISO-10646-UCS-2 .ucs2
- AddCharset ISO-10646-UCS-4 .ucs4
- AddCharset UTF-7 .utf7
- AddCharset UTF-8 .utf8
- AddCharset UTF-16 .utf16
- AddCharset UTF-16BE .utf16be
- AddCharset UTF-16LE .utf16le
- AddCharset UTF-32 .utf32
- AddCharset UTF-32BE .utf32be
- AddCharset UTF-32LE .utf32le
- AddCharset euc-cn .euc-cn
- AddCharset euc-gb .euc-gb
- AddCharset euc-jp .euc-jp
- AddCharset euc-kr .euc-kr
- #Not sure how euc-tw got in - IANA doesn't list it???
- AddCharset EUC-TW .euc-tw
- AddCharset gb2312 .gb2312 .gb
- AddCharset iso-10646-ucs-2 .ucs-2 .iso-10646-ucs-2
- AddCharset iso-10646-ucs-4 .ucs-4 .iso-10646-ucs-4
- AddCharset shift_jis .shift_jis .sjis
- **************************************************************************************
- *******************************************Include conf/extra/httpd-default.conf-user*******************************************
- Timeout 3600
- KeepAlive On
- MaxKeepAliveRequests 100
- KeepAliveTimeout 5
- UseCanonicalName Off
- AccessFileName .htaccess
- ServerTokens Prod
- ServerSignature Off
- HostnameLookups Off
- **************************************************************************************
- <IfDefine SSL>
- <IfDefine !SPDY>
- LoadModule ssl_module modules/mod_ssl.so
- ********Include conf/extra/httpd-ssl.conf**********
- Listen 443
- ************Include conf/extra/httpd-ssl.conf-common*************************
- SSLRandomSeed startup builtin
- SSLRandomSeed connect builtin
- AddType application/x-x509-ca-cert .crt
- AddType application/x-pkcs7-crl .crl
- SSLPassPhraseDialog builtin
- SSLSessionCache "shmcb:/run/httpd/ssl_scache(512000)"
- SSLSessionCacheTimeout 300
- SSLMutex "file:/run/httpd/ssl_mutex"
- SSLCipherSuite HIGH:MEDIUM:!RC4:!aNULL
- SSLProtocol all -SSLv2
- SSLCertificateFile "/usr/syno/etc/ssl/ssl.crt/server.crt"
- SSLCertificateKeyFile "/usr/syno/etc/ssl/ssl.key/server.key"
- #SSLCertificateChainFile "/usr/syno/etc/ssl/ssl.intercrt/server-ca.crt"
- #SSLCACertificatePath "/etc/httpd/conf/ssl.crt"
- #SSLCACertificateFile "/etc/httpd/conf/ssl.crt/ca-bundle.crt"
- #SSLCARevocationPath "/etc/httpd/conf/ssl.crl"
- #SSLCARevocationFile "/etc/httpd/conf/ssl.crl/ca-bundle.crl"
- ********************************************************************
- NameVirtualHost *:443
- Include /etc/httpd/sites-enabled-user/httpd-ssl-vhost.conf-user **** This file is empty*****
- <VirtualHost *:443>
- ServerName *
- ServerAlias *
- SSLEngine on
- <FilesMatch "\.(cgi|shtml|phtml|php)$">
- SSLOptions +StdEnvVars
- </FilesMatch>
- BrowserMatch ".*MSIE [2-5]\..*" nokeepalive ssl-unclean-shutdown downgrade-1.0 force-response-1.0
- CustomLog /dev/null "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
- ******Include sites-enabled-user/*.conf********* ** 4 files there **
- **/etc/httpd/sites-enabled-user/SYNO.SDS.App.FileStation3.Instance.user_alias.conf**
- # Auto generated. Do not modify directly.
- # alias : file
- RewriteEngine on
- # RewriteLog /var/log/rewrite.log
- # RewriteLogLevel 5
- RewriteRule ^/file$ "/usr/syno/synoman/phpsrc/web/" [L]
- RewriteRule ^/file/$ "/usr/syno/synoman/phpsrc/web/" [L]
- RewriteRule ^/file/index.cgi "/usr/syno/synoman/phpsrc/web/index.cgi" [L,E=REDIRECT_ALIAS:file]
- **
- **/etc/httpd/sites-enabled-user/SYNO.SDS.PhotoStation.conf**
- <IfDefine HAVE_PHP>
- AliasMatch ^/photo$ "/var/packages/PhotoStation/target/photo/"
- Alias /photo/ "/var/packages/PhotoStation/target/photo/"
- AliasMatch ^/blog$ "/var/packages/PhotoStation/target/photo/blog/"
- Alias /blog/ "/var/packages/PhotoStation/target/photo/blog/"
- RedirectMatch ^/blog/include/v(.*) /photo/get_video.php?$1
- AliasMatch ^/~([^\/]*)/photo$ "/var/packages/PhotoStation/target/photo/"
- AliasMatch ^/~([^\/]*)/photo/(.*) "/var/packages/PhotoStation/target/photo/$2"
- AliasMatch ^/~([^\/]*)/blog$ "/var/packages/PhotoStation/target/photo/blog/"
- AliasMatch ^/~([^\/]*)/blog/(.*) "/var/packages/PhotoStation/target/photo/blog/$2"
- RedirectMatch ^/~([^\/]*)/blog/include/v(.*) /~$1/photo/get_video.php?$2
- </IfDefine>
- <IfDefine !HAVE_PHP>
- AliasMatch ^/photo$ "/usr/syno/synoman/empty/photo/"
- Alias /photo/ "/usr/syno/synoman/empty/photo/"
- AliasMatch ^/blog$ "/usr/syno/synoman/empty/blog/"
- Alias /blog/ "/usr/syno/synoman/empty/blog/"
- RedirectMatch ^/blog/include/v(.*) /photo/get_video.php?$1
- AliasMatch ^/~([^\/]*)/photo$ "/usr/syno/synoman/empty/photo/"
- AliasMatch ^/~([^\/]*)/photo/(.*) "/usr/syno/synoman/empty/photo/$2"
- AliasMatch ^/~([^\/]*)/blog$ "/usr/syno/synoman/empty/blog/"
- AliasMatch ^/~([^\/]*)/blog/(.*) "/usr/syno/synoman/empty/blog/$2"
- RedirectMatch ^/~([^\/]*)/blog/include/v(.*) /~$1/photo/get_video.php?$2
- </IfDefine>
- <Directory "/var/services/photo">
- Options MultiViews
- AllowOverride None
- Order allow,deny
- Allow from all
- </Directory>
- **
- **/etc/httpd/sites-enabled-user/SYNO.SDS.DownloadStation.Application.user_alias.conf
- # Auto generated. Do not modify directly.
- # alias : download
- RewriteEngine on
- # RewriteLog /var/log/rewrite.log
- # RewriteLogLevel 5
- RewriteRule ^/download$ "/usr/syno/synoman/phpsrc/web/" [L]
- RewriteRule ^/download/$ "/usr/syno/synoman/phpsrc/web/" [L]
- RewriteRule ^/download/index.cgi "/usr/syno/synoman/phpsrc/web/index.cgi" [L,E=REDIRECT_ALIAS:download]
- **
- **/etc/httpd/sites-enabled-user/SYNO.SDS.VideoStation.AppInstance.user_alias.conf**
- # Auto generated. Do not modify directly.
- # alias : video
- RewriteEngine on
- # RewriteLog /var/log/rewrite.log
- # RewriteLogLevel 5
- RewriteRule ^/video$ "/usr/syno/synoman/phpsrc/web/" [L]
- RewriteRule ^/video/$ "/usr/syno/synoman/phpsrc/web/" [L]
- RewriteRule ^/video/index.cgi "/usr/syno/synoman/phpsrc/web/index.cgi" [L,E=REDIRECT_ALIAS:video]
- **
- </VirtualHost>
- ***************************************************
- </IfDefine>
- <IfDefine SPDY>
- LoadModule ssl_module modules/mod_ssl_npn.so
- *********Include conf/extra/httpd-ssl.conf*********
- **Already explicited above, skipped here to add some clarity (at least try to)
- *********
- *********Include conf/extra/mod_spdy.conf*********
- LoadModule spdy_module modules/mod_spdy.so
- <IfModule spdy_module>
- SpdyEnabled on
- #SpdyMaxThreadsPerProcess 30
- #SpdyMaxStreamsPerConnection 100
- #SpdyDebugLoggingVerbosity 5
- #SpdyDebugUseSpdyForNonSslConnections 3
- </IfModule>
- *********
- </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 **Already explicited above***
- </VirtualHost>
- **include conf/extra/mod_xsendfile.conf-user**
- LoadModule xsendfile_module modules/mod_xsendfile.so
- XSendFile on
- XSendFilePath /var/services/web /var/services/homes
- SetEnv MOD_X_SENDFILE_ENABLED yes
- **
- **Include conf/extra/httpd-reqtimeout.conf**
- LoadModule reqtimeout_module modules/mod_reqtimeout.so
- <IfModule reqtimeout_module>
- RequestReadTimeout header=10-20,MinRate=500
- RequestReadTimeout body=10,MinRate=500
- </IfModule>
- **
- **Include /volume1/Administration/vhost-dbe/httpd-FILESTATION-vh.conf-user** <=== This is the part that is not working, the 443 part
- <IfModule !proxy_module>
- LoadModule proxy_module modules/mod_proxy.so
- LoadModule proxy_connect_module modules/mod_proxy_connect.so
- LoadModule proxy_http_module modules/mod_proxy_http.so
- </IfModule>
- <VirtualHost *:80>
- ServerName filestation.domain.com
- Redirect / https://filestation.domain.com:443
- </VirtualHost>
- NameVirtualHost *:443
- <VirtualHost *:443>
- ServerName filestation.domain.com
- SSLEngine on
- SSLProxyEngine on
- SSLCipherSuite HIGH:MEDIUM
- SSLProtocol all -SSLv2
- SSLCertificateFile /usr/syno/etc/ssl/ssl.crt/server.crt
- SSLCertificateKeyFile /usr/syno/etc/ssl/ssl.key/server.key
- ProxyRequests Off
- ProxyVia Off
- <Proxy *>
- Order deny,allow
- Allow from all
- </Proxy>
- ProxyPass / https://localhost:7001/
- ProxyPassReverse / https://localhost:7001/
- **
- **Include /etc/httpd/conf/extra/httpd-userdir.conf-user**
- LoadModule suphp_module modules/mod_suphp.so
- UserDir www
- <Directory "/var/services/homes/">
- AllowOverride AuthConfig FileInfo Indexes Limit
- Options MultiViews +ExecCGI FollowSymLinks
- Order allow,deny
- Allow from all
- AddHandler application/x-httpd-suphp .php .php3 .php4 .php5 .phtml
- suPHP_Engine on
- suPHP_AddHandler application/x-httpd-suphp
- ErrorDocument 403 /webdefault/sample.php?status=403&subweb=www
- ErrorDocument 404 /webdefault/sample.php?status=404&subweb=www
- ErrorDocument 500 /webdefault/sample.php?status=500&subweb=www
- </Directory>
- **
- **Include /etc/httpd/sites-enabled-user/httpd-vhost.conf-user** This file is empty
- DocumentRoot "/var/services/web"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement