Difference between revisions of "MapServerTiles"
Jump to navigation
Jump to search
(New page: == httpd config for mapserver tile hosting == === two dns aliases point to buildtest.osgeo.org === * mapserver-tile-1.osgeo.org * mapserver-tile-2.osgeo.org Note that as this is the onl...) |
|||
Line 27: | Line 27: | ||
allow from all | allow from all | ||
</Directory> | </Directory> | ||
+ | <Directory /osgeo/mapserver/tilecache> | ||
+ | ExpiresActive on | ||
+ | ExpiresDefault "access plus 1 day" | ||
+ | </Directory> | ||
DirectoryIndex index.html | DirectoryIndex index.html | ||
</VirtualHost> | </VirtualHost> | ||
</pre> | </pre> |
Revision as of 03:18, 30 December 2008
httpd config for mapserver tile hosting
two dns aliases point to buildtest.osgeo.org
- mapserver-tile-1.osgeo.org
- mapserver-tile-2.osgeo.org
Note that as this is the only virtualhost defined for this server, it has become the default configuration (i.e. for the time being buildtest.osgeo.org also serves files from /osgeo/mapserver
the static files are located at
/osgeo/mapserver
a httpd config file creating the virtualhosts is in /etc/httpd/conf.d/mapservertiles.conf
<Virtualhost *:80> ServerName mapserver-tile-1.osgeo.org ServerAlias mapserver-tile-2.osgeo.org DocumentRoot /osgeo/mapserver <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory /osgeo/mapserver/> AllowOverride None Order allow,deny allow from all </Directory> <Directory /osgeo/mapserver/tilecache> ExpiresActive on ExpiresDefault "access plus 1 day" </Directory> DirectoryIndex index.html </VirtualHost>