2014-09-11 11:42:30 +02:00
|
|
|
DirectoryIndex app.min.html
|
2014-09-02 19:46:53 +02:00
|
|
|
DirectoryIndex index.html
|
|
|
|
|
2014-10-18 12:37:01 +02:00
|
|
|
ErrorDocument 404 /404.html
|
|
|
|
|
2014-08-30 13:04:52 +02:00
|
|
|
RewriteEngine On
|
2014-09-17 14:32:26 +02:00
|
|
|
|
2014-10-18 12:37:01 +02:00
|
|
|
RewriteRule ^/?404.html$ /#/404 [NE,R,L]
|
|
|
|
|
2014-10-08 21:20:06 +02:00
|
|
|
#RewriteCond %{REQUEST_FILENAME} !-f
|
2014-09-17 14:32:26 +02:00
|
|
|
RewriteRule ^/?data/posts/([^/]+)/? /api/posts/$1/content [L]
|
|
|
|
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
|
RewriteRule ^/?data/thumbnails/(\d+)x(\d+)/posts/([^/]+)/? /api/posts/$3/thumbnail/$1 [L]
|
|
|
|
|
|
|
|
RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
|
RewriteRule ^/?data/thumbnails/(\d+)x(\d+)/avatars/([^/]+)/? /api/users/$3/avatar/$1 [L]
|
|
|
|
|
|
|
|
RewriteRule ^/?api/(.*) api-dispatch.php?q=$0 [QSA,L]
|
2014-09-02 09:36:42 +02:00
|
|
|
|
|
|
|
<IfModule mod_mime.c>
|
2014-10-05 21:17:21 +02:00
|
|
|
AddType text/plain .tpl
|
2014-09-02 09:36:42 +02:00
|
|
|
</IfModule>
|
2014-10-25 12:26:15 +02:00
|
|
|
|
|
|
|
<IfModule mod_expires.c>
|
|
|
|
ExpiresActive On
|
|
|
|
ExpiresDefault "access plus 1 seconds"
|
|
|
|
ExpiresByType text/html "access plus 1 seconds"
|
|
|
|
ExpiresByType image/x-icon "access plus 1 year"
|
|
|
|
ExpiresByType image/gif "access plus 1 year"
|
|
|
|
ExpiresByType image/jpeg "access plus 1 year"
|
|
|
|
ExpiresByType image/png "access plus 1 year"
|
|
|
|
ExpiresByType text/css "access plus 1 year"
|
|
|
|
ExpiresByType text/javascript "access plus 1 year"
|
|
|
|
ExpiresByType application/javascript "access plus 1 year"
|
|
|
|
ExpiresByType application/x-javascript "access plus 1 year"
|
2014-10-25 13:09:29 +02:00
|
|
|
</IfModule>
|