Mercurial > dive4elements > gnv-client
comparison doc/admin-manual/installation-base.tex @ 1135:706df18f0c01
Some refactoring of the proxy installation.
doc/trunk@1250 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 30 Jun 2010 09:33:47 +0000 |
parents | cbfe708b9a17 |
children | 17c3770e6c63 |
comparison
equal
deleted
inserted
replaced
1134:411b09d348ca | 1135:706df18f0c01 |
---|---|
329 | 329 |
330 For a sucessful configuration, the response document \verb+ mapserver+ | 330 For a sucessful configuration, the response document \verb+ mapserver+ |
331 contains a XML document describing the capabilities of the mapserver. | 331 contains a XML document describing the capabilities of the mapserver. |
332 | 332 |
333 \subsection{Proxy-Script: Installation and Configuration} | 333 \subsection{Proxy-Script: Installation and Configuration} |
334 The Proxy-Script is required to allow requests which are send by the Map-Client | 334 The Proxy-Script is required to allow the Map-Client to request external |
335 which is integrated in the GNV-Web-Client. This is required because of security- | 335 services. Security policies forbit and prevent requesting those services - like |
336 policies according Java-Script which load further Documents during runtime. | 336 a GetFeatureInfo request - directly. |
337 | 337 |
338 \subsubsection{Installation} | 338 \subsubsection{Installation} |
339 | 339 |
340 First make sure that python is installed on the operating system. | 340 First make sure that python is installed on the operating system. |
341 Otherwise install python using the following command: | 341 Otherwise install python using the following command: |
342 | 342 |
343 \verb+ apt-get install python+ | 343 \verb+ apt-get install python+ |
344 | 344 |
345 Than the script itself must be published on the server by executing the | 345 Then the script itself must be published on the server by executing the |
346 following steps: | 346 following steps: |
347 | 347 |
348 \begin{lstlisting} | 348 \begin{lstlisting} |
349 cd /usr/lib/cgi-bin | 349 cd /usr/lib/cgi-bin |
350 cp -i $ARTIFACT_SERVER_HOME/install/debian/ol-proxy/proxy.cgi . | 350 cp -i $ARTIFACT_SERVER_HOME/install/debian/ol-proxy/proxy.cgi . |
351 \end{lstlisting} | 351 \end{lstlisting} |
352 | 352 |
353 \subsubsection{Configuration} | 353 \subsubsection{Configuration} |
354 The Proxy-Script can only communicate with servers which it is allowed to. | 354 The Proxy-Script can only communicate with servers it is allowed to. |
355 To enable the communication to the server where the UMN-Mapserver is hosted | 355 To enable the communication to the server where the UMN-Mapserver is hosted |
356 or to other Server it is necessary to edit the Proxy-Script at line 18. | 356 or to other Server it is necessary to edit {\tt allowedHosts} in the |
357 | 357 Proxy-Script at line 18. |
358 There you have tor replace the placeholder THISHOSTNAME with the name which | 358 |
359 There you have to replace the placeholder THISHOSTNAME with the name which | |
359 will be used to reach the GNV-Web-Client. | 360 will be used to reach the GNV-Web-Client. |
360 | 361 |
361 You can add further servers using the syntax which is given in the script. | 362 You can add further servers using the syntax which is given in the script. |
362 | 363 |
363 \subsubsection{Test of installation} | 364 \subsubsection{Test of installation} |