forked from andig/videodb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.htaccess
42 lines (35 loc) · 1.1 KB
/
.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
36
37
38
39
40
41
42
#
# Apache access control
#
# @author Andreas Goetz <[email protected]>
# $Id: .htaccess,v 1.2 2008/04/29 13:32:48 andig2 Exp $
#
# Don't show directory listings for URLs which map to a directory.
Options -Indexes
# go directly to index.php
DirectoryIndex index.php
# make sure Apache doesn't set default charset on it's own (bug 1943523)
AddDefaultCharset utf-8
# PHP 4, Apache 1.
<IfModule mod_php4.c>
php_value magic_quotes_gpc 0
php_value default_charset utf-8
</IfModule>
# PHP 4, Apache 2.
<IfModule sapi_apache2.c>
php_value magic_quotes_gpc 0
php_value default_charset utf-8
</IfModule>
# PHP 5, Apache 1 and 2.
<IfModule mod_php5.c>
php_value magic_quotes_gpc 0
php_value default_charset utf-8
</IfModule>
# enable compression
<IfModule mod_deflate_DISABLED.c>
# Deflate zum zippen
AddOutputFilterByType DEFLATE text/html text/plain text/xml application/xml application/xhtml+xml text/javascript text/css
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
</IfModule>