"Michael D. Schleif" wrote:
>
> "$Bill Luebkert" wrote:
> >
> > "Michael D. Schleif" wrote:
> > >
> > > I am having problems with CGI.pm on a webserver. path_info() and
> > > path_translated() do *not* ``Return[s] additional path information ...''
> > > separate from the calling CGI ?!?!
> >
> > Try this and see what is really in your ENV:
> >
> > #!/usr/bin/perl -w
> >
> > print "Content-Type: text/plain\n\n";
> >
> > foreach (sort keys %ENV) { print "$_=$ENV{$_}\n"; }
> >
> > __END__
> >
> > What server are you using?
>
> DOCUMENT_ROOT=/home/sites/site99/web
> HTTP_HOST=www.myweb.org
> PATH_INFO=/tmp/env.pl
> PATH_TRANSLATED=/home/sites/site99/web/tmp/env.pl
> REDIRECT_SCRIPT_URI=http://www.myweb.org/tmp/env.pl
> REDIRECT_SCRIPT_URL=/tmp/env.pl
> REDIRECT_STATUS=200
> REDIRECT_URL=/tmp/env.pl
> REQUEST_URI=/tmp/env.pl
> SCRIPT_FILENAME=/usr/cgiwrap/cgiwrap
> SCRIPT_NAME=/tmp/env.pl
> SCRIPT_URI=http://www.myweb.org/tmp/env.pl
> SCRIPT_URL=/tmp/env.pl
> SERVER_SOFTWARE=Apache/1.3.12 Cobalt (Unix) mod_ssl/2.6.4 OpenSSL/0.9.5a
> PHP/4.0.1pl2 mod_auth_pam/1.0a FrontPage/4.0.4.3 mod_perl/1.24
Interesting. I have some questions.
Why is there a redirect going on?
As near as I can tell, your PATH_INFO and PATH_TRANSLATED shouldn't
even be defined since there are no args after your script name.
Is there a VirtualHost def in the httpd.conf file for this domain?
If so, maybe you could cut-n-paste it into next post.
There must be something wrong in the Apache setup to my way of thinking.
Any other pertinient info may also help.
--
,-/- __ _ _ $Bill Luebkert ICQ=14439852
(_/ / ) // // DBE Collectibles http://www.wgn.net/~dbe/
/ ) /--< o // // Mailto:[EMAIL PROTECTED] http://dbecoll.webjump.com/
-/-' /___/_<_</_</_ http://www.freeyellow.com/members/dbecoll/
_______________________________________________
Perl-Win32-Web mailing list
[EMAIL PROTECTED]
http://listserv.ActiveState.com/mailman/listinfo/perl-win32-web