rendered paste body
### Symphony 1.7 - Do not edit ###
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
### DO NOT APPLY RULES WHEN REQUESTING "favicon.ico"
RewriteCond %{REQUEST_FILENAME} favicon.ico [NC]
RewriteRule .* - [S=14]
### IMAGE RULES
RewriteRule ^image/([0-9]+)\/([0-9]+)\/(0|1)\/([a-fA-f0-9]{1,6})\/external/([\W\w]+)\.(jpg|gif|jpeg|png|bmp)$ /symphony/image.php?width=$1&height=$2&crop=$3&bg=$4&_f=$5.$6&external=true [L]
RewriteRule ^image/external/([\W\w]+)\.(jpg|gif|jpeg|png|bmp)$ /symphony/image.php?width=0&height=0&crop=0&bg=0&_f=$1.$2&external=true [L]
RewriteRule ^image/([0-9]+)\/([0-9]+)\/(0|1)\/([a-fA-f0-9]{1,6})\/external/(.*)\.(jpg|gif|jpeg|png|bmp)$ /symphony/image.php?width=$1&height=$2&crop=$3&bg=$4&_f=$5.$6&external=true [L]
RewriteRule ^image/external/(.*)\.(jpg|gif|jpeg|png|bmp)$ /symphony/image.php?width=0&height=0&crop=0&bg=0&_f=$1.$2&external=true [L]
RewriteRule ^image/([0-9]+)\/([0-9]+)\/(0|1)\/([a-fA-f0-9]{1,6})\/([\W\w]+)\.(jpg|gif|jpeg|png|bmp)$ /symphony/image.php?width=$1&height=$2&crop=$3&bg=$4&_f=$5.$6 [L]
RewriteRule ^image/([\W\w]+)\.(jpg|gif|jpeg|png|bmp)$ /symphony/image.php?width=0&height=0&crop=0&bg=0&_f=$1.$2 [L]
RewriteRule ^image/([0-9]+)\/([0-9]+)\/(0|1)\/([a-fA-f0-9]{1,6})\/(.*)\.(jpg|gif|jpeg|png|bmp)$ /symphony/image.php?width=$1&height=$2&crop=$3&bg=$4&_f=$5.$6 [L]
RewriteRule ^image/(.*)\.(jpg|gif|jpeg|png|bmp)$ /symphony/image.php?width=0&height=0&crop=0&bg=0&_f=$1.$2 [L]
### CHECK FOR TRAILING SLASH - Will ignore files
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_URI} !/$
RewriteCond %{REQUEST_URI} !(.*)/$
RewriteRule ^(.*)$ /$1/ [L,R=301]
### MAIN REWRITE - This will ignore directories
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)\/$ /index.php?page=$1&%{QUERY_STRING} [L]
</IfModule>
DirectoryIndex index.php
IndexIgnore *
######