長(zhǎng)治網(wǎng)站建設(shè)
            Apache 2.4.9 安全配置

            1、<Directory "d:/wamp/www/">  

                Options FollowSymLinks
                AllowOverride all
                Require all granted
            </Directory>

            2、
            ServerTokens ProductOnly
            ServerSignature Off
            TraceEnable off



            3、啟用壓縮
            <IfModule mod_deflate.c>
                SetOutputFilter DEFLATE
                SetEnvIfNoCase Request_URI .(?:gif|jpe?g|png)$ no-gzip dont-vary
                SetEnvIfNoCase Request_URI .(?:exe|t?gz|zip|bz2|sit|rar)$ no-gzip dont-vary
                SetEnvIfNoCase Request_URI .(?:pdf|mov|avi|mp3|mp4|rm)$ no-gzip dont-vary
                AddOutputFilterByType DEFLATE text/*
                AddOutputFilterByType DEFLATE application/ms* application/vnd* application/postscript application/javascript application/x-javascript
                AddOutputFilterByType DEFLATE application/x-httpd-php application/x-httpd-fastphp
                BrowserMatch ^Mozilla/4 gzip-only-text/html
                BrowserMatch ^Mozilla/4.0[678] no-gzip
                BrowserMatch bMSIE !no-gzip !gzip-only-text/html
            </IfModule>


            4、訪問控制

            <Directory "d:/apps/phpmyadmin4.1.14/">
               Options FollowSymLinks MultiViews
               AllowOverride all
              <IfDefine APACHE24>
               Require all granted
              </IfDefine>
              <IfDefine !APACHE24>
                Order Deny,Allow
              Deny from all
              Allow from all
            </IfDefine>
              php_admin_value upload_max_filesize 1M
              php_admin_value post_max_size 1M
              php_admin_value max_execution_time 60
              php_admin_value max_input_time 60
            </Directory>

            2006-2014 IT0355.com 山西中聯(lián)科創(chuàng)科技有限公司. All Rights Reserved.
            電話:0355-3728808 傳真:0355-3728808
            ICP備案號(hào):晉ICP備06003721號(hào)本站已通過國際W3C認(rèn)證
            關(guān)鍵字:中聯(lián)科創(chuàng),長(zhǎng)治網(wǎng)站建設(shè),長(zhǎng)治網(wǎng)站推廣,長(zhǎng)治網(wǎng)絡(luò)工程,長(zhǎng)治軟件開發(fā),山西網(wǎng)站建設(shè),山西軟件開發(fā) 長(zhǎng)治五金網(wǎng)

                        

            亚洲无码视频2020,日本免费人成视频播放120秒,亚洲中文字无码,亚洲乱码中文字幕综合,91无码偷拍精品一区二区三区,日本中文字幕一区在线,亚洲国产第一站精品蜜芽,精品无码人妻