YesAndGames/ag-website-client/master/.htaccess - Htaccess File

YesAndGames/ag-website-client/master/.htaccess

Options +FollowSymLinks
RewriteEngine on

RewriteCond %{HTTP:Accept-encoding} gzip
RewriteCond %{REQUEST_FILENAME}gz -f
RewriteRule ^(.*).js$ $1.jsgz [L]

RewriteCond %{HTTP:Accept-encoding} gzip
RewriteCond %{REQUEST_FILENAME}gz -f
RewriteRule ^(.*).data$ $1.datagz [L]

RewriteCond %{HTTP:Accept-encoding} gzip
RewriteCond %{REQUEST_FILENAME}gz -f
RewriteRule ^(.*).mem$ $1.memgz [L]

RewriteCond %{HTTP:Accept-encoding} gzip
RewriteCond %{REQUEST_FILENAME}gz -f
RewriteRule ^(.*).unity3d$ $1.unity3dgz [L]

AddEncoding gzip .jsgz
AddEncoding gzip .datagz
AddEncoding gzip .memgz
AddEncoding gzip .unity3dgz

RewriteRule about/?$ index.html
RewriteRule adventureguildgame.com/about/(.*..*)$ ./$1

RewriteRule press/?$ index.html
RewriteRule adventureguildgame.com/press/(.*..*)$ ./$1

RewriteRule adventurers/?$ index.html
RewriteRule adventureguildgame.com/adventurers/(.*..*)$ ./$1

RewriteRule play/?$ index.html
RewriteRule adventureguildgame.com/play/(.*..*)$ ./$1

RewriteRule donations/?$ index.html
RewriteRule adventureguildgame.com/donations/(.*..*)$ ./$1

RewriteRule account/?$ index.html
RewriteRule adventureguildgame.com/account/(.*..*)$ ./$1

RewriteRule payment/?$ index.html
RewriteRule adventureguildgame.com/payment/(.*..*)$ ./$1

RewriteRule privacy/?$ index.html
RewriteRule adventureguildgame.com/privacy/(.*..*)$ ./$1

RewriteRule updates/?$ index.html
RewriteRule adventureguildgame.com/updates/(.*..*)$ ./$1

RewriteRule support/?$ index.html
RewriteRule adventureguildgame.com/support/(.*..*)$ ./$1

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache