MiniVend Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: URL construction problem?



On Wed, 21 Jul 1999, Frank Miedreich wrote:

> Check catalog.cfg if the Variable CGI_URL is "/cgi-bin/pgsql_prod.cgi"
> (possibly "/pgsql_prod.cgi" in your case), it should not start with "http:"
> (it is no URL, it is a URI as far as I understand the acronyms)

Okay, this one I've fixed from my attempt at doing a second
catalogue...mis-read the prompts and originally saw the example, vs read
what it was asking for...

> Check minivend.cfg whether the catalog definition reasonably matches the
> example for simple.

This question lost me...as far as I can tell, there is no 'minivend.cfg'
as pertains to simple...or is this where I'm screwing something up?  My
understanding, from the docs, was that for each catalog you create, a
'catalog.cfg' file is created, while there is a single 'minivend.cfg
master' for all catalogs...

If it would help, I'm willing to start this all from scratch again, using
'script' to record everything I do, and make that available...I swear it
has to be something both obvious and stupid that I'm missing :(

> ======== snip =========
> 
> and call with:
> 
> http://www.pgsql.com/cgi-bin/environment.cgi/test?param
> 
> in the display you should have:
> 
> PATH_INFO	/test
> QUERY_STRING	param
> REQUEST_URI     /cgi-bin/environment.cgi/test?param
> SCRIPT_NAME	/cgi-bin/environment.cgi
> 
> If any of these are set to different values, you may need to check your
> server configs. In your case the SCRIPT_NAME may be set wrong, this
> happened to me when one of my providers upgraded to apache 1.3.6.

You can take a look at it yourself (http://www.pgsql.com/test.cgi?param),
but I don't get a PATH_INFO, but SCRIPT_NAME looks okay...

What I've, to date, omitted, is to state that I'm running this under
Apache 1.3.3, Perl 5.005_03 and FreeBSD 3.2-STABLE ...

I'm going to wipe it all out and re-start from scratch and see whether I
come up with the same problems...I'll post new once that is complete,
assuming the second attempt fails...with more info...

Thanks for your patience...

Marc G. Fournier                   ICQ#7615664               IRC Nick: Scrappy
Systems Administrator @ hub.org 
primary: scrappy@hub.org           secondary: scrappy@{freebsd|postgresql}.org 



Search for: Match: Format: Sort by: