Mailing List Archive



Back to the month index Back to the list index

john barbour (soporte@red-sol.conicyt.cl)
Wed, 26 Nov 1997 17:19:09 -0400


Message-Id: <3.0.1.32.19971126171909.0069edf4@red-sol.conicyt.cl>
Date: Wed, 26 Nov 1997 17:19:09 -0400
From: john barbour <soporte@red-sol.conicyt.cl>
Subject: Re: mod_auth_msql compile problems

Dirk:

Well, yes the test you suggested:

> gcc -o httpd *.o XXX/lib/libmsq.a

... worked, but the compile still fails at the same place.

What I don't understand is *why* it is failing, since we have proven the
linking to the libraries be OK.

Last night I even tried it with the older msql 2.0, same thing. And with
Apache 1.2.3 - same thing.

I hate to bother you, but I'd really like to know *what is failing* at this
point in the compile:

> mod_auth.o m
> od_auth_msql.o mod_browser.o regex/libregex.a
> mod_auth_msql.o: In function `do_msql_query':
> mod_auth_msql.o(.text+0x1b5): undefined reference to `msqlConnect'
> mod_auth_msql.o(.text+0x1c7): undefined reference to `msqlErrMsg'
> mod_auth_msql.o(.text+0x20e): undefined reference to `msqlSelectDB'
> mod_auth_msql.o(.text+0x21b): undefined reference to `msqlErrMsg'

libregex.a and libmsql.a are there in /usr/local/Hughes/lib (linked in) and
msql.h is also linked - it finds these files OK but still spits out this
error.

I hope this is vaguely interesting for you and I'm not just being a pain in
the neck...

john barbour
From mcquiggi@sfu.ca Wed Nov 26 15:25:36 1997
Received: from mocha.bunyip.com (mocha.Bunyip.Com [192.197.208.1])
        by services.bunyip.com (8.8.5/8.8.5) with ESMTP id PAA25176
        for <msql-list@services.bunyip.com>; Wed, 26 Nov 1997 15:25:35 -0500 (EST)
Received: from rm-rstar.sfu.ca (rm-rstar.sfu.ca [142.58.120.21])
        by mocha.bunyip.com (8.8.5/8.8.5) with ESMTP id PAA20384
        for <msql-list@Bunyip.Com>; Wed, 26 Nov 1997 15:25:31 -0500 (EST)
Received: from gumby.rfnet.sfu.ca (rs17-annex2.sfu.ca [142.58.122.17]) by rm-rstar.sfu.ca (8.8.7/SFU-3.0H) with SMTP
  id MAA27030 for <msql-list@Bunyip.Com> (from mcquiggi@sfu.ca); Wed, 26 Nov 1997 12:24:52 -0800 (PST)
Message-Id: <3.0.1.32.19971126122452.03095ef8@ferrari.sfu.ca>
X-Sender: mcquiggi@ferrari.sfu.ca
X-Mailer: Windows Eudora Light Version 3.0.1 (32)
Date: Wed, 26 Nov 1997 12:24:52 -0800
To: msql-list@Bunyip.Com
From: Kevin McQuiggin <mcquiggi@sfu.ca>
Subject: Simple Question, Apache and mSQL
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"

Hi All:

Here's a question that is alluded to in the FAQ, but not specifically
answered:

I run Apache as my web server, under FreeBSD. Both are current versions.

How must I modify my srm.conf file to allow files of type ".msql" to be
automatically parsed by /usr/local/www/cgi-bin/w3-msql ?

I gather from an extensive reading of the docs and FAQ that the AddHandler,
AddType, and Action directives (or some combo) are the way to do this. But
several combinations, e.g.

AddHandler w3-msql .msql
Action w3-msql /usr/local/www/cgi-bin/w3-msql

etc. have all proven unsuccessful.

followed by a save of srm.conf, and a kill -HUP to reload the new config,
have not worked. The .msql files come up in plain text.

I also tried searching some news archives with no luck.

Any ideas?

Thanks,

Kevin

---
Kevin McQuiggin VE7ZD
mcquiggi@sfu.ca
From matheny@usf.edu  Wed Nov 26 16:27:47 1997
Received: from curiac.acomp.usf.edu (curiac.acomp.usf.edu [131.247.100.5])
	by services.bunyip.com (8.8.5/8.8.5) with ESMTP id QAA26263
	for <msql-list@services.bunyip.com>; Wed, 26 Nov 1997 16:27:45 -0500 (EST)
Received: from localhost (Received: from localhost (matheny@localhost) by curiac.acomp.usf.edu (8.8.5/8.6.5) with SMTP id QAA23960 for <msql-list@services.bunyip.com>; Wed, 26 Nov 1997 16:25:32 -0500 (EST)
X-Authentication-Warning: curiac.acomp.usf.edu: matheny owned process doing -bs
Date: Wed, 26 Nov 1997 16:25:31 -0500 (EST)
From: Art Matheny <matheny@usf.edu>
X-Sender: X-Sender: matheny@curiac
To: Multiple recipients of list <msql-list@services.bunyip.com>
Subject: Re: w3-auth authorization failed for newbie
In-Reply-To: <Pine.GSO.3.96.971125170313.21565C-100000@curiac>
Message-ID: <Pine.GSO.3.96.971126154014.23926A-100000@curiac>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Tue, 25 Nov 1997, Art Matheny wrote:

> After doing what it says in the manual (see details below) I open > /cgi-bin/w3-auth in my Netscape browser. The "Netscape: Password" window > pops up with the prompt, "Enter username for 'W3 Auth' at > data.acomp.usf.edu". I enter the super user's username and password, > "matheny" for the User ID input and "please" for the Password input and > click on OK. The result is always a box that says "Authorization failed".

After studying the problem further, it is clear that w3-auth is not receiving the HTTP_AUTHORIZATION environmental variable from our Netscape HTTP server. The Apache server patch, apache_1.2.1.patch, clearly is intended to fix the same problem. I was under the impression that only Apache HTTP servers exhibited this problem, but I can report that it affects Netscape servers also.

(Thus ends my adventure with w3-auth.)

------------------------------- details ------------------------------ OS: Solaris 2.6 Netscape HTTP Server version: "Communications Server"

--
-- Art Matheny          LIB 612       813-974-1795      FAX: 813-974-1799
-- Academic Computing   University of South Florida     Tampa, FL 33620
-- matheny@usf.edu      http://curiac.acomp.usf.edu/nic/