source: trunk/Install/deb/debian/.htaccess

Last change on this file was 35, checked in by chronos, 4 years ago
  • Fixed: Missing .htaccess file from deb package.
File size: 542 bytes
Line 
1<Files ReadMe.txt>
2 order allow,deny
3 deny from all
4</Files>
5
6RewriteEngine On
7RewriteBase /
8
9# Pretty urls on localhost with alias
10RewriteCond %{HTTP_HOST} localhost
11RewriteCond %{REQUEST_FILENAME} !-f
12RewriteCond %{REQUEST_FILENAME} !-d
13RewriteRule ^(.*)$ teribear/index.php?$1
14
15# Pretty urls
16RewriteCond %{HTTP_HOST} teribear.domain.com
17RewriteCond %{REQUEST_FILENAME} !-f
18RewriteCond %{REQUEST_FILENAME} !-d
19RewriteRule ^(.*)$ index.php?$1
20
21
22#ErrorDocument 403 "index.php?page=403"
23#ErrorDocument 404 "index.php?page=404"
Note: See TracBrowser for help on using the repository browser.