ogcserver: apply fix for dynamic script name in mod_server (from tmcw, closes #277)
This commit is contained in:
parent
9ac7204cd2
commit
57f995b0cc
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ class ModHandler(object):
|
|||
else:
|
||||
reqparams = lowerparams(reqparams)
|
||||
port = apacheReq.connection.local_addr[1]
|
||||
onlineresource = 'http://%s:%s/%s?' % (apacheReq.hostname, port, 'wms.py')
|
||||
onlineresource = 'http://%s:%s%s?' % (apacheReq.hostname, port, apacheReq.subprocess_env['SCRIPT_NAME'])
|
||||
if not reqparams.has_key('request'):
|
||||
raise OGCException('Missing Request parameter.')
|
||||
request = reqparams['request']
|
||||
|
|
Loading…
Add table
Reference in a new issue