Changes between Version 12 and Version 13 of ZooKernel


Ignore:
Timestamp:
Sep 2, 2009, 3:45:12 AM (15 years ago)
Author:
djay
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ZooKernel

    v12 v13  
    3838
    3939==== Using the code ====
     40
     41===== From the command line =====
     42
    4043To run request with ZooKernel from command command line, use the following example :
    4144
     
    5053}}}
    5154
    52 Your could also see the Cgi Version from [http://shilpa.media.osaka-cu.ac.jp/zoo/test_service.zo/?Service=WPS&request=GetCapabilities&Version=1.0.0 Shilpa !]
     55===== From an apache web server =====
     56
     57You could use the cgi version of zoo_loader on your own apache server. Do do this, use the following instruction.
     58
     59Copy the cgi script, the demo service and the required files in your {{{cgi-bin}}} directory.
     60{{{
     61#!sh
     62cp /path/to/trunk/zoo-kernel/zoo_loader.cgi /var/www/localhost/cgi-bin
     63cp /path/to/trunk/zoo-kernel/demo_service.zo /var/www/localhost/cgi-bin/test_service.zo
     64cp /path/to/trunk/zoo-kernel/*zcfg /var/www/localhost/cgi-bin
     65cp /path/to/trunk/zoo-kernel/*cfg /var/www/localhost/cgi-bin
     66}}}
     67
     68Create a file {{{.htaccess}}} in a zoo directory from the directory index of your apache instalaltion.
     69{{{
     70#!sh
     71cat > /var/www/localhost/htdocs/zoo/.htaccess << EOF
     72  RewriteEngine on
     73  RewriteCond %{REQUEST_FILENAME} !-f
     74  RewriteCond %{REQUEST_FILENAME} !-d
     75  RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !=%{DOCUMENT_ROOT}/login.php
     76  RewriteRule (.*)/(.*)/(.*) /cgi-bin/zoo_loader.cgi?ServiceProvider=$2&metapath=$1 [L,QSA]
     77  RewriteRule (.*)/(.*)/ /cgi-bin/zoo_loader.cgi?ServiceProvider=$2&metapath=$1 [L,QSA]
     78  RewriteRule (.*)/(.*) /cgi-bin/zoo_loader.cgi?ServiceProvider=$1&metapath= [L,QSA]
     79EOF
     80}}}
     81
     82
     83
     84You could also see the Cgi Version from [http://shilpa.media.osaka-cu.ac.jp/zoo/test_service.zo/?Service=WPS&request=GetCapabilities&Version=1.0.0 Shilpa !]
    5385
    5486Some other samples from the Shilpa server :

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png