branch feature/6511 updated (bb698ea -> b08ba5f)
This is an automated email from the git hooks/post-receive script. New change to branch feature/6511 in repository echobase. See http://git.codelutin.com/echobase.git from bb698ea refs #6511 : mise à jour de la documentation d'installation de lizmap new b08ba5f refs #6511 : configuration de l'avant-guichet Apache The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Detailed log of new commits: commit b08ba5f96c7764a1b116a956647c63850b3bdb84 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Thu Jun 11 18:04:17 2015 +0200 refs #6511 : configuration de l'avant-guichet Apache Summary of changes: src/site/rst/install.rst.vm | 82 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 77 insertions(+), 5 deletions(-) -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
This is an automated email from the git hooks/post-receive script. New commit to branch feature/6511 in repository echobase. See http://git.codelutin.com/echobase.git commit b08ba5f96c7764a1b116a956647c63850b3bdb84 Author: Sylvain Bavencoff <bavencoff@codelutin.com> Date: Thu Jun 11 18:04:17 2015 +0200 refs #6511 : configuration de l'avant-guichet Apache --- src/site/rst/install.rst.vm | 82 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 77 insertions(+), 5 deletions(-) diff --git a/src/site/rst/install.rst.vm b/src/site/rst/install.rst.vm index 562f3ec..9f0bb40 100644 --- a/src/site/rst/install.rst.vm +++ b/src/site/rst/install.rst.vm @@ -266,15 +266,87 @@ Il peut être necessaire de redefinir l'addresse public du serveur lizmap echobase.lizmap.application.map.url=http://<serveur>/echobase-map/lizmap/www/index.php/view/map +Configuration l'avant-guichet Apache +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + +Activez le connecteur tomcat : dans le fichier **/etc/tomcat7/server.xm** ajoutez ou décommentez la ligne:: -Finalisation -~~~~~~~~~~~~ + <Connector port="8009" enableLookups="false" redirectPort="8443" protocol="AJP/1.3"/> -Il est nécessaire de redemarer les services +Redémarrez le service tomcat :: - sudo service apache2 restart - sudo service tomvcat7 restart + service tomcat7 restart + + +Activez les modules Apache +:: + + a2enmod proxy proxy_ajp rewrite + +Créez le fichier **/etc/apache2/site-available/echobase.conf** +:: + + <VirtualHost *:80> + ServerName echobase.nomdedomaine.org + + ProxyRequests Off + + RewriteEngine On + RewriteRule ^/$ http://echobase.nomdedomaine.org/echobase/ [R] + + ProxyPass / ajp://localhost:8009/ + ProxyPassReverse / ajp://localhost:8009/ + + <Proxy *> + Order deny,allow + Allow from all + </Proxy> + + ErrorLog /var/log/apache2/echobase-error.log + LogLevel warn + CustomLog /var/log/apache2/echobase-access.log combined + + </VirtualHost> + +Créez le fichier **/etc/apache2/site-available/echobase.conf** +:: + + <VirtualHost *:80> + ServerName echobase-map.nomdedomaine.org + + ProxyRequests Off + + RewriteEngine On + RewriteRule ^/$ http://echobase-map.nomdedomaine.org/echobase-map/lizmpa/wwww [R] + + DocumentRoot /var/www + + ErrorLog /var/log/apache2/echobase-map-error.log + LogLevel warn + CustomLog /var/log/apache2/echobase-map-access.log combined + + </VirtualHost> + + +Activez les sites +:: + + a2ensite echobase.conf + a2ensite echobase-map.conf + +Redémarrez le service Apache +:: + + service apache2 restart + +Le site echobase est accesible à l'adresse http://echobase.nomdedomaine.org +Et le site de cartographie à l'adresse http://echobase-map.nomdedomaine.org/echobase-map/lizmap/www/index.php + +Vous pouvez donc modifier la configuration de echobase avec +:: + + echobase.lizmap.application.map.url=http://echobase-map.mondedomaine.org/echobase-map/lizmap/www/index.php/view/... .. _créer une base travail: ./db.html#creation-d-une-base-postgresql -- To stop receiving notification emails like this one, please contact codelutin.com SCM administrator <admin+scm@codelutin.com>.
participants (1)
-
codelutin.com scm