Htaccess File

kiswa/365Photos/master/dist/api/.htaccess

ENV, REQUEST_FILENAME, REQUEST_URI
RewriteEngine On

RewriteCond %{REQUEST_URI}::$1 ^(.*?/)(.*)::2$
RewriteRule ^(.*)$ - [E=BASE:%1]

RewriteRule ^photos.db$ %{ENV:BASE}api.php [QSA,L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ %{ENV:BASE}api.php [QSA,L]
Exit mobile version