[Tutor] possible to run a python script from non-cgi?

Tim Johnson tim at johnsons-web.com
Sat Oct 30 21:32:12 CEST 2010


FYI: I am working in a linux environment with python 2.6.5
am an experienced web developer with 8 years in python, but
:) I have never tried this trick before:

I note that with the right .htaccess file, I can run a php file,
from a non-cgi location.
Example: On my machine, my wwwroot is at /home/http/, I have
/home/http/php/test/index.php and I have run index.php as
http://localhost/php/test/ (again with the correct .hataccess).

Is it possible to run a python script this way?

thanks
tj
-- 
Tim 
tim at johnsons-web.com or akwebsoft.com
http://www.akwebsoft.com


More information about the Tutor mailing list