profiscms/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)(/[^/]+)$ RewriteRule ^(.+)/admin/(thumbnail|small|large)(/[^/]+)$ $1/thumb-$2$3 RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.+)$ index.php?r=$1 [QSA]
Files
![REQUEST_FILENAME, REQUEST_URI](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/profiscms/gallery-htaccess.png)