I have this same code which I have mentioned in this question of mine. Now I have hosted the same web.py app on Apache. But when I start Apache the code inside if __name__ == "__main__":
is not executed.
Is it possible to run backgroud process(check the other question for the code) when hosted in Apache?
Why does the code inside if __name__ == "__main__":
is not executed?
This is working well when web.py is run without Apache.