Page 1 of 1

phyton

PostPosted: 15. April 2006 22:42
by tok
hallo,
habe probleme das phyton addon richtig zu konfigurieren.

ich möchte nicht für jedes *.py-seite einen eigenen handler in
die httpd.conf eintragen, deshalb wollte ich mir
so weiterhelfen:

Code: Select all
LoadFile "d:/Programme/xampp/python/python23.dll"
LoadModule python_module "d:/Programme/xampp/python/mod_python.so"

<Directory "d:/Programme/xampp/htdocs/python/">
   AddHandler mod_python .py
 
   <Files *.py>
        PythonPath "['d:/Programme/xampp/htdocs/python/'] + sys.path"
   </Files>

   PythonHandler mod_python.publisher
   PythonDebug On
</Directory>


laut
http://community.apachefriends.org/f/viewtopic.php?t=6890

funktioniert es so.
leider bekomm ich jetzt immer den error code "ERROR 404"
beim aufruf einer py-seite.

kann mir da jmd weitehelfen?

vielen dnak und grüße
tim

[/quote]