DzikuVx/playpulsar/master/gameplay/.htaccess
<IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js|php|pl|jpg|png|gif)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</IfModule>
ExpiresActive On
ExpiresByType image/jpg A7200
ExpiresByType image/jpeg A7200
ExpiresByType image/gif A7200
ExpiresByType image/png A7200
ExpiresByType text/css A7200
ExpiresByType application/x-javascript A7200
<FilesMatch "\.(jpg|jpeg|gif|png|css|js)$">
Header set Cache-Control "max-age=7200, public"
Header unset Last-Modified
Header unset ETag
FileETag None
</FilesMatch>
Header set X-Powered-By "PulsarGameEngine"
#ErrorDocument 404 /missing.html
RewriteEngine On
#RewriteBase /
RewriteBase /pulsar_public/gameplay/
RewriteRule ^news_([0-9]+)_.* index.php?class=\Portal\News&method=detail&id=$1 [L]
RewriteRule ^entry_([0-9]+)_.* index.php?class=\Portal\Article&method=detail&id=$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
On Github License
Files