forked from idno/known
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
35 lines (33 loc) · 787 Bytes
/
.htaccess
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Known .htaccess file
# If these settings don't work for you, we recommend copying htaccess-2.4.dist instead.
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?/$1 [L,QSA]
RewriteRule ^Uploads.* - [F]
</IfModule>
<IfModule mod_php5.c>
php_value upload_max_filesize 1000M
php_value post_max_size 1080M
</IfModule>
<Files ~ "\.dist$">
Order allow,deny
Deny from all
</Files>
<Files ~ "\.ini$">
Order allow,deny
Deny from all
</Files>
<Files ~ "\.xml$">
Order allow,deny
Deny from all
</Files>
<Files ~ "sitemap.xml">
Order allow,deny
Allow from all
</Files>
AddType video/ogg .ogv
AddType video/mp4 .mp4
AddType video/webm .webm