<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
<title></title>
</head>
<body>
Gregory (Grisha) Trubetskoy wrote:<br>
<blockquote type="cite" cite="mid20031002144016.X57929@onyx.ispol.com">
<pre wrap="">
On Thu, 2 Oct 2003, Nikolay Alexiev wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I'm using PublisherHandler for my project. This is my .htaccess file
AddHandler python-program .py
SetHandler python-program
</pre>
</blockquote>
<pre wrap=""><!---->
You don't need both AddHandler and SetHandler, SetHandler alone will cover
every type of file.
</pre>
<blockquote type="cite">
<pre wrap=""> PythonHandler mod_python.publisher
PythonDebug On
But now I can't load pictures from this folder and from its subfolder. Can I
do something or the only way is to move images in a folder that is a level
above?
</pre>
</blockquote>
<pre wrap=""><!---->
You can create a subdirectory and add "SetHandler None" which reverses
previous SetHandler's:
<a class="moz-txt-link-freetext" href="http://httpd.apache.org/docs-2.0/mod/core.html#sethandler">http://httpd.apache.org/docs-2.0/mod/core.html#sethandler</a>
HTH,
Grisha
_______________________________________________
Mod_python mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Mod_python@modpython.org">Mod_python@modpython.org</a>
<a class="moz-txt-link-freetext" href="http://mailman.modpython.org/mailman/listinfo/mod_python">http://mailman.modpython.org/mailman/listinfo/mod_python</a>
</pre>
</blockquote>
Shouldn't he just remove the SetHandler line?<br>
<br>
<br>
mike<br>
</body>
</html>