<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Installing Python (mod_python) on XAMPP (on Windows)</title>
	<atom:link href="http://blog.chomperstomp.com/installing-python-mod_python-on-xampp/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.chomperstomp.com/installing-python-mod_python-on-xampp/</link>
	<description>AJAX/JavaScript/CSS/HTML, Flash Game Development (AS 2.0/AS 3.0), iPhone App Development, Java/PHP/Python/ActionScript and other random techie tidbits I've collected</description>
	<lastBuildDate>Tue, 09 Mar 2010 04:36:23 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Ivan</title>
		<link>http://blog.chomperstomp.com/installing-python-mod_python-on-xampp/comment-page-1/#comment-1298</link>
		<dc:creator>Ivan</dc:creator>
		<pubDate>Tue, 23 Feb 2010 21:54:18 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chomperstomp.com/?p=150#comment-1298</guid>
		<description>I have the same problem ... ^</description>
		<content:encoded><![CDATA[<p>I have the same problem &#8230; ^</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chris ward</title>
		<link>http://blog.chomperstomp.com/installing-python-mod_python-on-xampp/comment-page-1/#comment-1248</link>
		<dc:creator>chris ward</dc:creator>
		<pubDate>Thu, 14 Jan 2010 15:09:44 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chomperstomp.com/?p=150#comment-1248</guid>
		<description>my apache server won&#039;t restart after i type the loadmodule line, i&#039;ve tried everything, python 2.5 is correctly installed and the mod_python.so is in the correct directory, it just wont restart untill i take this line out, any more suggestions anyone?</description>
		<content:encoded><![CDATA[<p>my apache server won&#8217;t restart after i type the loadmodule line, i&#8217;ve tried everything, python 2.5 is correctly installed and the mod_python.so is in the correct directory, it just wont restart untill i take this line out, any more suggestions anyone?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Someone</title>
		<link>http://blog.chomperstomp.com/installing-python-mod_python-on-xampp/comment-page-1/#comment-1106</link>
		<dc:creator>Someone</dc:creator>
		<pubDate>Sun, 30 Aug 2009 19:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chomperstomp.com/?p=150#comment-1106</guid>
		<description>I hope the tutorial could be updated to include Paul&#039;s additionals Step in having Pythin enabled for all directories rather than the test directory only.</description>
		<content:encoded><![CDATA[<p>I hope the tutorial could be updated to include Paul&#8217;s additionals Step in having Pythin enabled for all directories rather than the test directory only.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lisa</title>
		<link>http://blog.chomperstomp.com/installing-python-mod_python-on-xampp/comment-page-1/#comment-1095</link>
		<dc:creator>Lisa</dc:creator>
		<pubDate>Fri, 21 Aug 2009 21:51:50 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chomperstomp.com/?p=150#comment-1095</guid>
		<description>Thank you for the article, just a note for those who might click too fast during installers.

I was trying to install mod_python-3.3.1.win32-py2.5-Apache2.2.exe with my python-2.6.2 installation.  This will not work and the warning during mod_python installation says you need python 2.5!

At the time of this writing, there is no mod_python for python 2.6. Make sure you install python-2.5.4.msi</description>
		<content:encoded><![CDATA[<p>Thank you for the article, just a note for those who might click too fast during installers.</p>
<p>I was trying to install mod_python-3.3.1.win32-py2.5-Apache2.2.exe with my python-2.6.2 installation.  This will not work and the warning during mod_python installation says you need python 2.5!</p>
<p>At the time of this writing, there is no mod_python for python 2.6. Make sure you install python-2.5.4.msi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wahid Sadik</title>
		<link>http://blog.chomperstomp.com/installing-python-mod_python-on-xampp/comment-page-1/#comment-1089</link>
		<dc:creator>Wahid Sadik</dc:creator>
		<pubDate>Wed, 19 Aug 2009 02:54:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chomperstomp.com/?p=150#comment-1089</guid>
		<description>First of all, thanks a lot to Christopher for making this article. It got me through the first stage.

@Paul: I needed the capability to run .py files from any location. Thanks for your addition.

However, I found mptest.py was not showing proper output when I used &#039;publisher&#039;. Google tells, this is how I should write the mptest.py file to get output from it.

##code starts
def index(req):
  return &quot;Test successful&quot;;
##code ends

Source link: http://ubuntuforums.org/showthread.php?t=91101 (Comment by Oscar on March 4th, 2006)</description>
		<content:encoded><![CDATA[<p>First of all, thanks a lot to Christopher for making this article. It got me through the first stage.</p>
<p>@Paul: I needed the capability to run .py files from any location. Thanks for your addition.</p>
<p>However, I found mptest.py was not showing proper output when I used &#8216;publisher&#8217;. Google tells, this is how I should write the mptest.py file to get output from it.</p>
<p>##code starts<br />
def index(req):<br />
  return &#8220;Test successful&#8221;;<br />
##code ends</p>
<p>Source link: <a href="http://ubuntuforums.org/showthread.php?t=91101" rel="nofollow">http://ubuntuforums.org/showthread.php?t=91101</a> (Comment by Oscar on March 4th, 2006)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sid</title>
		<link>http://blog.chomperstomp.com/installing-python-mod_python-on-xampp/comment-page-1/#comment-835</link>
		<dc:creator>Sid</dc:creator>
		<pubDate>Thu, 05 Mar 2009 17:55:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chomperstomp.com/?p=150#comment-835</guid>
		<description>replace % % with the appropriate angle brackets.

i.e. %Directory /test% ... %/Directory% #&lt;-- This is wrong!

But, the following works:

%Directory &quot;C:/xampp/htdocs/test&quot;% ... %/Directory%</description>
		<content:encoded><![CDATA[<p>replace % % with the appropriate angle brackets.</p>
<p>i.e. %Directory /test% &#8230; %/Directory% #&lt;&#8211; This is wrong!</p>
<p>But, the following works:</p>
<p>%Directory &#8220;C:/xampp/htdocs/test&#8221;% &#8230; %/Directory%</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sid</title>
		<link>http://blog.chomperstomp.com/installing-python-mod_python-on-xampp/comment-page-1/#comment-834</link>
		<dc:creator>Sid</dc:creator>
		<pubDate>Thu, 05 Mar 2009 17:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chomperstomp.com/?p=150#comment-834</guid>
		<description>For those of you who have looked thru all forums out there and still haven&#039;t managed to figure out what&#039;s wrong, check to see if you&#039;ve made the same noob mistakes that I had:
1. I was trying to be smart and had only the relative path  
2. I had left out the quotes in the   tags. 

i.e. I had ... #&lt;--- This is wrong!&quot;

... #&lt;--- This works!&quot;

I&#039;m not completely sure if it was using the absolute path or using the quotes, or both, that fixed the problem, but make sure to check how you have your conf file saved.</description>
		<content:encoded><![CDATA[<p>For those of you who have looked thru all forums out there and still haven&#8217;t managed to figure out what&#8217;s wrong, check to see if you&#8217;ve made the same noob mistakes that I had:<br />
1. I was trying to be smart and had only the relative path<br />
2. I had left out the quotes in the   tags. </p>
<p>i.e. I had &#8230; #&lt;&#8212; This is wrong!&#8221;</p>
<p>&#8230; #&lt;&#8212; This works!&#8221;</p>
<p>I&#8217;m not completely sure if it was using the absolute path or using the quotes, or both, that fixed the problem, but make sure to check how you have your conf file saved.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://blog.chomperstomp.com/installing-python-mod_python-on-xampp/comment-page-1/#comment-786</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Sun, 04 Jan 2009 12:04:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chomperstomp.com/?p=150#comment-786</guid>
		<description>Arrgh still mangled - should read replace % with &#039;less than sign&#039; or &#039;greater than sign&#039; as appropriate.</description>
		<content:encoded><![CDATA[<p>Arrgh still mangled &#8211; should read replace % with &#8216;less than sign&#8217; or &#8216;greater than sign&#8217; as appropriate.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://blog.chomperstomp.com/installing-python-mod_python-on-xampp/comment-page-1/#comment-785</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Sun, 04 Jan 2009 12:03:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chomperstomp.com/?p=150#comment-785</guid>
		<description>My last comment got mangled - if should read:

%IfModule python_module%
  AddHandler mod_python .py
  PythonHandler mod_python.publisher
  PythonDebug On
%/IfModule%

Replace % with  as appropriate!</description>
		<content:encoded><![CDATA[<p>My last comment got mangled &#8211; if should read:</p>
<p>%IfModule python_module%<br />
  AddHandler mod_python .py<br />
  PythonHandler mod_python.publisher<br />
  PythonDebug On<br />
%/IfModule%</p>
<p>Replace % with  as appropriate!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul</title>
		<link>http://blog.chomperstomp.com/installing-python-mod_python-on-xampp/comment-page-1/#comment-784</link>
		<dc:creator>Paul</dc:creator>
		<pubDate>Sun, 04 Jan 2009 12:02:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.chomperstomp.com/?p=150#comment-784</guid>
		<description>Thanks, your instructions have saved me some time!

A couple of additional tips. In Step 4, point 2, make sure you can start Apache at that point. If you cannot, as suggested try typing the line rather than copy/pasting (or use the &#039;view all characters&#039; on an editor such as Notepad++ to make sure no odd characters have crept in!).

If it still won&#039;t work, make sure Python is in your system PATH. It isn&#039;t installed by default.

Finally, instead on adding the directory block, which turns on mod-python for a single folder, add the following at the end of the file (assumes you want to use the Publisher handler):


  AddHandler mod_python .py
  PythonHandler mod_python.publisher
  PythonDebug On
</description>
		<content:encoded><![CDATA[<p>Thanks, your instructions have saved me some time!</p>
<p>A couple of additional tips. In Step 4, point 2, make sure you can start Apache at that point. If you cannot, as suggested try typing the line rather than copy/pasting (or use the &#8216;view all characters&#8217; on an editor such as Notepad++ to make sure no odd characters have crept in!).</p>
<p>If it still won&#8217;t work, make sure Python is in your system PATH. It isn&#8217;t installed by default.</p>
<p>Finally, instead on adding the directory block, which turns on mod-python for a single folder, add the following at the end of the file (assumes you want to use the Publisher handler):</p>
<p>  AddHandler mod_python .py<br />
  PythonHandler mod_python.publisher<br />
  PythonDebug On</p>
]]></content:encoded>
	</item>
</channel>
</rss>
