[web2py] Re: Deploying Web2py with nginx on FreeBSD

2014-09-14 Thread GregD
Have you tried changing the owner on the nginx location directory that's defined in your nginx.conf flie? Try making it the same owner that's defined in the nginx.conf file, which is typically, web-data. On Wednesday, September 10, 2014 11:03:13 AM UTC-5, myappeng...@gmail.com wrote: > > Hi, e

[web2py] Re: AD LDAP Auth without creating Auth tables

2013-11-11 Thread GregD
Niphlod, Thanks for all your help. We have the app working now. To answer your questions: 1. yes, password and role are reserved words in Firebird 1.5; Not sure about 2.x version though 2. I can see uses for rname down the road. Glad its in the works. 3. We're using Firebird 1.5 because i

[web2py] Re: AD LDAP Auth without creating Auth tables

2013-11-10 Thread GregD
so using passwrd instead What can I do about auth_group.role? Thoughts? On Sunday, November 10, 2013 6:46:33 AM UTC-6, Niphlod wrote: > > Very strange, since fdb is included as an adapter for some time now. I > guess firebird adoption is definitely not widespread. > This should be

[web2py] Re: AD LDAP Auth without creating Auth tables

2013-11-09 Thread GregD
Niphlod, Thanks for the response. I understand it better now. web2py generates this message DatabaseError: ('Error while executing SQL statement:\n- SQLCODE: -607\n- unsuccessful metadata update\n- Column: ID not defined as NOT NULL - cannot be used in PRIMARY KEY constraint definition', -60

[web2py] AD LDAP Auth without creating Auth tables

2013-11-08 Thread GregD
We want to perform AD Auth but Web2Py seems to need to create the Auth Tables OR it want to see existing Auth tables. Our problem is that we're using an older database Firebird 1.5 and can't seem to get Web2Py to recognize Auth tables from that database. Is there a way to do AD Auth without We

[web2py] Installation of Firebird Driver not working

2013-10-18 Thread GregD
I'm trying to install the Firebird Driver FDB but not getting very far. Here's my steps: 1. Install easy_install [OK] run easy_install fdb and get the following error: C:\>easy_install fdb Searching for fdb Reading https://pypi.python.org/simple/fdb/ Best match: fdb 1.4 Downloading https://py

Re: [web2py] Custom Auth

2013-10-09 Thread GregD
. If not, I can elaborate further. Just let me know. On Tuesday, October 8, 2013 4:08:25 PM UTC-5, viniciusban wrote: > > Web2py Auth is a class. > > You should extend it and in models/db.py you should have something like: > auth = MyExtendedAuth() > > > On Tue, Oct 8, 201

[web2py] Custom Auth

2013-10-08 Thread GregD
We created a form in the index controller to authenticate users to a database that utilize asp.net membership for authentication. However, we need to turn on Authentication for all forms now, but can't seem to do it since we didn't use the web2py built-in authentication mechanism. Is it possib

[web2py] Tab Views

2013-09-14 Thread GregD
I'm working with version 2.6.2 and liking tabbed windows. Great way to edit model,view and controller just by clicking the tab for each. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/

[web2py] Re: Help creating RESTful webservice

2013-08-26 Thread GregD
; On Friday, August 23, 2013 8:09:45 PM UTC+2, GregD wrote: >> >> Hi, >> >> We're new to Web2py and starting to use it more and more to meet >> customer's demand for Web Apps. Currently, we need to create a few forms >> to retrieve info from producti

[web2py] Help creating RESTful webservice

2013-08-23 Thread GregD
Hi, We're new to Web2py and starting to use it more and more to meet customer's demand for Web Apps. Currently, we need to create a few forms to retrieve info from production database system. Our environment is as follows: Windows Server 2008 R2 SQL Server 2012 Standard IIS 7.0 We've download

[web2py] crud permissions

2013-08-01 Thread GregD
I've turned on auth and attempting to use crud. when I go to my app http://.../data/create/table_name I get "insufficient privileges" NOT Authorized Access Denied What am I missing? db.py is as follows: from gluon.tools import Auth from gluon.tools import Crud db = DAL('sqlite://storage.sqlit