Skip to content
This repository was archived by the owner on Jul 14, 2025. It is now read-only.
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

Closed

Description

@klokan

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

  1. added this to the milestone on May 5, 2014
  2. daliborjanak commented on May 19, 2014

    @daliborjanak
    Collaborator

    Solved in v1 by commit 08b77f4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions