1234567891011121314151617181920212223242526272829303132333435 |
- # 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 ^project-([^/]*)$ /index.php?type=project&id=$1 [QSA,L]
- RewriteRule ^admin-([^/]*)$ /index.php?type=admin&id=$1 [QSA,L]
- RewriteRule ^page-([^/]*)$ /index.php?type=page&id=$1 [QSA,L]
- RewriteRule ^message-([^/]*)$ /index.php?type=message&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>
- <FilesMatch "\.(webapp|appcache)$">
- FileETag None
- <ifModule mod_headers.c>
- Header unset ETag
- Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
- Header set Pragma "no-cache"
- Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
- </ifModule>
- </FilesMatch>
- AddType application/x-web-app-manifest+json .webapp
- AddType text/cache-manifest .appcache
|