[Tile-serving] [openstreetmap/mod_tile] Fix documentation for enabling apache2 module (#158)

Pander notifications at github.com
Wed May 31 16:59:17 UTC 2017


When copying `mod_tile.conf` to `/etc/apache2/mods-available` and making a symbolic link from `/etc/apache2/mods-enabled` to there, apache will not restart with `service apache2 restart`. When running `apache2ctl configtest`, the output is

    apache2: Syntax error on line 147 of /etc/apache2/apache2.conf: Syntax error on line 4 of /etc/apache2/mods-enabled/mod_tile.conf: Cannot load modules/mod_tile.so into server: /etc/apache2/modules/mod_tile.so: cannot open shared object file: No such file or directory
    Action 'configtest' failed.
    The Apache error log may have more information.

In mod_tile.conf, the line

    LoadModule tile_module modules/mod_tile.so

should be changed to

    LoadModule tile_module /usr/lib/apache2/modules/mod_tile.so

Then `service apache2 restart` will be successful.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/mod_tile/issues/158
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170531/96106016/attachment.html>


More information about the Tile-serving mailing list