Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: About PATH_INFO and SSI

by mellin (Scribe)
on Dec 07, 2004 at 10:14 UTC ( [id://412872]=note: print w/replies, xml ) Need Help??


in reply to Re: About PATH_INFO and SSI
in thread About PATH_INFO and SSI

I know now why it did not work, 'cause in the middle of the night i just tried one thing, and now the site works.

It is like this now in the .shtml files:

<!--#set var="path_info" value="${PATH_INFO}"--> <!--#include virtual="/cgi-bin/index.pl$path_info"-->


As you see, i had to use SSI-variable to pass that PATH_INFO to the CGI-script. There was no problem with Perl, but what i read at night, Apache will not for some reason pass PATH_INFO and QUERY STRING with GET-method to SSI-included file, but you can get away like this.

I figured this out with luck, phuuh!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://412872]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-18 22:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found