Changes between Version 4 and Version 5 of Infrastructure
- Timestamp:
- 05/18/11 11:25:54 (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Infrastructure
v4 v5 19 19 === Modifying the Website === 20 20 21 You can check out the [browser:project/website website sources] from the repository, make local modifications, and see what those changes are going to look like on the live site before committing them. To do this, you'll need to modify your Apache config to process the SSI directives in the website markup. Below is a sample config section that handles requests to http://ol-localhost/:21 You can check out the [browser:project/website website sources] from the repository, make local modifications, and see what those changes are going to look like on the live site before committing them. To do this, you'll need to modify your Apache config to process the SSI directives in the website markup. In addition, it is convenient to proxy the requests to {{{/api/OpenLayers.js}}}. Below is a sample config section that handles requests to http://ol-localhost/: 22 22 23 23 {{{ … … 36 36 DirectoryIndex index.shtml 37 37 </Directory> 38 39 ProxyRequests Off 40 ProxyPreserveHost Off 41 42 <Proxy *> 43 Order deny,allow 44 Allow from all 45 </Proxy> 46 47 ProxyPass /api http://openlayers.org/api 48 ProxyPassReverse /api http://openlayers.org/api 38 49 39 50 </VirtualHost>
