Re: [cgiwrap-users] a php-cgiwrap method?
Brought to you by:
nneul
From: Jeff B. <soi...@sg...> - 2002-09-13 06:24:47
|
[rant] friggin' eh... why don't you guys ever offer something constructive??? [/rant] with his suggestion you have to compile cgiwrap like this: ./configure \ --with-cgi-dir=public_html \ --with-php=/usr/local/bin/php \ --with-php-cgiwrap [...] right? otherwise you'll have to put the php scripts in the cgi-bin... but when you do... if you declare in your httpd.conf: ScriptAlias /cgi-bin/ /path-to-system-cgi-bin/ AddHandler php-cgiwrap .php Action php-cgiwrap /cgi-bin/php-cgiwrap AddHandler cgiwrap .cgi Action cgiwrap /cgi-bin/cgiwrap then your cgi scripts won't be found if you put them in sub-dirs of your user cgi-bin.. at least i've verified that they don't on mine... if this points to a mis-configuration could you suggest what that might be? or that it is? But, if I compile cgiwrap like: ./configure \ --with-cgi-dir=public_html/cgi-bin \ <--the default --with-php=/usr/local/bin/php \ --with-php-cgiwrap [...] then i have to put the .php scripts in the cgi-bin for them to be wrapped. So if this isn't true what's wrong? If yours is different can you show it? Jeff ----- Original Message ----- From: "Adam Bennett" <ad...@ga...> To: "Jeff Bert" <soi...@sg...> Sent: Tuesday, September 12, 2000 1:26 PM Subject: Re: [cgiwrap-users] a php-cgiwrap method? > Say what??? > > > At 01:16 PM 9/12/02 -0700, you wrote: > >well that method has the drawback of not being able to put your cgi scripts > >in sub-directories in the cgi-bin... unless you're a regexp guru, which i'm > >not. > > > >and yes, this is the CVS version. > > > >Jeff > > > > > soilentg wrote: > > > > AFAIK if you install it just once then you're expected to put the .php > >files > > > > in the cgi-bin... which I don't like. > > > > > > AFAIK you don't, this should work as far as you tell cgiwrap where > > > to find user's script. > > > > > > AddHandler wrapped-php .php > > > AddHandler wrapped-cgi .cgi > > > Action wrapped-php /cgi-bin/php-cgiwrap/user > > > Action wrapped-cgi /cgi-bin/cgiwrap/user > > > > > > --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 > > Adam Bennett > PC Mart, Inc. > 3603-D Ambassador Caffery > Lafayette, La 70503 > > |