diff options
author | Luke Macken <lmacken@redhat.com> | 2008-01-24 15:23:00 -0500 |
---|---|---|
committer | Luke Macken <lmacken@redhat.com> | 2008-01-24 15:23:00 -0500 |
commit | 355d15f9d450c5997ef74b1fb0fc3745bf2dfe35 (patch) | |
tree | 824a4c121efa2e4e63dee3caefa2feb7dffb81f5 /funcweb/sample-prod.cfg | |
parent | df4da5b1811b108b22cf6a4cab5e2fe5d75ef806 (diff) | |
download | third_party-func-355d15f9d450c5997ef74b1fb0fc3745bf2dfe35.tar.gz third_party-func-355d15f9d450c5997ef74b1fb0fc3745bf2dfe35.tar.xz third_party-func-355d15f9d450c5997ef74b1fb0fc3745bf2dfe35.zip |
Only allow localhost and authenticated users access to funcweb. This entails,
- Utilizing the TurboGears identity framework
- Creating our identity model using SQLAlchemy+Elixir
Diffstat (limited to 'funcweb/sample-prod.cfg')
-rw-r--r-- | funcweb/sample-prod.cfg | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/funcweb/sample-prod.cfg b/funcweb/sample-prod.cfg index 6ca2b4e..7f6cc6e 100644 --- a/funcweb/sample-prod.cfg +++ b/funcweb/sample-prod.cfg @@ -8,23 +8,16 @@ # DATABASE +# driver://username:password@host:port/database + # pick the form for your database -# sqlobject.dburi="postgres://username@hostname/databasename" -# sqlobject.dburi="mysql://username:password@hostname:port/databasename" -# sqlobject.dburi="sqlite:///file_name_and_path" +# sqlalchemy.dburi="postgres://username@hostname/databasename" +# sqlalchemy.dburi="mysql://username:password@hostname:port/databasename" +# sqlalchemy.dburi="sqlite:///file_name_and_path" # If you have sqlite, here's a simple default to get you started # in development -sqlobject.dburi="sqlite://%(current_dir_uri)s/devdata.sqlite" - - -# if you are using a database or table type without transactions -# (MySQL default, for example), you should turn off transactions -# by prepending notrans_ on the uri -# sqlobject.dburi="notrans_mysql://username:password@hostname:port/databasename" - -# for Windows users, sqlite URIs look like: -# sqlobject.dburi="sqlite:///drive_letter:/path/to/file" +sqlalchemy.dburi="sqlite:///%(current_dir_uri)s/devdata.sqlite" # SERVER |