Python Scripting GeoServer not working

7 views
Skip to first unread message

Dinesh Dass Subramanian

unread,
Aug 23, 2019, 2:13:24 PM8/23/19
to GeoScript
Hi,

I have installed the Scripting extension for python from the community module for the GeoServer 2.15.2. I have created the sample app hook as mentioned in the page "https://docs.geoserver.org/latest/en/user/community/scripting/py/index.html". The following code is available in the location <geoserver_data_dir>/scripts/apps/hello/main.py.

def app(environ, start_response):
  start_response
('200 OK', [('Content-Type', 'text/plain')])
  
return ['Hello World!']

But I could not access the script using the URL "http://localhost:8080/geoserver/script/apps/hello" and it shows 404 error. Please advise. Thanks.
Reply all
Reply to author
Forward
0 new messages