OwlCyberSecurity - MANAGER
Edit File: .htaccess
# order deny,allow # deny from 162.0.209.165 # deny from all # allow from 189.14.204.244 # allow from 189.24.162.15 ErrorDocument 404 /404.php RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f # CATEGORIAS DE GAMES COM PAGINACAO RewriteRule ^game-category/(.*)/page/([0-9]+)?$ game-category.php?categoria=$1&pg=$2 [NC,L] RewriteRule ^game-category/(.*)?$ game-category.php?categoria=$1 [NC,L] # DISPLAY DE GAMES COM PAGINACAO RewriteRule ^display/(.*)/page/([0-9]+)?$ game-display.php?display_ids=$1&pg=$2 [NC,L] RewriteRule ^display/(.*)?$ game-display.php?display_ids=$1 [NC,L] # TAGS RewriteRule ^tags/(.*)/page/([0-9]+)?$ tags.php?tag=$1&pg=$2 [NC,L] RewriteRule ^tags/(.*)?$ tags.php?tag=$1 [NC,L] # MOBILE GAMES RewriteRule ^mobile-games/page/([0-9]+)?$ mobile-games.php?pg=$1 [NC,L] RewriteRule ^game-view/(.*)?$ icones-games/jogos/$1 [NC,L] # EXCLUSIVE GAMES RewriteRule ^exclusive-games/page/([0-9]+)?$ exclusive-games.php?pg=$1 [NC,L] # POPULAR GAMES RewriteRule ^popular-games/page/([0-9]+)?$ popular-games.php?pg=$1 [NC,L] # VISUALIZAÇÃO DO GAME RewriteCond %{QUERY_STRING} ^(.*)$ RewriteRule ^game/(.*)?$ game.php?id=$1&%1 [NC,L] # HOME DO SITE USADO NA PAGINACAO RewriteRule ^page/([0-9]+)$ index.php?pg=$1 [NC,L] RewriteRule ^sitemap.xml$ sitemap.php [NC,L] # AGORA OS LINKS PODE SER CRIADO SEM A EXTENSÃO DO PHP, TIPO "/random-game" RewriteCond %{REQUEST_FILENAME}\.php -f RewriteRule ^(.*)$ $1.php <IfModule mod_expires.c> ExpiresActive On # Images ExpiresByType image/jpeg "access plus 1 year" ExpiresByType image/gif "access plus 1 year" ExpiresByType image/png "access plus 1 year" ExpiresByType image/webp "access plus 1 year" ExpiresByType image/svg+xml "access plus 1 year" ExpiresByType image/x-icon "access plus 1 year" # Video ExpiresByType video/webm "access plus 1 year" ExpiresByType video/mp4 "access plus 1 year" ExpiresByType video/mpeg "access plus 1 year" # Fonts ExpiresByType font/ttf "access plus 1 year" ExpiresByType font/otf "access plus 1 year" ExpiresByType font/woff "access plus 1 year" ExpiresByType font/woff2 "access plus 1 year" ExpiresByType application/font-woff "access plus 1 year" # CSS, JavaScript ExpiresByType text/css "access plus 1 year" ExpiresByType text/javascript "access plus 1 year" ExpiresByType application/javascript "access plus 1 year" # Others ExpiresByType application/pdf "access plus 1 year" ExpiresByType image/vnd.microsoft.icon "access plus 1 year" </IfModule> <FilesMatch "[^.]+\.unityweb$"> Header set Content-Encoding "gzip" </FilesMatch> # This configuration file should be uploaded to the server as "<Application Folder>/Build/.htaccess" # NOTE: "mod_mime" Apache module must be enabled for this configuration to work. <IfModule mod_mime.c> # The following lines are required for builds without decompression fallback, compressed with gzip RemoveType .gz AddEncoding gzip .gz AddType application/gzip .data.gz # The correct MIME type here would be application/octet-stream, but due to Safari bug https://bugs.webkit.org/show_bug.cgi?id=247421, it's preferable to use MIME Type application/gzip instead. AddType application/wasm .wasm.gz AddType application/javascript .js.gz AddType application/octet-stream .symbols.json.gz # The following lines are required for builds without decompression fallback, compressed with Brotli RemoveType .br RemoveLanguage .br AddEncoding br .br AddType application/octet-stream .data.br AddType application/wasm .wasm.br AddType application/javascript .js.br AddType application/octet-stream .symbols.json.br # The following line improves loading performance for uncompressed builds AddType application/wasm .wasm # Uncomment the following line to improve loading performance for gzip-compressed builds with decompression fallback AddEncoding gzip .unityweb # Uncomment the following line to improve loading performance for brotli-compressed builds with decompression fallback AddEncoding br .unityweb </IfModule>