1. ist ist mit dem Modul dann möglich Python-Dateien überall im Dateisystem (also natürlich in den htdocs) direkt anzusprechen (also kein cgi). Habe ich das richtig verstanden?
2. Wenn ich das Modul kompilieren will, läuft configure läuft soweit ohne Fehler:
Code: Alles auswählen
./configure --with-apxs=/usr/local/apache2/bin/apxs
Code: Alles auswählen
mod_python.c:1877: error: parse error before '*' token
mod_python.c: In function `PythonPostReadRequestHandler':
mod_python.c:1881: error: `req' undeclared (first use in this function)
mod_python.c: At top level:
mod_python.c:1888: error: parse error before '*' token
mod_python.c: In function `PythonTransHandler':
mod_python.c:1889: error: `req' undeclared (first use in this function)
mod_python.c: At top level:
mod_python.c:1891: error: parse error before '*' token
mod_python.c: In function `PythonTypeHandler':
mod_python.c:1892: error: `req' undeclared (first use in this function)
apxs:Error: Command failed with rc=65536
.
make[1]: *** [mod_python.so] Fehler 1
make[1]: Leaving directory `/home/bicpi/Documents/mod_python-3.1.4/src'
make: *** [do_dso] Fehler 2
Bin über jede Hilfe dankbar.
Viele Grüße