Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 20 lines (15 sloc) 0.531 kb
ad46848 @remy fixed merge conflict and updated to read from json file as well as url
authored
1 <IfModule mod_rewrite.c>
2
3 # $Id: .htaccess,v 1.3 2006/11/09 09:08:14 remy Exp $
4 Options +FollowSymLinks +ExecCGI
5 RewriteEngine On
6 RewriteBase /
7
8 # strip www. from the domain
9 RewriteCond %{HTTP_HOST} ^www\.mit-license\.org$ [NC]
10 RewriteRule ^(.*)$ http://mit-license.org/$1 [R=301,L]
11
12 # if the file or directory exists
13 RewriteCond %{REQUEST_FILENAME} -d [OR]
14 RewriteCond %{REQUEST_FILENAME} -f
15 RewriteRule .* - [L]
16
17 # using 'index.php' because it forces a '/' request to the handler
18 RewriteRule ^(.*)$ index.php [QSA,L]
19 </IfModule>
Something went wrong with that request. Please try again.