I'm very new in web servers and stuff but I have certain knowledge in Python, is it possible to use it as cgi, such as php? I know that python has a cgi module.
ps: I'm using apache2 in a debian server.
closed as off topic by Indrek, Canadian Luke, Nifle, 8088, Olli Aug 28 '12 at 9:53
Questions on Super User are expected to relate to computer software or computer hardware within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.
Sure, there are many ways of serving python applications via apache2.
you can use python via mod_python :
or if your app is written in any of python frameworks (flask,bottle,django), you can just configure frameworks webserver and point apache2 to it's socket/port and act as a proxy.