OpenLayers OpenLayers

root/project/website/README

Revision 304, 0.9 kB (checked in by sderle, 3 years ago)

All-new OpenLayers homepage. (Well, mostly new.)

Line 
1 The .shtml files in this directory are Apache server-parsed HTML files. Using
2 server-side includes allows us to have a standard header and footer for all
3 the pages on the site. This requires having Apache load mod_include, and
4 then the following configuration is required in the VirtualHost:
5
6     Options +Includes
7     AddType text/html .shtml
8     AddOutputFilter INCLUDES .shtml
9     DirectoryIndex index.cgi index.shtml index.html
10
11 At present, loading mod_include causes a weird interaction with Trac, which is
12 fixed by adding the following to the Trac VirtualHost:
13
14     ErrorDocument 401 default
15
16 The Apache server on openlayers.org is (naturally) currently configured this
17 way.
18
19 The openlayers directory in this directory is a separate checkout from
20 htdocs.  You must go INSIDE the openlayers directory to update it.
21 updating ~/openlayers.org/htdocs only gets the home page material.
Note: See TracBrowser for help on using the browser.