Skip to content

Instantly share code, notes, and snippets.

@baijum
Created January 21, 2011 04:59
Show Gist options
  • Save baijum/789263 to your computer and use it in GitHub Desktop.
Save baijum/789263 to your computer and use it in GitHub Desktop.
import sys
sys.path.append(r"C:\webp")
from hello import app as application
from flask import Flask
app = Flask(__name__)
@app.route("/")
def hello():
return "Hello World!"
if __name__ == "__main__":
app.run()
<VirtualHost *>
ServerName example.com
WSGIScriptAlias / "C:\webp\app.wsgi"
<Directory "C:\webp">
Order deny,allow
Allow from all
</Directory>
</VirtualHost>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment