Back to the month index |
Back to the list index
|
Simon Kershaw (Simon.Kershaw@Smallworld.co.uk)
Fri, 11 Apr 97 17:05:28 BST
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
- Next message: sbleung3@se.cuhk.edu.hk: "[mSQL] Problem on Mini-SQL API !!"
- Previous message: sbleung3@se.cuhk.edu.hk: "[mSQL] Problem encountered on MSQL API !"
Date: Fri, 11 Apr 97 17:05:28 BST From: Simon Kershaw <Simon.Kershaw@Smallworld.co.uk> Message-Id: <9704111605.AA14401@fowey.Smallworld.co.uk> Subject: Re: [mSQL] After a look to w3-mswl, and auth.c source...RHS Linux User [what's your real name?] writes:
> I had my first look to w3-msql and w3-auth. First the code is quite readble :)
> so read it :P
>
> The things I've discovered:
>
> in auth.c *that contains the procedures called from w3-msql to
> check authorization* there's first a check againt a .w3-auth file.... mmm
> I've tried to put it in cgi-bin and docs directory, but w3-msql still not ask
> me any auth :) So, where have I to put this file? :) *I'm not a C genius..*
The lines immediately before the call to checkAuth in w3-msql.c are a
chdir to the directory containing the source of the script (well,
that's what the comments says anyway!) Try putting in a printf to
print out that directory name so you can see where w3-msql thinks it's
going.
> The next try I would likr to do is to delete the two lines that perform the
> chek on the existence of the .w3-auth file, to see what happen.
Good idea!
-- Simon Kershaw Simon.Kershaw@Smallworld.co.uk (work) Cambridge Not speaking sjk@kershaw.demon.co.uk (home) England for Smallworld http://www.kershaw.demon.co.uk -------------------------------------------------------------------------- To remove yourself from the Mini SQL mailing list send a message containing "unsubscribe" to "unsubscribe" to msql-list-request@bunyip.com. Send a message containing "info msql-list" to majordomo@bunyip.com for info on monthly archives of the list. For more help, mail owner-msql-list@bunyip.com NOT the msql-list!
- Next message: sbleung3@se.cuhk.edu.hk: "[mSQL] Problem on Mini-SQL API !!"
- Previous message: sbleung3@se.cuhk.edu.hk: "[mSQL] Problem encountered on MSQL API !"