Re: [cgiwrap-users] cgiwrap and 404 error
Brought to you by:
nneul
From: Tobia C. <tob...@re...> - 2008-02-01 15:55:18
|
|Yes, break the path_info request. P||ath_info request, ||in apache 1.3.xx version, was delegated completly to the handler |||and in this case i'm assuming that cgiwrap so wrong to handle the path_info request. I think that the other way is to make patch on cgiwrap for return http 404 response code on not file/dir exists. Neulinger, Nathan ha scritto > Does this break requests using PATH_INFO? > > > ------------------------------------------------------------ > Nathan Neulinger nn...@ms... > Missouri S&T Information Technology (573) 341-6679 > System Administrator - Principal > > > >> -----Original Message----- >> From: cgi...@li... [mailto:cgiwrap- >> use...@li...] On Behalf Of Tobia Caneschi >> Sent: Friday, February 01, 2008 9:01 AM >> To: WSO Support; cgi...@li... >> Subject: Re: [cgiwrap-users] cgiwrap and 404 error >> >> The rewrite lines is: >> >> RewriteEngine On >> ..... >> RewriteCond %{REQUEST_FILENAME} !-f >> RewriteCond %{REQUEST_FILENAME} !-d >> RewriteRule ^$ /notexists.html [R=404,L] >> >> The file "notexists.html" realy not exists and even more the file >> extensions isn't in cgi-wrapper handler... ;) >> >> http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html#RewriteRule >> >> Tobia >> >> WSO Support ha scritto: >> >>> Tobia, >>> >>> I'm using Apache 1.3.3x (various sub versions). >>> >>> AddHandler cgi-wrapper .cgi .php .pl >>> Action cgi-wrapper /cgi-bin/cgiwrap/USERNAME/www/ >>> >>> That's the basics.... If you show me your rewrite I can probably >>> >> reverse engineer it to my specific situation. I really appreciate >> the help, thank you. :) >> >>> >>> >>> >>> At 05:40 PM 1/30/2008, you wrote: >>> >>> >>> >>>> Post your apache configuration and version for cgiwrap >>>> >> executions, i >> >>>> solved the same problems >>>> with apache mod_rewrite. >>>> >>>> Tobia >>>> >>>> WSO Support ha scritto: >>>> >>>> >>>>> Thanks for the quick response Nathan... >>>>> >>>>> >>>>> >>>>> >>>>>> At 04:31 PM 1/30/2008, Neulinger, Nathan wrote: >>>>>> Unfortunately, I don't know of any way around that... From the >>>>>> perspective of apache, "cgiwrap" is the cgi script being >>>>>> >> executed, and >> >>>>>> will always exist. >>>>>> >>>>>> >>>>>> >>>>> Really? I was sure this couldn't be correct behavior. Anybody >>>>> >> know of a work around? >> >>>>> Probably some fancy mod_rewrite command could do it, but I've >>>>> >> been poking around trying >> >>>>> to figure something out for the last few hours and got nothing >>>>> >> unfortunately... >> >>>>> WSO >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> >>>>>> -- Nathan >>>>>> >>>>>> ------------------------------------------------------------ >>>>>> Nathan Neulinger nn...@ms... >>>>>> Missouri S&T Information Technology (573) 341-6679 >>>>>> System Administrator - Principal >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>> -----Original Message----- >>>>>>> From: cgi...@li... >>>>>>> >> [mailto:cgiwrap- >> >>>>>>> use...@li...] On Behalf Of WSO Support >>>>>>> Sent: Wednesday, January 30, 2008 2:18 PM >>>>>>> To: cgi...@li... >>>>>>> Subject: [cgiwrap-users] cgiwrap and 404 error >>>>>>> >>>>>>> I'm using what I think is a pretty standard implementation of >>>>>>> cgiwrap using the AddHandler and Action method. But when I >>>>>>> >> call a >> >>>>>>> non-existant cgi file I don't get a standard 404 error, I get >>>>>>> "CGIWrap Error: Execution of this script not permitted" and >>>>>>> >> below >> >>>>>>> that a "CGIWrap Error: Request Error". >>>>>>> >>>>>>> What have I don't wrong? If a file is completely non-existent >>>>>>> >> on >> >>>>>>> the web server, why does cgiwrap still try to do something >>>>>>> >> with it? >> >>>>>>> Does it have something to do with where I placed CGIwrap in >>>>>>> >> my >> >>>>>>> Apache build string? >>>>>>> >>>>>>> If there is more info that would help, please let me know and >>>>>>> >> I'll >> >>>>>>> provide it, of course. >>>>>>> >>>>>>> Any ideas or suggestions would be great, thank you! >>>>>>> >>>>>>> WSO >>>>>>> >>>>>>> >>>>>>> ------------------------------------------------------------- >>>>>>> >> ------ >> >>>>>>> ------ >>>>>>> This SF.net email is sponsored by: Microsoft >>>>>>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>>>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>>>>> _______________________________________________ >>>>>>> cgiwrap-users mailing list >>>>>>> cgi...@li... >>>>>>> https://lists.sourceforge.net/lists/listinfo/cgiwrap-users >>>>>>> >>>>>>> >>>>>>> >>>>> --------------------------------------------------------------- >>>>> >> ---------- >> >>>>> This SF.net email is sponsored by: Microsoft >>>>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>>> _______________________________________________ >>>>> cgiwrap-users mailing list >>>>> cgi...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/cgiwrap-users >>>>> >>>>> >>>>> >>>>> >>>> ---------------------------------------------------------------- >>>> >> --------- >> >>>> This SF.net email is sponsored by: Microsoft >>>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>> _______________________________________________ >>>> cgiwrap-users mailing list >>>> cgi...@li... >>>> https://lists.sourceforge.net/lists/listinfo/cgiwrap-users >>>> >>>> >>> ----------------------------------------------------------------- >>> >> -------- >> >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> cgiwrap-users mailing list >>> cgi...@li... >>> https://lists.sourceforge.net/lists/listinfo/cgiwrap-users >>> >>> >>> >> ------------------------------------------------------------------- >> ------ >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> cgiwrap-users mailing list >> cgi...@li... >> https://lists.sourceforge.net/lists/listinfo/cgiwrap-users >> > > |