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.
Questions on Super User are expected to relate to computer software or computer hardware within the scope defined in the FAQ. 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 closed questions here.
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.