MiniVend Akopia Services

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

Re: (OT:)



Hi Balu -

> http://localhost/cgi-bin/ch-frames/order/order-frames
> 
> I always thought the Webserver would look for a file called order-frames
> in the subdir order, but it calls ch-frames and sends the rest as
> argument? 

The web server will find the executable file, and the rest of the URL (up
to but not including a "?") is stored into an environment variable called
PATH_INFO.  If there is a "?" in the URL, anything after that is put into
an environment variable called QUERY_STRING. 

For example, for:
   http://localhost/cgi-bin/ch-frames/order/order-frames?ABCDEFG;;192

SCRIPT_URI   = http://localhost/cgi-bin/ch-frames
PATH_INFO    = /order/order-frames
QUERY_STRING = ABCDEFG;;192


Larry Leszczynski
larryl@furph.com
--
  furph, Inc.	WWW/Unix/Windows Solutions	734-513-7763 (voice)
info@furph.com	   http://www.furph.com		734-513-7759 (FAX)



Search for: Match: Format: Sort by: