Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (22 sloc) 864 Bytes
SetEnv PHP_VER 5
Options +FollowSymlinks
Options -Indexes
RewriteEngine on
ErrorDocument 403 /index.php?mod=sl_error&id=403
ErrorDocument 404 /index.php?mod=sl_error&id=404
SetEnv SESSION_USE_TRANS_SID 0
# Pages Module
RewriteRule page-([0-9]+).* index.php?mod=sl_pages&id=$1 [L]
# Articles Module
RewriteRule article-([0-9]+).* index.php?mod=sl_articles&id=$1 [L]
# FLAG DEBUG
#php_flag display_startup_errors on
#php_flag display_errors on
#php_flag html_errors on
#php_flag ignore_repeated_errors off
#php_flag ignore_repeated_source off
#php_flag magic_quotes_gpc on
#php_value error_reporting 30719
#Rewrite responsive images only to show_image script
RewriteBase /
RewriteRule (medias/(?:images|attachments)/.*\.(?:jpe?g|gif|png|JPE?G|GIF|PNG))(?:/(\d*\w*))?(?:/(\d*\w*))? core/common/class/functions/includes/show_image.php?url=$1&width=$2&height=$3