[MapProxy] Running Mapproxy 1.14 under Windows Apache
Kulawik, Robert
KulawikR at eba.bund.de
Tue Jan 11 08:16:05 PST 2022
Hi List,
I wish you all a happy New Year!
I am trying to setup Mapproxy 1.14 in my MS Server 2019.
maybe i missed something and you can help me
I installed
Server Version: Apache/2.4.52 (Win64) mod_fcgid/2.3.10-dev mod_wsgi/4.9.0 Python/3.9
Server MPM: WinNT
Apache Lounge VS16 Server built: Dec 17 2021 10:17:38
Installed dependencies
setuptools-60.1.1-py3-none-any.whl
certifi-2021.10.8-py2.py3-none-any.whl
pyproj-3.3.0-cp39-cp39-win_amd64.whl
wheel-0.37.1-py2.py3-none-any.whl
numpy-1.21.5-cp39-cp39-win_amd64.whl
GDAL-3.3.3-cp39-cp39-win_amd64.whl
Pillow-8.4.0-cp39-cp39-win_amd64.whl
PyYAML-6.0-cp39-cp39-win_amd64.whl
Shapely-1.8.0-cp39-cp39-win_amd64.whl
MapProxy-1.14.0-py2.py3-none-any.whl
mod_wsgi-4.9.0-cp39-cp39-win_amd64.whl
lxml-4.7.1-cp39-cp39-win_amd64.whl
My mod_wsgi.conf
LoadFile "C:/Python39/python39.dll"
LoadModule wsgi_module "C:/Python39/lib/site-packages/mod_wsgi/server/mod_wsgi.cp39-win_amd64.pyd"
WSGIPythonHome "C:/Python39"
WSGIPythonPath "C:/Python39/lib/site-packages"
WSGIScriptAlias /mapproxy "C:/srv/mapproxy/config.py"
<Directory "C:/srv/mapproxy">
Require all granted
</Directory>
Config.py
from logging.config import fileConfig
import os.path
fileConfig(r'C:\srv\mapproxy\log.ini', {'here': os.path.dirname(__file__)})
from mapproxy.wsgiapp import make_wsgi_app
application = make_wsgi_app(r'C:\srv\mapproxy\mapproxy.yaml', reloader=True)
Using test server
mapproxy-util serve-develop c:/srv/mapproxy/mapproxy.yaml
Mapproxy runs fine,
but it doesn't start using Apache
the Apache log says
[Tue Jan 11 16:19:47.467682 2022] [wsgi:info] [pid 5708:tid 5004] mod_wsgi (pid=5708): Create interpreter 'localhost|/mapproxy'.
[Tue Jan 11 16:19:47.498930 2022] [wsgi:info] [pid 5708:tid 5004] [client 127.0.0.1:53451] mod_wsgi (pid=5708, process='', application='localhost|/mapproxy'): Loading Python script file 'C:/srv/mapproxy/config.py'.
But using "localhost/mapproxy" in Browser nothing happens. No errors in logs
All Ideas are welcome
Viele Grüße
Robert Kulawik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapproxy/attachments/20220111/f84de7b3/attachment.html>
More information about the MapProxy
mailing list