Re: [cgiwrap-users] cleaner SCRIPT_NAME from REDIRECT_URL
Brought to you by:
nneul
From: san <san...@co...> - 2002-09-20 15:14:23
|
nneul wrote: > Please check the cvs version to see if it does what you prefer. > > -- Nathan The cvs version does *exactly* the same as the 3.7 version. > > 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. > > > > 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. > > > > OLD WAY: /~user/script.cgi -> /cgi-bin/cgiwrap/user/script.cgi > > PATCHED: /~user/script.cgi -> /~user/script.cgi > > > > This is accomplished by the use of the (NON-STANDARD) REDIRECT_URL > > variable when set. > > > > The patch can be found here: > > http://cobalt.rmnet.it/~san/cgiwrap/cgiwrap-3.7-redirecturl.patch > > > > --san; > > > > > > > > ------------------------------------------------------- > > 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 > -- > > ------------------------------------------------------------ > Nathan Neulinger EMail: nn...@um... > University of Missouri - Rolla Phone: (573) 341-4841 > Computing Services Fax: (573) 341-4216 |