[MapProxy] specify python version with mapproxy - mod wsgi error

Mark Volz MarkVolz at co.lyon.mn.us
Wed Apr 4 17:23:02 EDT 2012


Hello,

I have been testing out Mapproxy using Apache Mod WSGI  and Python 2.6 which is included with ArcGIS 10.0.  I recently upgraded to ArcGIS 10.1 which includes Python 2.7.  Apache will no longer load.  I am assuming that this is because it is trying to use Python 2.7 instead of Python 2.6  (which is still installed on my machine).

How can I force Apache WSGI to use Python 2.6 instead of 2.7?

*note I realize that I could install MapProxy using Python 2.7.  However, I would like to know how to force Apache WSGI to use 2.6 just in case I upgrade to a python version that MapProxy is not compatible with such as 3.x.


WSGIScriptAlias /mapproxy "c:/Python26/ArcGIS10.0/Scripts/config.py"

<Directory "c:/Python26/ArcGIS10.0/Scripts/">
  Order deny,allow
  Allow from all
</Directory>

Thank You

Mark Volz
GIS Specialist
Lyon County, MN



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapproxy/attachments/20120404/700dce1c/attachment.html


More information about the MapProxy mailing list