<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Scott Oertel wrote:
<blockquote cite="mid4318A33B.6080808@scottoertel.info" type="cite">
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
<font face="serif">I'm having an issue with <span class="txt">mod_python.publisher,<br>
<br>
supposedly i should be able to just place this code <br>
<br>
</span><span class="txt">def index():<br>
return "This is only a test."<br>
<br>
into test.py and when placed into my browser it should run the index
function by default, but instead i get a 404 error.<br>
<br>
i'm running </span>Apache/1.3.33 (Unix) mod_python/2.7.11 Python/2.2.3</font><br>
<br>
<br>
<br>
-Scott Oertel<br>
<span class="txt"><font face="courier new, courier, mono"><br>
</font></span>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Tutor maillist - <a class="moz-txt-link-abbreviated" href="mailto:Tutor@python.org">Tutor@python.org</a>
<a class="moz-txt-link-freetext" href="http://mail.python.org/mailman/listinfo/tutor">http://mail.python.org/mailman/listinfo/tutor</a>
</pre>
</blockquote>
Just for fun i decided to upgrade the python version to 2.4.1 <br>
<br>
Apache/1.3.33 (Unix) mod_python/2.7.11 Python/2.4.1 mod_gzip/1.3.26.1a
mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4
FrontPage/5.0.2.2635 mod_ssl/2.8.22 OpenSSL/0.9.7a PHP-CGI/0.1b<br>
<br>
still no luck =(<br>
</body>
</html>