RE: [cgiwrap-users] cleaner SCRIPT_NAME from REDIRECT_URL
Brought to you by:
nneul
From: Neulinger, N. <nn...@um...> - 2002-09-20 15:30:44
|
Oh, I was confused, thought this was like the path_translated issue. This looks reasonable to me. I've applied it with minor style changes.=20 -- Nathan ------------------------------------------------------------ Nathan Neulinger EMail: nn...@um... University of Missouri - Rolla Phone: (573) 341-4841 Computing Services Fax: (573) 341-4216 > -----Original Message----- > From: san [mailto:san...@co...]=20 > Sent: Friday, September 20, 2002 10:14 AM > To: Neulinger, Nathan > Cc: cgi...@li... > Subject: Re: [cgiwrap-users] cleaner SCRIPT_NAME from REDIRECT_URL >=20 >=20 > nneul wrote: > > Please check the cvs version to see if it does what you prefer. > >=20 > > -- Nathan >=20 > The cvs version does *exactly* the same as the 3.7 version.=20 >=20 > >=20 > > On Fri, 2002-09-20 at 06:05, san wrote: > > > For redirect-based setups I made a patch to ciwrap-3.7 > > > so to have a cleaner SCRIPT_NAME.=20 > > >=20 > > > Right now it is always constructed using apache setted SCRIPT_NAME > > > (tipically /cgi-bin/cgiwrap) and appending to it the username and > > > the script relative path. This brings to a working but unclean url > > > because in cases in which redirection takes place it would be > > > better to have a yet-to-redirect SCRIPT_NAME. > > >=20 > > > OLD WAY: /~user/script.cgi -> /cgi-bin/cgiwrap/user/script.cgi > > > PATCHED: /~user/script.cgi -> /~user/script.cgi > > >=20 > > > This is accomplished by the use of the (NON-STANDARD) REDIRECT_URL > > > variable when set. > > >=20 > > > The patch can be found here: > > > http://cobalt.rmnet.it/~san/cgiwrap/cgiwrap-3.7-redirecturl.patch > > >=20 > > > --san; > > >=20 > > >=20 > > >=20 > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > cgiwrap-users mailing list > > > cgi...@li... > > > https://lists.sourceforge.net/lists/listinfo/cgiwrap-users > > --=20 > >=20 > > ------------------------------------------------------------ > > Nathan Neulinger EMail: nn...@um... > > University of Missouri - Rolla Phone: (573) 341-4841 > > Computing Services Fax: (573) 341-4216 >=20 |