The Toolkit for Online Communities
18164 Community Members, 1 member online, 1803 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Q&A : ad_conn path_info ? : One Message

Forum OpenACS Q&A: Re: ad_conn path_info ?

2: Re: ad_conn path_info ? (response to 1)
Posted by Randy O'Meara on
It returns that portion of the file path that corresponds to the portion of the URL that comes after the location of the .vuh file. That's pretty muddy, huh? An example?

Your package is mounted in the site map at /yourPackage. You have a file /packages/yourPackage/www/index.vuh, and you do not have an index.{tcl,adp,html} at that location since the RP would serve them up before finding index.vuh.

If your index.vuh were to log path_info on the following requests, it would appear:

http://host/yourPackage/                 (path_info="")
http://host/yourPackage/admin/page?id=1  (path_info="/admin/page")

3: Re: ad_conn path_info ? (response to 2)
Posted by Randy O'Meara on
4: Re: ad_conn path_info ? (response to 3)
Posted by tammy m on

that looks new . things i could use just keep getting added. guess i should look at the HEAD docs too;)

randy, what would i do without you?!
thanks again.