Last change
on this file since 1119 was
934,
checked in by Sam Hocevar, 16 years ago
|
- Added .htaccess and robots.txt skeleton. Also testing automatic updates.
|
-
Property svn:keywords set to
Id
|
File size:
514 bytes
|
Line | |
---|
1 | # $Id: .htaccess 934 2006-05-05 17:24:09Z sam $ |
---|
2 | |
---|
3 | # Activated modules |
---|
4 | RewriteEngine on |
---|
5 | |
---|
6 | # We talk utf8 here |
---|
7 | AddDefaultCharset utf-8 |
---|
8 | |
---|
9 | # Disallowed files: .htaccess, .htpasswd, .svn etc. |
---|
10 | <Files ~ "^\.ht"> |
---|
11 | Order allow,deny |
---|
12 | Deny from all |
---|
13 | </Files> |
---|
14 | |
---|
15 | <Files ~ "^\.svn"> |
---|
16 | Order allow,deny |
---|
17 | Deny from all |
---|
18 | </Files> |
---|
19 | |
---|
20 | # MIME Types |
---|
21 | AddType application/x-cgi-php .html |
---|
22 | Action application/x-cgi-php /cgi-bin/php4 |
---|
23 | AddType text/css .css |
---|
24 | |
---|
25 | # Redirects for disallowed stuff |
---|
26 | RewriteRule ^.svn/.* /.svn/ [R=permanent,L] |
---|
27 | RewriteRule (.*)/.svn/.* /$1/.svn/ [R=permanent,L] |
---|
28 | |
---|
Note: See
TracBrowser
for help on using the repository browser.