Apache - Httpd.conf Entry - Static images
Dear all,
I have put the following entry in the httpd.conf file for compress
and expiry page. Can you pls check and confirm whether my entry is
correct in this file or i need to enabled anyother files.
<Files *.cache.*>
#SetOutputFilter DEFLATE
ExpiresActive on
ExpiresDefault "now plus 1 month"
</Files>
<Location /MYCssFiles>
SetOutputFilter DEFLATE
SetHandler weblogic-handler
<IfModule mod_weblogic.c>
WebLogicCluster <<Clustering ip1,ip2>>
MatchExpression *
</IfModule>
#expires module tag for specifying the expiry of specific file types
#<IfModule mod_expires.c>
<IfModule expires_module>
ExpiresActive On
ExpiresByType image/gif "now plus 7 day"
ExpiresByType image/jpg "now plus 7 day"
ExpiresByType image/png "now plus 7 day"
ExpiresByType application/javascript "now plus 7 day"
ExpiresByType text/css "now plus 7 day"
</IfModule>
</Location>
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home