profis/profiscms/master/gallery/.htaccess - Htaccess File

profis/profiscms/master/gallery/.htaccess

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]

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME, REQUEST_URI

Comments

Apache