I have read that Python can be used for web applications. Yet I wonder how form variables are passed to Python scripts and how to, so to speak, “connect” Python to an Apache server so that it serves dynamic web pages, the same way PHP so easily does. How is this done and is it better than using PHP?
Share
The answer you’re probably looking for is
mod_wsgiwith Apache oruwsgiwith nginx.Using these you can run any application you like.
For example should apache be configured for it
myapp.wsgilooks as follows:(per here: http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide)
This is just about the minimum requirement to return a web page.