12345678910111213141516171819202122232425 |
- # Redirects
- <IfModule mod_rewrite.c>
- RewriteEngine On
- RewriteBase /
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{ENV:REDIRECT_STATUS} 200
- RewriteRule .* - [L]
- RewriteRule ^\~([^/]*)$ /index.php?type=user&id=$1 [QSA,L]
- RewriteRule ^\+([^/]*)$ /index.php?type=group&id=$1 [QSA,L]
- RewriteRule ^\!([^/]*)$ /index.php?type=issue&id=$1 [QSA,L]
- RewriteRule ^scrum-([^/]*)$ /index.php?type=scrum&id=$1 [QSA,L]
- RewriteRule ^admin-([^/]*)$ /index.php?type=admin&id=$1 [QSA,L]
- RewriteRule ^page-([^/]*)$ /index.php?type=page&id=$1 [QSA,L]
- ErrorDocument 404 /
- </IfModule>
- # File security
- <FilesMatch ".(bak|config|sql|fla|psd|ini|log|sh|inc|~|swp)$">
- Order allow,deny
- Deny from all
- Satisfy All
- </FilesMatch>
- AddType application/x-web-app-manifest+json .webapp
- AddType text/cache-manifest .manifest
- AddType text/cache-manifest .appcache
|