Options -MultiViews
DirectoryIndex index.plp
-Action plp-document /PLP_COMMON/plp.cgi
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME}.plp -f
RewriteRule ^/*([^/]+)(.*) $1.plp$2
-# compress html output if accepted by client
-<IfModule deflate_module>
-AddOutputFilterByType DEFLATE text/html
-</IfModule>
-
# allow browsers to cache for upto a month
<IfModule headers_module>
-<FilesMatch "\.(?:css|js)$">
+<FilesMatch "\.(?:css|js|json)$">
Header set Cache-Control "max-age=2592000"
+Header set Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule>