Die Suche ergab 4 Treffer

von gleez
Sonntag 21. Mai 2006, 10:57
Forum: Netzwerkprogrammierung
Thema: modpython - publisherhandler - addhandler/sethandler?
Antworten: 9
Zugriffe: 2544

Besten Dank. Ich seh mich mal um.
von gleez
Samstag 20. Mai 2006, 16:13
Forum: Netzwerkprogrammierung
Thema: modpython - publisherhandler - addhandler/sethandler?
Antworten: 9
Zugriffe: 2544

Was sollte man denn benutzen?
von gleez
Freitag 19. Mai 2006, 10:04
Forum: Netzwerkprogrammierung
Thema: modpython - publisherhandler - addhandler/sethandler?
Antworten: 9
Zugriffe: 2544

Bei SetHandler:

Mod_python error: "PythonHandler mod_python.publisher"

Traceback (most recent call last):

File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 299, in HandlerDispatch
result = object(req)

File "/usr/lib/python2.3/site-packages/mod_python/publisher.py", line 98 ...
von gleez
Donnerstag 18. Mai 2006, 19:29
Forum: Netzwerkprogrammierung
Thema: modpython - publisherhandler - addhandler/sethandler?
Antworten: 9
Zugriffe: 2544

modpython - publisherhandler - addhandler/sethandler?

Hallo erst mal...

Mir stellt sich folgendes Problem:
Ich habe eine index.py datei im ~/www/ verzeichnis die etwa so aussieht:

def index(req):
return 'hallo index<img src="img/index.jpg">'

def other(req):
return 'hallo other<img src="img/other.jpg">'


Wenn nun ich Apache mit folgenden ...