Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

More user-friendly installation with a warning for missing .htaccess #5

Closed
klokan opened this issue Jan 9, 2013 · 1 comment
Closed
Milestone

Comments

@klokan
Copy link
Member

klokan commented Jan 9, 2013

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.
@klokan klokan added this to the 2.0 milestone May 5, 2014
@daliborjanak
Copy link
Collaborator

Solved in v1 by commit 08b77f4

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants