<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">Hi all,</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><br></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">I have configured and tested a simple application with mod_wsgi and found that its working properly. Now I am trying to use mod_wsgi with MapServer. I have configured my Apache virtual host for wsgi as:&nbsp;</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">&nbsp;</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">Alias / /home/public_html/wsgi/</font></div><div><span class="Apple-style-span" style="font-family: 'times new roman', 'new
 york', times, serif; ">&nbsp; &nbsp; &lt;Directory /home/public_html/wsgi&gt;</span><br></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &nbsp; Options ExecCGI Indexes</font></div><div><span class="Apple-style-span" style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp; &nbsp; &nbsp; &nbsp; DirectoryIndex index.html index.wsgi index.cgi</span><br></div><div><span class="Apple-style-span" style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp; &nbsp; &nbsp; &nbsp; AddHandler cgi-script .cgi</span><br></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &nbsp; AddHandler wsgi-script .wsgi</font></div><div><span class="Apple-style-span" style="font-family: 'times new roman', 'new york', times, serif; ">&nbsp; &nbsp; &nbsp; &nbsp; #AllowOverride None</span><br></div><div><font
 class="Apple-style-span" face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &nbsp; Order allow,deny</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &nbsp; &nbsp; Allow from all</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">&nbsp; &nbsp; &lt;/Directory&gt;</font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif"><br></font></div><div><span class="Apple-style-span" style="font-family: 'times new roman', 'new york', times, serif; ">I tried running similarly as python mapscript but could not get the result.&nbsp;</span><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">I could not find any example that uses mod_wsgi with mapscript. Anyone have any idea how it can be used? Any working example?</font></div><div><font class="Apple-style-span"
 face="'times new roman', 'new york', times, serif"><br></font></div><div><font class="Apple-style-span" face="'times new roman', 'new york', times, serif">Thanks,</font></div></div></div></body></html>