summaryrefslogtreecommitdiff
path: root/.htaccess
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-01-01 14:02:49 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-01-01 14:02:49 +0000
commit3de046fcbb0064a8ac249abf9ff49e37ad0a8f4b (patch)
tree0ad62fa9632f65c2127c155a7e16085a4cb6d951 /.htaccess
parent38f6bc5c31a93c8611bc51cced4b87564aab261a (diff)
downloadarticles-3de046fcbb0064a8ac249abf9ff49e37ad0a8f4b.tar.gz
articles-3de046fcbb0064a8ac249abf9ff49e37ad0a8f4b.tar.bz2
articles-3de046fcbb0064a8ac249abf9ff49e37ad0a8f4b.zip
use liberty_get_function() to determine image processing function
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess10
1 files changed, 7 insertions, 3 deletions
diff --git a/.htaccess b/.htaccess
index 97a6aef..2c7e178 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,6 +1,10 @@
<IfModule mod_rewrite.c>
RewriteEngine on
-# Uncomment this line if you have a crappy host
-# RewriteBase /articles/
- RewriteRule ^([0-9]+)$ read.php?article_id=$1 [L]
+# Uncomment this line if you have a crappy host
+# RewriteBase /articles/
+# RewriteRule ^([0-9]+)$ read.php?article_id=$1 [L]
+ RewriteCond %{SCRIPT_FILENAME} -f [OR]
+ RewriteCond %{SCRIPT_FILENAME}/read.php -f
+ RewriteRule ^(.*)$ - [L]
+ RewriteRule ^(.*)$ read.php?article_id=$1 [L]
</IfModule>