git://git.iain.cx/iain
/
readifood.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd90090
)
Simpler RewriteCond rules.
author
Iain Patterson
<me@iain.cx>
Thu, 7 Nov 2013 12:59:12 +0000
(07:59 -0500)
committer
Iain Patterson
<me@iain.cx>
Thu, 7 Nov 2013 12:59:12 +0000
(07:59 -0500)
Simply avoid rewrites for any file which exists rather than maintaining
a list of files which we explicitly don't rewrite.
www/.htaccess
patch
|
blob
|
history
diff --git
a/www/.htaccess
b/www/.htaccess
index
e56e28a
..
a3be2de
100644
(file)
--- a/
www/.htaccess
+++ b/
www/.htaccess
@@
-1,5
+1,3
@@
RewriteEngine on
-RewriteCond %{REQUEST_FILENAME} !/style\.css$
-RewriteCond %{REQUEST_FILENAME} !/logo\.png$
-RewriteCond %{REQUEST_FILENAME} !/login\.php$
+RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+) index.php [L]