Htaccess File

profis/profiscms/master/gallery/.htaccess

REQUEST_FILENAME, REQUEST_URI
Options -Indexes
RewriteEngine On
# Uncomment these if you don`t want each image to be put through php file.
RewriteCond %{REQUEST_URI} !^(.+)/admin/(thumbnail|small|large)(/[^/]+)$
#RewriteCond %{REQUEST_URI} !^(.+)/admin/(thumbnail|thumb-small|small|thumb-large|large)(/[^/]+)$
RewriteRule ^(.+)/admin/(thumbnail|small|large)(/[^/]+)$ $1/thumb-$2$3
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.+)$ ../core/gallery.php?r=$1 [QSA]
Exit mobile version