Changes between Version 4 and Version 5 of Infrastructure

Show
Ignore:
Timestamp:
05/18/11 11:25:54 (2 years ago)
Author:
tschaub
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Infrastructure

    v4 v5  
    1919=== Modifying the Website === 
    2020 
    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/: 
     21You 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/: 
    2222 
    2323{{{ 
     
    3636        DirectoryIndex index.shtml 
    3737    </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 
    3849 
    3950</VirtualHost>