(root)/htdocs/.htaccess2 – Revision 5
Details |
Letzte Änderung |
Log anzeigen
| RSS feed
| Revision |
Autor |
Zeilennr. |
Zeile |
| 5 |
lars |
1 |
Options +FollowSymLinks
|
|
|
2 |
IndexIgnore *
|
|
|
3 |
|
|
|
4 |
<IfModule mod_expires.c>
|
|
|
5 |
ExpiresActive On
|
|
|
6 |
############################################################
|
|
|
7 |
## Add default Expires header
|
|
|
8 |
## http://developer.yahoo.com/performance/rules.html#expires
|
|
|
9 |
############################################################
|
|
|
10 |
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
|
|
|
11 |
ExpiresDefault "access plus 1 year"
|
|
|
12 |
</FilesMatch>
|
|
|
13 |
</IfModule>
|
|
|
14 |
|
|
|
15 |
<IfModule mod_rewrite.c>
|
|
|
16 |
# AllowOverride FileInfo
|
|
|
17 |
RewriteEngine on
|
|
|
18 |
# Use: RewriteBase /<subdirectory> if installed in subdirectory
|
|
|
19 |
RewriteBase /
|
|
|
20 |
|
|
|
21 |
# CodeIgniter pages with their own controllers
|
|
|
22 |
RewriteCond %{REQUEST_FILENAME} !-f
|
|
|
23 |
RewriteRule ^(.*)$ index.php [L]
|
|
|
24 |
|
|
|
25 |
</IfModule>
|