You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 14, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on Jul 14, 2025. It is now read-only.
More user-friendly installation with a warning for missing .htaccess #5
It would be great to start to use index.php for the HTML interface.
This interface should also check the proper installation - including the test of URLs (already done in the tileserver.php) and of the availability of .htaccess file.
Ideas for proper .htacess tests:
check file by is_readable(".htaccess")
print_r(apache_get_modules()) will show you the loaded Apache modules (only if PHP runs as a module as well)
use "SetEnv TILESERVER ok" in .htaccess and "$indexUrl = getenv('TILESERVER');" in PHP.
Activity
daliborjanak commentedon May 19, 2014
Solved in v1 by commit 08b77f4