Files
dlist/.htaccess
jim 104faa098a modified thumbnail url pattern to make it shorter, and save some bandwidth when displaying very long file lists (and it also looks prettier :D)
git-svn-id: file:///Users/jimeh/Desktop/dlist/trunk@37 a5845835-ea0f-0410-a762-dd0bfe9bfde8
2006-11-10 03:08:27 +00:00

10 lines
337 B
ApacheConf

<IfModule mod_rewrite.c>
Options +FollowSymlinks
RewriteEngine On
# RewriteCond %{REQUEST_FILENAME} !-f [NC]
# RewriteCond %{REQUEST_FILENAME} !-d [NC]
RewriteRule ^([0-9]{1,4})x([0-9]{1,4})x([0-9]{1,3})(.*)$ thumb.php?src=$4&w=$1&h=$2&q=$3
RewriteRule ^([0-9]{1,4})x([0-9]{1,4})(.*)$ thumb.php?src=$3&w=$1&h=$2
</IfModule>