Skip to content

Instantly share code, notes, and snippets.

@sideshowbarker
Created September 23, 2013 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sideshowbarker/6672919 to your computer and use it in GitHub Desktop.
Save sideshowbarker/6672919 to your computer and use it in GitHub Desktop.
<IfModule python_module>
#LogLevel debug
#PythonDebug On
AddHandler mod_python .py
PythonHandler mod_python.publisher
PythonOption mod_pywebsocket.handler_root /var/www
PythonOption mod_pywebsocket.handler_scan /var/www/ws
#PythonOption mod_pywebsocket.allow_draft75 On
<Location /ws>
PythonHeaderParserHandler mod_pywebsocket.headerparserhandler
</Location>
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment