[ic] Undefined catalog error on RAQ3

Shozo Murahashi ayayu.com murahashi@ayayu.com
Tue, 27 Feb 2001 16:29:03 +0900


Mike, Thank you very much for your responding.

I can run your test-cgi and got output below now.
Could you please review this and let me know what's wrong?

Best  regards,

S.Murahashi

http://www.outdoor-w.com/users/main/cgibin/test-cgi.cgi



CGI/1.0 test script report:

argc is 0. argv is .

SERVER_SOFTWARE = Apache/1.3.6 (Unix) mod_perl/1.21 mod_ssl/2.2.8
OpenSSL/0.9.2b
SERVER_PROTOCOL = HTTP/1.1
SERVER_NAME = www.outdoor-w.com
SERVER_PORT = 80
HTTP_FROM =
HTTP_REFERRER =
HTTP_ACCEPT = image/gif, image/x-xbitmap, image/jpeg, image/pjpeg,
application/vnd.ms-excel, application/msword, application/vnd.ms-powerpoint,
*/*
HTTP_USER_AGENT = Mozilla/4.0 (compatible; MSIE 5.0; Windows 98; DigExt)

PATH = /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin
GATEWAY_INTERFACE = CGI/1.1
REQUEST_METHOD = GET
PATH_INFO = /main/cgibin/test-cgi.cgi
PATH_TRANSLATED = /home/sites/home/users/main/web/cgibin/test-cgi.cgi
SCRIPT_NAME = /main/cgibin/test-cgi.cgi
QUERY_STRING =
REMOTE_HOST =
REMOTE_ADDR = 4.54.168.106
REMOTE_USER =
REMOTE_IDENT =
AUTH_TYPE =
CONTENT_TYPE =
CONTENT_LENGTH =


----- Original Message -----
'-MZ : Mike Heins <mikeh@minivend.com>
^ : <interchange-users@lists.akopia.com>
'-M"Zz : 2001"N2OZ26" 3:45
O- : Re: [ic] Undefined catalog error on RAQ3


> Quoting Shozo Murahashi (murahashi@ayayu.com):
> > In error.log below, I think the path is incorrect.
> >
> > /main/cgibin/outdoor-w.cgi/index.html/main/cgibin/outdoor-w.cgi/index.ht
> > ml
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > The above part should be removed. How can I do to remove this?
> > /main/cgibin/outdoor-w.cgi/in
> > dex.html/main/cgibin/outdoor-w.cgi/index.html Undefined catalog:
> > /main/cgibin/ou
> > tdoor-w.cgi/index.html
> > 211.124.191.118 - - [25/2/2001:10:26:23 +0900] -
> > /main/cgibin/outdoor-w.cgi/ab
> > outus.html/main/cgibin/outdoor-w.cgi/aboutus.html Undefined catalog:
> > /main/cgibi
> > n/outdoor-w.cgi/aboutus.html
> >
> >
> > My makecat session is as follows. Interchange server is running now.
> >
> > Catalog name? outdoor-w
> > Enter path to httpd.conf file: /etc/admserv/conf/httpd.conf
> > Server name? www.outdoor-w.com
> > DemoType? construct
> > MailOrderTo? main
> > CatRoot? /home/sites/home/users/main/catalogs/outdoor-w
> > CgiDir? /home/sites/home/users/main/web/cgibin
> > CgiUrl? /users/main/cgibin/outdoor-w.cgi
> > Aliases? /outdoor-w
> > DocumentRoot? /home/sites/home/users/main/web
> > SampleHtml? /home/sites/home/users/main/web/outdoor-w
> > ImageDir? /home/sites/home/users/main/web/outdoor-w/images
> > ImageUrl? /users/main/outdoor-w/images
> > INET or UNIX mode? UNIX
> > Do you use CGIWRAP or SUEXEC? y
>
> This looks like the server is mangling the PATH_INFO and SCRIPT_NAME,
> which particularly happens on Cobalt systems.
>
> > CgiUrl? /users/main/cgibin/outdoor-w.cgi
>
> looks wrong. But I cannot tell. It looks like there is a very strange
> web server setup. It is just a question of getting SCRIPT_NAME and
> PATH_INFO right -- you might experiment with the attached test-cgi
> script.
>
> --
> Red Hat, Inc., 131 Willow Lane, Floor 2, Oxford, OH  45056
> phone +1.513.523.7621 fax 7501 <mheins@redhat.com>
>
> Fast, reliable, cheap.  Pick two and we'll talk.  -- unknown
>