comparison piecrust/resources/webinit/htaccess @ 3:f485ba500df3

Gigantic change to basically make PieCrust 2 vaguely functional. - Serving works, with debug window. - Baking works, multi-threading, with dependency handling. - Various things not implemented yet.
author Ludovic Chabant <ludovic@chabant.com>
date Sun, 10 Aug 2014 23:43:16 -0700
parents
children
comparison
equal deleted inserted replaced
2:40fa08b261b9 3:f485ba500df3
1 # Uncomment this if you want to set 'pretty_urls' to 'true'.
2 #RewriteEngine on
3
4 # If you're running from a sub-directory, uncomment the RewriteBase statement and
5 # change it to the sub-directory name you're using.
6 #RewriteBase /yourbase
7
8 # Don't rewrite requests to stuff that physically exists.
9 RewriteCond %{REQUEST_FILENAME} -f [OR]
10 RewriteCond %{REQUEST_FILENAME} -l [OR]
11 RewriteCond %{REQUEST_FILENAME} -d
12 RewriteRule ^.*$ - [NC,L]
13
14 # Rewrite all the rest through the gateway.
15 RewriteRule ^.*$ index.php [NC,L]
16
17 # Various other configuration stuff.
18 AddType text/css .less