python - create a server to listen on a specific port. -


i want create website django hosted on apache. want server keep listening on port , if data comes on port process it. processing , website part doable me have no idea how make server listing port , forward data python code. how done ? can give me tutorial or pointer.
thank you.

you have use virtualhost directive of apache.

<virtualhost *:8080>     servername www.example.com     wsgiscriptalias / /path/to/script.wsgi      <location /my/location>     ...     </location> </virtualhost> 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -