欢迎各位兄弟 发布技术文章

这里的技术是共享的

You are here

httpd.conf 中 关于 缓存的配置 htaccess 中同理

shiping1 的头像
<VirtualHost *:80>
DocumentRoot /home/wwwroot/m_4000512126_com/public_html
ServerName m.4000512126.com
ServerAlias 3g.4000512126.com wap.4000512126.com
ErrorDocument 400 /errpage/400.html
ErrorDocument 403 /errpage/403.html
ErrorDocument 404 /errpage/404.html
ErrorDocument 405 /errpage/405.html
php_admin_value open_basedir /home/wwwroot/m_4000512126_com:/tmp
<IfModule mod_deflate.c>
DeflateCompressionLevel 7
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/x-httpd-php
AddOutputFilter DEFLATE css js html htm gif jpg png bmp php
</IfModule>
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif A3600
ExpiresByType image/jpeg A3600
ExpiresByType image/png A36000
ExpiresByType text/css A3800
ExpiresByType application/x-shockwave-flash A3600
ExpiresByType application/x-javascript A3600
ExpiresByType video/x-flv A3600
</IfModule>
</VirtualHost>
<Directory /home/wwwroot/m_4000512126_com>
    Options FollowSymLinks
    AllowOverride All
    Order allow,deny
    Allow from all
</Directory>
普通分类: