Hi Qaisar,
If your project has to be connected to the web, there are several appropriate options that may require less work. To simply get an AIML set loaded and hosted, there are user friendly options like botlibre pandorabots where you can get a web connected bot online in 10 minutes.
If you want more flexibility and control and are prepared to administer your own server you can host your own interpreter. I would highly recommend Program-O. It has a nice GUI web interface that is fully featured and uses a setup script that a child could use. Program-O is written in PHP and uses MySQL.
If there is a good reason to stick with PyAiml, and you might want to consider that carefully, and you need to roll your Python based server then consider using Flask.
Good luck, let us know how you get on/got on - sorry for the late response.