Hello List,
Has someone ever installed Geonetwork under Apache2? Let me explain…
I have already installed geonetwork with Tomcat and Jetty, but now I want to run with Apache2 and Geonetwork as a servlet with mod_jk connector.
Any ideas of how to do that?
Thanks in advance,
Felipe Costa
"Se o Senhor não constrói a casa, em vão trabalham os construtores” (Sl 127,1)
Você quer respostas para suas perguntas? Ou você sabe muito e quer compartilhar seu conhecimento? Experimente o Yahoo! Respostas!
Here is a list of steps that should make GeoNetwork work on Apache2 and mod_jk, at least with Windows:
-
Download latest version of mod_jk 1.2 from http://tomcat.apache.org/download-connectors.cgi (mod_jk-apache-2.0.55.so or something like this)
-
Rename it mod_jk.so
-
Move it into Apache2/modules directory
-
Open Apache2/conf/httpd.conf in a text editor
-
Uncomment the following line:
#LoadModule rewrite_module modules/mod_rewrite.so
removing the leading #
- And add the following line at the end:
include conf/geonetwork.conf
LoadModule jk_module modules/mod_jk.so
JkWorkersFile conf/workers.properties
JkLogFile logs/mod_jk.log
JkLogLevel error
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkMount /geonetwork/* worker1
JkRequestLogFormat “%w %V %T”
RewriteEngine on
RewriteRule ^/geonetwork$ /geonetwork/ [R]
- Create the file conf/workers.properties
- Write the following text into it:
Define 1 real worker using ajp13
worker.list=worker1
Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009
worker.worker1.lbfactor=50
worker.worker1.cachesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.recycle_timeout=300
Let me know how it goes!
Bye
Stefano
On Aug 2, 2006, at 4:23 PM, Felipe Costa wrote:
Hello List,
Has someone ever installed Geonetwork under Apache2? Let me explain…
I have already installed geonetwork with Tomcat and Jetty, but now I want to run with Apache2 and Geonetwork as a servlet with mod_jk connector.
Any ideas of how to do that?
Thanks in advance,
Felipe Costa
"Se o Senhor não constrói a casa, em vão trabalham os construtores” (Sl 127,1)
Você quer respostas para suas perguntas? Ou você sabe muito e quer compartilhar seu conhecimento? Experimente o Yahoo! Respostas!
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net’s Techsay panel and you’ll get the chance to share your
opinions on IT & business topics through brief surveys – and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork