SuriyaaKudoIsc/tests/gh-pages/.htaccess - Htaccess File

SuriyaaKudoIsc/tests/gh-pages/.htaccess

## EXAMPLE

# Rewrite function
RewriteEngine On

# Set up mainpage
DirectoryIndex index.html index.php index.isc index.cgi index.aps

# Set up language
AddLanguage en .html
AddLanguage de .html

# Set up cache for robots + browser
<IfModule mod_headers.c>
  Header set Cache-Control "no-cache, no-store, must-revalidate"
  Header set Pragma "no-cache"
  Header set Expires 0
</IfModule>

# Set up bouncer for robots
RewriteCond %{HTTP_USER_AGENT} (bingbot|Baiduspider) [NC]
RewriteRule .* - [R=403,L]

On Github License

Files

Download PDF of Htaccess file
HTTP_USER_AGENT, no-cache, Pragma

Comments

Apache