Apache - Httpd.conf Entry - Static images

30 views
Skip to first unread message

Polaris Polaris

unread,
Nov 13, 2011, 4:06:43 AM11/13/11
to Google Web Toolkit, dhanab...@polaris.co.in
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>

Thomas Broyer

unread,
Nov 13, 2011, 2:03:57 PM11/13/11
to google-we...@googlegroups.com, dhanab...@polaris.co.in
Reply all
Reply to author
Forward
0 new messages