Options -Indexes
RewriteEngine on
# Don't apply to URLs that go to existing files or folders.

RewriteOptions InheritDown

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule ^xmltv.php(.*)$ api/xmltv.php?$1%{QUERY_STRING} [NC,L]
#RewriteRule ^player_api.php(.*)$ api/player_api.php?$1%{QUERY_STRING} [NC,L]

RewriteRule ^(.*)$ api/lms.php?path=$1 [NC,L]
