| | 18 | [[BR]] |
| | 19 | |
| | 20 | |
| | 21 | ---- |
| | 22 | [[BR]] |
| | 23 | = TRAC = |
| | 24 | |
| | 25 | == How do I edit the wiki or a ticket? == |
| | 26 | You will need a wiki account. If you want an account to enable you to edit the wiki, add a ticket or modify an existing ticket please send an email to the [http://openlayers.org/EmailLists/ Developer Mailing List]. |
| | 27 | [[BR]] |
| | 28 | |
| | 29 | ---- |
| | 30 | [[BR]] |
| | 31 | = WFS = |
| | 32 | |
| | 33 | == Why isn't WFS working on my local checkout of !OpenLayers? == |
| | 34 | |
| | 35 | This is probably because you do not have a proxy host set up. |
| | 36 | |
| | 37 | Due to security restrictions in Javascript, it is not possible to |
| | 38 | retrieve information from remote domains via XMLHttpRequest. The way to |
| | 39 | work around this is to set up a local script which can 'proxy' |
| | 40 | information from the remote host. An example script to do this is |
| | 41 | available from the examples directory as proxy.cgi: |
| | 42 | |
| | 43 | http://svn.openlayers.org/trunk/openlayers/examples/proxy.cgi |
| | 44 | |
| | 45 | To use WFS results from a remote host on your machine, you must install |
| | 46 | a proxy script somewhere web accessible from the domain you plan to use |
| | 47 | to host your page. You must then edit !ProxyHost to match that URL: an |
| | 48 | example URL for most Apache configurations might be: |
| | 49 | |
| | 50 | !OpenLayers.ProxyHost="/cgi-bin/proxy.cgi?url="; |
| | 51 | |
| | 52 | If the !ProxyHost is not set, requests are sent directly. In most cases, |
| | 53 | the result will be a security exception. |
| | 54 | ---- |