Hello,
I am new to Apache, and I am trying to use it to execute a python script for every page that hits my server (with the right extension).
I want to use a custom python script, and the built in cgi capabilities of Apache 1.3.27. Do I need two handlers?
Here is what I have now (or a close approximation):
AddHandler my-script .py
Action my-script /path/to/my/script/myscript.py
If I want cgi.py to execute, do I need another handler?
Say: AddHandler cgi-script .py
It seems when I do use cgi-script in a handler, I start
getting 'permission denied' errors, even though
ExecCGI is set for the directory.
Any help is greatly appreciated.
Thank you,
HJ
I am new to Apache, and I am trying to use it to execute a python script for every page that hits my server (with the right extension).
I want to use a custom python script, and the built in cgi capabilities of Apache 1.3.27. Do I need two handlers?
Here is what I have now (or a close approximation):
AddHandler my-script .py
Action my-script /path/to/my/script/myscript.py
If I want cgi.py to execute, do I need another handler?
Say: AddHandler cgi-script .py
It seems when I do use cgi-script in a handler, I start
getting 'permission denied' errors, even though
ExecCGI is set for the directory.
Any help is greatly appreciated.
Thank you,
HJ