I have an application which requires an htaccess file in the directory /tileserver/
that contains the following:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^(tileserver\.php)
RewriteRule ^(.*)$ tileserver.php?/$1 [L,QSA]
what I need is for any URL request to tileserver/
to instead be
tileserver/tileserver.php/
but then if I add something like:
RewriteRule ^tileserver/(.*)$ tileserver/tileserver.php/$1
it has no effect. How do I write this rule?
update here is a line from the error log:
[Thu Dec 17 13:17:48.858560 2015] [negotiation:error] [pid 23573] [client 108.44.58.67:64411] AH00687: Negotiation: discovered file(s) matching request: /var/www/html/tileserver/extra5 (None could be negotiated)., referer: http://107.170.120.88/tileserver/