From owner-fhttpd@phobos.illtel.denver.co.us Thu Oct 7 20:11:25 1999 Received: (from majordomo@localhost) by phobos.illtel.denver.co.us (8.9.1a/8.6.9) id UAA19025 for fhttpd-outgoing; Thu, 7 Oct 1999 20:11:25 -0700 X-Sender: nbd95@popmail.macconnect.com Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: fhttpd@phobos.illtel.denver.co.us From: Goodrichs Subject: [fhttpd] fhttpd and apache both with php3? Date: Thu, 7 Oct 1999 23:11:51 -0400 Sender: owner-fhttpd@phobos.illtel.denver.co.us Precedence: bulk Does anyone have experience with using php and fhttpd? I'm interested in having Apache and fhttpd on the same freebsd box. It would seem that since fhttpd allows me to select the executable I send pages with a mask of *.php3 to, I could recompile php as an fhttpd module and then rename the php executable prior to moving it into /usr/local/sbin /usr/local/sbin/php3 = apache modphp3 /usr/local/sbin/php3f = fhttpd modphp3 Anyone done this or am I a guinea pig here? Dave. - fhttpd information: http://phobos.illtel.denver.co.us/pub/fhttpd/ list archive: http://phobos.illtel.denver.co.us/ml/fhttpd/ From owner-fhttpd@phobos.illtel.denver.co.us Thu Oct 7 20:23:10 1999 Received: (from majordomo@localhost) by phobos.illtel.denver.co.us (8.9.1a/8.6.9) id UAA19069 for fhttpd-outgoing; Thu, 7 Oct 1999 20:23:10 -0700 Message-ID: <37FD639E.96469DB9@genesyslab.com> Date: Thu, 07 Oct 1999 20:23:10 -0700 From: George Tereshko Organization: Genesys Labs X-Mailer: Mozilla 4.7 [ru] (X11; U; Linux 2.3.0 i686) X-Accept-Language: ru, en MIME-Version: 1.0 To: Goodrichs CC: fhttpd@phobos.illtel.denver.co.us Subject: Re: [fhttpd] fhttpd and apache both with php3? References: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-fhttpd@phobos.illtel.denver.co.us Precedence: bulk I'm using it on Linux & Solaris with fhttpd. (But not as module). You can use both servers- Apache and modphp + fhttpd and php exe. IMHO. And I'm not sure fhttpd supports modules. Goodrichs wrote: > > Does anyone have experience with using php and fhttpd? I'm interested in > having Apache and fhttpd on the same freebsd box. > > It would seem that since fhttpd allows me to select the executable I send > pages with a mask of *.php3 to, I could recompile php as an fhttpd module > and then rename the php executable prior to moving it into /usr/local/sbin > > /usr/local/sbin/php3 = apache modphp3 > /usr/local/sbin/php3f = fhttpd modphp3 > > Anyone done this or am I a guinea pig here? > > Dave. > > - > fhttpd information: http://phobos.illtel.denver.co.us/pub/fhttpd/ > list archive: http://phobos.illtel.denver.co.us/ml/fhttpd/ -- George Tereshko, DBA. phone (415)437-1065 mailto:georget@genesyslab.com fax (415)437-1260 pg.1-800-PAGE-MCI:140-5486 mailto:1405486@mcipage.com - fhttpd information: http://phobos.illtel.denver.co.us/pub/fhttpd/ list archive: http://phobos.illtel.denver.co.us/ml/fhttpd/ From owner-fhttpd@phobos.illtel.denver.co.us Thu Oct 7 21:20:24 1999 Received: (from majordomo@localhost) by phobos.illtel.denver.co.us (8.9.1a/8.6.9) id VAA19243 for fhttpd-outgoing; Thu, 7 Oct 1999 21:20:24 -0700 X-Sender: nbd95@popmail.macconnect.com Message-Id: In-Reply-To: <37FD639E.96469DB9@genesyslab.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: George Tereshko From: Goodrichs Subject: Re: [fhttpd] fhttpd and apache both with php3? Cc: fhttpd@phobos.illtel.denver.co.us Date: Fri, 8 Oct 1999 00:20:48 -0400 Sender: owner-fhttpd@phobos.illtel.denver.co.us Precedence: bulk At 8:23 PM -0700 10/7/99, George Tereshko wrote: >I'm using it on Linux & Solaris with fhttpd. >(But not as module). >You can use both servers- Apache and modphp + fhttpd and php exe. >IMHO. >And I'm not sure fhttpd supports modules. > Great. The install istructions specifly state that you can build php as a fhttpd module. Am I missing something here? Good to know it's doable though, I suspected it was but thought it wise to ask before I dived into source to check things out. Thanks for the response. Dave. - fhttpd information: http://phobos.illtel.denver.co.us/pub/fhttpd/ list archive: http://phobos.illtel.denver.co.us/ml/fhttpd/ From owner-fhttpd@phobos.illtel.denver.co.us Thu Oct 7 23:17:00 1999 Received: (from majordomo@localhost) by phobos.illtel.denver.co.us (8.9.1a/8.6.9) id XAA19552 for fhttpd-outgoing; Thu, 7 Oct 1999 23:17:00 -0700 X-Sender: nbd95@popmail.macconnect.com Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: fhttpd@phobos.illtel.denver.co.us From: Goodrichs Subject: [fhttpd] Compile errors from php Date: Fri, 8 Oct 1999 02:17:21 -0400 Sender: owner-fhttpd@phobos.illtel.denver.co.us Precedence: bulk Has anyone else had errors from compiling PHP3 against fhttp? fhttpd-0.4.2 php3-3.0.11 FreeBSD 3.0 Stable I checked the website, and cked the php-dev archives but saw no messages concerning this error. php3 compiled cleanly against apache. The only thing I changed in the configure was to build against fhttpd instead of apache. Thanks, DAve. Make output follows. Script started on Thu Oct 7 23:13:13 1999 gcc -g -O2 -O2 -I. -I. -I/root/sources/fhttpd-0.4.2/ -I/usr/local/include/mysql -c /root/sources/fhttpd-0.4.2/servproc.c -o /root/sources/fhttpd-0.4.2/servproc.o /root/sources/fhttpd-0.4.2/servproc.c: In function `readrequest': /root/sources/fhttpd-0.4.2/servproc.c:426: `__s32' undeclared (first use this function) /root/sources/fhttpd-0.4.2/servproc.c:426: (Each undeclared identifier is reported only once /root/sources/fhttpd-0.4.2/servproc.c:426: for each function it appears in.) /root/sources/fhttpd-0.4.2/servproc.c:426: parse error before `q' /root/sources/fhttpd-0.4.2/servproc.c:456: `q' undeclared (first use this function) /root/sources/fhttpd-0.4.2/servproc.c:506: structure has no member named `cmsg_data' /root/sources/fhttpd-0.4.2/servproc.c:533: structure has no member named `cmsg_data' /root/sources/fhttpd-0.4.2/servproc.c:534: structure has no member named `cmsg_data' /root/sources/fhttpd-0.4.2/servproc.c:584: parse error before `)' /root/sources/fhttpd-0.4.2/servproc.c:585: parse error before `)' /root/sources/fhttpd-0.4.2/servproc.c:586: parse error before `)' /root/sources/fhttpd-0.4.2/servproc.c:593: parse error before `)' /root/sources/fhttpd-0.4.2/servproc.c:608: parse error before `)' /root/sources/fhttpd-0.4.2/servproc.c:625: parse error before `)' /root/sources/fhttpd-0.4.2/servproc.c:640: parse error before `)' /root/sources/fhttpd-0.4.2/servproc.c: In function `parserequest': /root/sources/fhttpd-0.4.2/servproc.c:770: `__s32' undeclared (first use this function) /root/sources/fhttpd-0.4.2/servproc.c: In function `sendreply': /root/sources/fhttpd-0.4.2/servproc.c:907: `__s32' undeclared (first use this function) /root/sources/fhttpd-0.4.2/servproc.c:907: parse error before `size1' /root/sources/fhttpd-0.4.2/servproc.c:907: `__X' undeclared (first use this function) /root/sources/fhttpd-0.4.2/servproc.c: At top level: /root/sources/fhttpd-0.4.2/servproc.c:907: parse error before `)' /root/sources/fhttpd-0.4.2/servproc.c:908: braced-group within expression allowed only inside a function /root/sources/fhttpd-0.4.2/servproc.c:908: warning: data definition has no type or storage class /root/sources/fhttpd-0.4.2/servproc.c:908: parse error before `:' /root/sources/fhttpd-0.4.2/servproc.c:908: `__X' used prior to declaration /root/sources/fhttpd-0.4.2/servproc.c:908: warning: data definition has no type or storage class /root/sources/fhttpd-0.4.2/servproc.c:908: parse error before `}' /root/sources/fhttpd-0.4.2/servproc.c:909: braced-group within expression allowed only inside a function /root/sources/fhttpd-0.4.2/servproc.c:909: warning: data definition has no type or storage class /root/sources/fhttpd-0.4.2/servproc.c:909: parse error before `:' /root/sources/fhttpd-0.4.2/servproc.c:909: warning: data definition has no type or storage class /root/sources/fhttpd-0.4.2/servproc.c:909: parse error before `}' /root/sources/fhttpd-0.4.2/servproc.c:912: `__s32' undeclared here (not in a function) /root/sources/fhttpd-0.4.2/servproc.c:913: `__s32' undeclared here (not in a function) /root/sources/fhttpd-0.4.2/servproc.c:914: `__s32' undeclared here (not in a function) /root/sources/fhttpd-0.4.2/servproc.c:917: parse error before `.' /root/sources/fhttpd-0.4.2/servproc.c:918: parse error before `.' /root/sources/fhttpd-0.4.2/servproc.c:919: parse error before `.' /root/sources/fhttpd-0.4.2/servproc.c:920: parse error before `.' /root/sources/fhttpd-0.4.2/servproc.c:921: parse error before `.' /root/sources/fhttpd-0.4.2/servproc.c:923: parse error before `->' /root/sources/fhttpd-0.4.2/servproc.c: In function `sendlinereply': /root/sources/fhttpd-0.4.2/servproc.c:931: `__s32' undeclared (first use this function) /root/sources/fhttpd-0.4.2/servproc.c:931: parse error before `size0' /root/sources/fhttpd-0.4.2/servproc.c: At top level: /root/sources/fhttpd-0.4.2/servproc.c:932: parse error before `)' /root/sources/fhttpd-0.4.2/servproc.c:933: redefinition of `opnum1' /root/sources/fhttpd-0.4.2/servproc.c:908: `opnum1' previously defined here /root/sources/fhttpd-0.4.2/servproc.c:933: braced-group within expression allowed only inside a function /root/sources/fhttpd-0.4.2/servproc.c:933: warning: data definition has no type or storage class /root/sources/fhttpd-0.4.2/servproc.c:933: parse error before `:' /root/sources/fhttpd-0.4.2/servproc.c:933: warning: data definition has no type or storage class /root/sources/fhttpd-0.4.2/servproc.c:933: parse error before `}' /root/sources/fhttpd-0.4.2/servproc.c:934: redefinition of `id1' /root/sources/fhttpd-0.4.2/servproc.c:909: `id1' previously defined here /root/sources/fhttpd-0.4.2/servproc.c:934: braced-group within expression allowed only inside a function /root/sources/fhttpd-0.4.2/servproc.c:934: warning: data definition has no type or storage class /root/sources/fhttpd-0.4.2/servproc.c:934: parse error before `:' /root/sources/fhttpd-0.4.2/servproc.c:934: warning: data definition has no type or storage class /root/sources/fhttpd-0.4.2/servproc.c:934: parse error before `}' /root/sources/fhttpd-0.4.2/servproc.c:936: redefinition of `vector' /root/sources/fhttpd-0.4.2/servproc.c:911: `vector' previously defined here /root/sources/fhttpd-0.4.2/servproc.c:937: `__s32' undeclared here (not in a function) /root/sources/fhttpd-0.4.2/servproc.c:938: `__s32' undeclared here (not in a function) /root/sources/fhttpd-0.4.2/servproc.c:939: `__s32' undeclared here (not in a function) /root/sources/fhttpd-0.4.2/servproc.c:942: parse error before `.' /root/sources/fhttpd-0.4.2/servproc.c:943: parse error before `.' /root/sources/fhttpd-0.4.2/servproc.c:944: parse error before `.' /root/sources/fhttpd-0.4.2/servproc.c:945: parse error before `.' /root/sources/fhttpd-0.4.2/servproc.c:946: parse error before `.' /root/sources/fhttpd-0.4.2/servproc.c:947: parse error before `->' /root/sources/fhttpd-0.4.2/servproc.c:947: warning: data definition has no type or storage class /root/sources/fhttpd-0.4.2/servproc.c: In function `finishreply': /root/sources/fhttpd-0.4.2/servproc.c:955: `__s32' undeclared (first use this function) /root/sources/fhttpd-0.4.2/servproc.c:955: parse error before `size1' /root/sources/fhttpd-0.4.2/servproc.c: At top level: /root/sources/fhttpd-0.4.2/servproc.c:955: parse error before `)' /root/sources/fhttpd-0.4.2/servproc.c:956: redefinition of `opnum1' /root/sources/fhttpd-0.4.2/servproc.c:933: `opnum1' previously defined here /root/sources/fhttpd-0.4.2/servproc.c:956: braced-group within expression allowed only inside a function /root/sources/fhttpd-0.4.2/servproc.c:956: warning: data definition has no type or storage class /root/sources/fhttpd-0.4.2/servproc.c:956: parse error before `:' /root/sources/fhttpd-0.4.2/servproc.c:956: warning: data definition has no type or storage class /root/sources/fhttpd-0.4.2/servproc.c:956: parse error before `}' /root/sources/fhttpd-0.4.2/servproc.c:957: redefinition of `id1' /root/sources/fhttpd-0.4.2/servproc.c:934: `id1' previously defined here /root/sources/fhttpd-0.4.2/servproc.c:957: braced-group within expression allowed only inside a function /root/sources/fhttpd-0.4.2/servproc.c:957: warning: data definition has no type or storage class /root/sources/fhttpd-0.4.2/servproc.c:957: parse error before `:' /root/sources/fhttpd-0.4.2/servproc.c:957: warning: data definition has no type or storage class /root/sources/fhttpd-0.4.2/servproc.c:957: parse error before `}' /root/sources/fhttpd-0.4.2/servproc.c:959: conflicting types for `vector' /root/sources/fhttpd-0.4.2/servproc.c:936: previous declaration of `vector' /root/sources/fhttpd-0.4.2/servproc.c:960: `__s32' undeclared here (not in a function) /root/sources/fhttpd-0.4.2/servproc.c:961: `__s32' undeclared here (not in a function) /root/sources/fhttpd-0.4.2/servproc.c:962: `__s32' undeclared here (not in a function) /root/sources/fhttpd-0.4.2/servproc.c:964: parse error before `.' /root/sources/fhttpd-0.4.2/servproc.c:965: parse error before `.' /root/sources/fhttpd-0.4.2/servproc.c:966: parse error before `.' /root/sources/fhttpd-0.4.2/servproc.c:967: parse error before `->' /root/sources/fhttpd-0.4.2/servproc.c:967: warning: data definition has no type or storage class /root/sources/fhttpd-0.4.2/servproc.c: In function `finishdropreply': /root/sources/fhttpd-0.4.2/servproc.c:975: `__s32' undeclared (first use this function) /root/sources/fhttpd-0.4.2/servproc.c:975: parse error before `size1' /root/sources/fhttpd-0.4.2/servproc.c: At top level: /root/sources/fhttpd-0.4.2/servproc.c:975: parse error before `)' /root/sources/fhttpd-0.4.2/servproc.c:976: redefinition of `opnum1' /root/sources/fhttpd-0.4.2/servproc.c:956: `opnum1' previously defined here /root/sources/fhttpd-0.4.2/servproc.c:976: braced-group within expression allowed only inside a function /root/sources/fhttpd-0.4.2/servproc.c:976: warning: data definition has no type or storage class /root/sources/fhttpd-0.4.2/servproc.c:976: parse error before `:' /root/sources/fhttpd-0.4.2/servproc.c:976: warning: data definition has no type or storage class /root/sources/fhttpd-0.4.2/servproc.c:976: parse error before `}' /root/sources/fhttpd-0.4.2/servproc.c:977: redefinition of `id1' /root/sources/fhttpd-0.4.2/servproc.c:957: `id1' previously defined here /root/sources/fhttpd-0.4.2/servproc.c:977: braced-group within expression allowed only inside a function /root/sources/fhttpd-0.4.2/servproc.c:977: warning: data definition has no type or storage class /root/sources/fhttpd-0.4.2/servproc.c:977: parse error before `:' /root/sources/fhttpd-0.4.2/servproc.c:977: warning: data definition has no type or storage class /root/sources/fhttpd-0.4.2/servproc.c:977: parse error before `}' /root/sources/fhttpd-0.4.2/servproc.c:979: redefinition of `vector' /root/sources/fhttpd-0.4.2/servproc.c:959: `vector' previously defined here /root/sources/fhttpd-0.4.2/servproc.c:980: `__s32' undeclared here (not in a function) /root/sources/fhttpd-0.4.2/servproc.c:981: `__s32' undeclared here (not in a function) /root/sources/fhttpd-0.4.2/servproc.c:982: `__s32' undeclared here (not in a function) /root/sources/fhttpd-0.4.2/servproc.c:984: parse error before `.' /root/sources/fhttpd-0.4.2/servproc.c:985: parse error before `.' /root/sources/fhttpd-0.4.2/servproc.c:986: parse error before `.' /root/sources/fhttpd-0.4.2/servproc.c:987: parse error before `->' /root/sources/fhttpd-0.4.2/servproc.c:987: warning: data definition has no type or storage class /root/sources/fhttpd-0.4.2/servproc.c: In function `setcapabilities': /root/sources/fhttpd-0.4.2/servproc.c:995: `__s32' undeclared (first use this function) /root/sources/fhttpd-0.4.2/servproc.c:995: parse error before `cap1' /root/sources/fhttpd-0.4.2/servproc.c:997: `cap1' undeclared (first use this function) /root/sources/fhttpd-0.4.2/servproc.c: In function `requestexit': /root/sources/fhttpd-0.4.2/servproc.c:1006: `__s32' undeclared (first use this function) /root/sources/fhttpd-0.4.2/servproc.c:1006: parse error before `exf' /root/sources/fhttpd-0.4.2/servproc.c:1008: `exf' undeclared (first use this function) /root/sources/fhttpd-0.4.2/servproc.c: In function `logmessage': /root/sources/fhttpd-0.4.2/servproc.c:1020: `__s32' undeclared (first use this function) /root/sources/fhttpd-0.4.2/servproc.c:1020: parse error before `size0' /root/sources/fhttpd-0.4.2/servproc.c:1044: `size0' undeclared (first use this function) /root/sources/fhttpd-0.4.2/servproc.c:1047: `size1' undeclared (first use this function) /root/sources/fhttpd-0.4.2/servproc.c:1048: `size2' undeclared (first use this function) /root/sources/fhttpd-0.4.2/servproc.c:1057: warning: assignment from incompatible pointer type /root/sources/fhttpd-0.4.2/servproc.c:1058: warning: assignment from incompatible pointer type /root/sources/fhttpd-0.4.2/servproc.c: In function `makeid': /root/sources/fhttpd-0.4.2/servproc.c:1383: `__s32' undeclared (first use this function) /root/sources/fhttpd-0.4.2/servproc.c:1383: parse error before `)' /root/sources/fhttpd-0.4.2/servproc.c:1384: parse error before `)' /root/sources/fhttpd-0.4.2/servproc.c: In function `createmultipartresponse': /root/sources/fhttpd-0.4.2/servproc.c:1577: `__s32' undeclared (first use this function) *** Error code 1 Stop. - fhttpd information: http://phobos.illtel.denver.co.us/pub/fhttpd/ list archive: http://phobos.illtel.denver.co.us/ml/fhttpd/ From owner-fhttpd@phobos.illtel.denver.co.us Fri Oct 8 09:14:34 1999 Received: (from majordomo@localhost) by phobos.illtel.denver.co.us (8.9.1a/8.6.9) id JAA21815 for fhttpd-outgoing; Fri, 8 Oct 1999 09:14:34 -0700 Message-ID: <37FE1862.A1373CCD@genesyslab.com> Date: Fri, 08 Oct 1999 09:14:26 -0700 From: George Tereshko Organization: Genesys Labs X-Mailer: Mozilla 4.7 [ru] (X11; U; Linux 2.3.0 i686) X-Accept-Language: ru, en MIME-Version: 1.0 To: Goodrichs CC: fhttpd@phobos.illtel.denver.co.us, abelits@genesyslab.com Subject: Re: [fhttpd] fhttpd and apache both with php3? References: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-fhttpd@phobos.illtel.denver.co.us Precedence: bulk Goodrichs wrote: > > At 8:23 PM -0700 10/7/99, George Tereshko wrote: > >I'm using it on Linux & Solaris with fhttpd. > >(But not as module). > >You can use both servers- Apache and modphp + fhttpd and php exe. > >IMHO. > >And I'm not sure fhttpd supports modules. > > > > Great. The install istructions specifly state that you can build php as a > fhttpd module. Am I missing something here? Good to know it's doable > though, I suspected it was but thought it wise to ask before I dived into > source to check things out. Thanks for the response. > > Dave. I did not try, CC to the guy who give us 1-st hand info. -- George Tereshko, DBA. phone (415)437-1065 mailto:georget@genesyslab.com fax (415)437-1260 pg.1-800-PAGE-MCI:140-5486 mailto:1405486@mcipage.com - fhttpd information: http://phobos.illtel.denver.co.us/pub/fhttpd/ list archive: http://phobos.illtel.denver.co.us/ml/fhttpd/ From owner-fhttpd@phobos.illtel.denver.co.us Fri Oct 8 09:36:15 1999 Received: (from majordomo@localhost) by phobos.illtel.denver.co.us (8.9.1a/8.6.9) id JAA21898 for fhttpd-outgoing; Fri, 8 Oct 1999 09:36:15 -0700 Message-ID: <37FE1D78.EB634A82@genesyslab.com> Date: Fri, 08 Oct 1999 09:36:08 -0700 From: George Tereshko Organization: Genesys Labs X-Mailer: Mozilla 4.7 [ru] (X11; U; Linux 2.3.0 i686) X-Accept-Language: ru, en MIME-Version: 1.0 To: Goodrichs CC: fhttpd@phobos.illtel.denver.co.us Subject: Re: [fhttpd] Compile errors from php References: Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-fhttpd@phobos.illtel.denver.co.us Precedence: bulk define __s32, or edit Makefile. # #COPTS = -O2 -fno-strength-reduce -DLS_OPTIONS_IGNORE\ # -D__s32=int -DMMAPPAGESIZE=65536\ ^^^^^^^^^^^^^^^^^^^^^^^^ # -DPSEUDOPOLL -DCMSG_DATA_IS_A_MACRO\ # -DSIGARGS="int sig" -DSIGACTARGS="int sig"\ # -DTM_GMTOFF_PRESENT -DERRNO_DEFINED # -DFLOCK #LFLAGS = -lcrypt Goodrichs wrote: > > Has anyone else had errors from compiling PHP3 against fhttp? > fhttpd-0.4.2 > php3-3.0.11 > FreeBSD 3.0 Stable > > I checked the website, and cked the php-dev archives but saw no messages > concerning this error. > php3 compiled cleanly against apache. The only thing I changed in the > configure was to build against fhttpd instead of apache. > > Thanks, > > DAve. > > Make output follows. > > Script started on Thu Oct 7 23:13:13 1999 > gcc -g -O2 -O2 -I. -I. -I/root/sources/fhttpd-0.4.2/ > -I/usr/local/include/mysql -c /root/sources/fhttpd-0.4.2/servproc.c -o > /root/sources/fhttpd-0.4.2/servproc.o > /root/sources/fhttpd-0.4.2/servproc.c: In function `readrequest': > /root/sources/fhttpd-0.4.2/servproc.c:426: `__s32' undeclared (first use > this function) > /root/sources/fhttpd-0.4.2/servproc.c:426: (Each undeclared identifier is > reported only once > /root/sources/fhttpd-0.4.2/servproc.c:426: for each function it appears in.) > /root/sources/fhttpd-0.4.2/servproc.c:426: parse error before `q' > /root/sources/fhttpd-0.4.2/servproc.c:456: `q' undeclared (first use this > function) > /root/sources/fhttpd-0.4.2/servproc.c:506: structure has no member named > `cmsg_data' > /root/sources/fhttpd-0.4.2/servproc.c:533: structure has no member named > `cmsg_data' > /root/sources/fhttpd-0.4.2/servproc.c:534: structure has no member named > `cmsg_data' > /root/sources/fhttpd-0.4.2/servproc.c:584: parse error before `)' > /root/sources/fhttpd-0.4.2/servproc.c:585: parse error before `)' > /root/sources/fhttpd-0.4.2/servproc.c:586: parse error before `)' > /root/sources/fhttpd-0.4.2/servproc.c:593: parse error before `)' > /root/sources/fhttpd-0.4.2/servproc.c:608: parse error before `)' > /root/sources/fhttpd-0.4.2/servproc.c:625: parse error before `)' > /root/sources/fhttpd-0.4.2/servproc.c:640: parse error before `)' > /root/sources/fhttpd-0.4.2/servproc.c: In function `parserequest': > /root/sources/fhttpd-0.4.2/servproc.c:770: `__s32' undeclared (first use > this function) > /root/sources/fhttpd-0.4.2/servproc.c: In function `sendreply': > /root/sources/fhttpd-0.4.2/servproc.c:907: `__s32' undeclared (first use > this function) > /root/sources/fhttpd-0.4.2/servproc.c:907: parse error before `size1' > /root/sources/fhttpd-0.4.2/servproc.c:907: `__X' undeclared (first use this > function) > /root/sources/fhttpd-0.4.2/servproc.c: At top level: > /root/sources/fhttpd-0.4.2/servproc.c:907: parse error before `)' > /root/sources/fhttpd-0.4.2/servproc.c:908: braced-group within expression > allowed only inside a function > /root/sources/fhttpd-0.4.2/servproc.c:908: warning: data definition has no > type or storage class > /root/sources/fhttpd-0.4.2/servproc.c:908: parse error before `:' > /root/sources/fhttpd-0.4.2/servproc.c:908: `__X' used prior to declaration > /root/sources/fhttpd-0.4.2/servproc.c:908: warning: data definition has no > type or storage class > /root/sources/fhttpd-0.4.2/servproc.c:908: parse error before `}' > /root/sources/fhttpd-0.4.2/servproc.c:909: braced-group within expression > allowed only inside a function > /root/sources/fhttpd-0.4.2/servproc.c:909: warning: data definition has no > type or storage class > /root/sources/fhttpd-0.4.2/servproc.c:909: parse error before `:' > /root/sources/fhttpd-0.4.2/servproc.c:909: warning: data definition has no > type or storage class > /root/sources/fhttpd-0.4.2/servproc.c:909: parse error before `}' > /root/sources/fhttpd-0.4.2/servproc.c:912: `__s32' undeclared here (not in > a function) > /root/sources/fhttpd-0.4.2/servproc.c:913: `__s32' undeclared here (not in > a function) > /root/sources/fhttpd-0.4.2/servproc.c:914: `__s32' undeclared here (not in > a function) > /root/sources/fhttpd-0.4.2/servproc.c:917: parse error before `.' > /root/sources/fhttpd-0.4.2/servproc.c:918: parse error before `.' > /root/sources/fhttpd-0.4.2/servproc.c:919: parse error before `.' > /root/sources/fhttpd-0.4.2/servproc.c:920: parse error before `.' > /root/sources/fhttpd-0.4.2/servproc.c:921: parse error before `.' > /root/sources/fhttpd-0.4.2/servproc.c:923: parse error before `->' > /root/sources/fhttpd-0.4.2/servproc.c: In function `sendlinereply': > /root/sources/fhttpd-0.4.2/servproc.c:931: `__s32' undeclared (first use > this function) > /root/sources/fhttpd-0.4.2/servproc.c:931: parse error before `size0' > /root/sources/fhttpd-0.4.2/servproc.c: At top level: > /root/sources/fhttpd-0.4.2/servproc.c:932: parse error before `)' > /root/sources/fhttpd-0.4.2/servproc.c:933: redefinition of `opnum1' > /root/sources/fhttpd-0.4.2/servproc.c:908: `opnum1' previously defined here > /root/sources/fhttpd-0.4.2/servproc.c:933: braced-group within expression > allowed only inside a function > /root/sources/fhttpd-0.4.2/servproc.c:933: warning: data definition has no > type or storage class > /root/sources/fhttpd-0.4.2/servproc.c:933: parse error before `:' > /root/sources/fhttpd-0.4.2/servproc.c:933: warning: data definition has no > type or storage class > /root/sources/fhttpd-0.4.2/servproc.c:933: parse error before `}' > /root/sources/fhttpd-0.4.2/servproc.c:934: redefinition of `id1' > /root/sources/fhttpd-0.4.2/servproc.c:909: `id1' previously defined here > /root/sources/fhttpd-0.4.2/servproc.c:934: braced-group within expression > allowed only inside a function > /root/sources/fhttpd-0.4.2/servproc.c:934: warning: data definition has no > type or storage class > /root/sources/fhttpd-0.4.2/servproc.c:934: parse error before `:' > /root/sources/fhttpd-0.4.2/servproc.c:934: warning: data definition has no > type or storage class > /root/sources/fhttpd-0.4.2/servproc.c:934: parse error before `}' > /root/sources/fhttpd-0.4.2/servproc.c:936: redefinition of `vector' > /root/sources/fhttpd-0.4.2/servproc.c:911: `vector' previously defined here > /root/sources/fhttpd-0.4.2/servproc.c:937: `__s32' undeclared here (not in > a function) > /root/sources/fhttpd-0.4.2/servproc.c:938: `__s32' undeclared here (not in > a function) > /root/sources/fhttpd-0.4.2/servproc.c:939: `__s32' undeclared here (not in > a function) > /root/sources/fhttpd-0.4.2/servproc.c:942: parse error before `.' > /root/sources/fhttpd-0.4.2/servproc.c:943: parse error before `.' > /root/sources/fhttpd-0.4.2/servproc.c:944: parse error before `.' > /root/sources/fhttpd-0.4.2/servproc.c:945: parse error before `.' > /root/sources/fhttpd-0.4.2/servproc.c:946: parse error before `.' > /root/sources/fhttpd-0.4.2/servproc.c:947: parse error before `->' > /root/sources/fhttpd-0.4.2/servproc.c:947: warning: data definition has no > type or storage class > /root/sources/fhttpd-0.4.2/servproc.c: In function `finishreply': > /root/sources/fhttpd-0.4.2/servproc.c:955: `__s32' undeclared (first use > this function) > /root/sources/fhttpd-0.4.2/servproc.c:955: parse error before `size1' > /root/sources/fhttpd-0.4.2/servproc.c: At top level: > /root/sources/fhttpd-0.4.2/servproc.c:955: parse error before `)' > /root/sources/fhttpd-0.4.2/servproc.c:956: redefinition of `opnum1' > /root/sources/fhttpd-0.4.2/servproc.c:933: `opnum1' previously defined here > /root/sources/fhttpd-0.4.2/servproc.c:956: braced-group within expression > allowed only inside a function > /root/sources/fhttpd-0.4.2/servproc.c:956: warning: data definition has no > type or storage class > /root/sources/fhttpd-0.4.2/servproc.c:956: parse error before `:' > /root/sources/fhttpd-0.4.2/servproc.c:956: warning: data definition has no > type or storage class > /root/sources/fhttpd-0.4.2/servproc.c:956: parse error before `}' > /root/sources/fhttpd-0.4.2/servproc.c:957: redefinition of `id1' > /root/sources/fhttpd-0.4.2/servproc.c:934: `id1' previously defined here > /root/sources/fhttpd-0.4.2/servproc.c:957: braced-group within expression > allowed only inside a function > /root/sources/fhttpd-0.4.2/servproc.c:957: warning: data definition has no > type or storage class > /root/sources/fhttpd-0.4.2/servproc.c:957: parse error before `:' > /root/sources/fhttpd-0.4.2/servproc.c:957: warning: data definition has no > type or storage class > /root/sources/fhttpd-0.4.2/servproc.c:957: parse error before `}' > /root/sources/fhttpd-0.4.2/servproc.c:959: conflicting types for `vector' > /root/sources/fhttpd-0.4.2/servproc.c:936: previous declaration of `vector' > /root/sources/fhttpd-0.4.2/servproc.c:960: `__s32' undeclared here (not in > a function) > /root/sources/fhttpd-0.4.2/servproc.c:961: `__s32' undeclared here (not in > a function) > /root/sources/fhttpd-0.4.2/servproc.c:962: `__s32' undeclared here (not in > a function) > /root/sources/fhttpd-0.4.2/servproc.c:964: parse error before `.' > /root/sources/fhttpd-0.4.2/servproc.c:965: parse error before `.' > /root/sources/fhttpd-0.4.2/servproc.c:966: parse error before `.' > /root/sources/fhttpd-0.4.2/servproc.c:967: parse error before `->' > /root/sources/fhttpd-0.4.2/servproc.c:967: warning: data definition has no > type or storage class > /root/sources/fhttpd-0.4.2/servproc.c: In function `finishdropreply': > /root/sources/fhttpd-0.4.2/servproc.c:975: `__s32' undeclared (first use > this function) > /root/sources/fhttpd-0.4.2/servproc.c:975: parse error before `size1' > /root/sources/fhttpd-0.4.2/servproc.c: At top level: > /root/sources/fhttpd-0.4.2/servproc.c:975: parse error before `)' > /root/sources/fhttpd-0.4.2/servproc.c:976: redefinition of `opnum1' > /root/sources/fhttpd-0.4.2/servproc.c:956: `opnum1' previously defined here > /root/sources/fhttpd-0.4.2/servproc.c:976: braced-group within expression > allowed only inside a function > /root/sources/fhttpd-0.4.2/servproc.c:976: warning: data definition has no > type or storage class > /root/sources/fhttpd-0.4.2/servproc.c:976: parse error before `:' > /root/sources/fhttpd-0.4.2/servproc.c:976: warning: data definition has no > type or storage class > /root/sources/fhttpd-0.4.2/servproc.c:976: parse error before `}' > /root/sources/fhttpd-0.4.2/servproc.c:977: redefinition of `id1' > /root/sources/fhttpd-0.4.2/servproc.c:957: `id1' previously defined here > /root/sources/fhttpd-0.4.2/servproc.c:977: braced-group within expression > allowed only inside a function > /root/sources/fhttpd-0.4.2/servproc.c:977: warning: data definition has no > type or storage class > /root/sources/fhttpd-0.4.2/servproc.c:977: parse error before `:' > /root/sources/fhttpd-0.4.2/servproc.c:977: warning: data definition has no > type or storage class > /root/sources/fhttpd-0.4.2/servproc.c:977: parse error before `}' > /root/sources/fhttpd-0.4.2/servproc.c:979: redefinition of `vector' > /root/sources/fhttpd-0.4.2/servproc.c:959: `vector' previously defined here > /root/sources/fhttpd-0.4.2/servproc.c:980: `__s32' undeclared here (not in > a function) > /root/sources/fhttpd-0.4.2/servproc.c:981: `__s32' undeclared here (not in > a function) > /root/sources/fhttpd-0.4.2/servproc.c:982: `__s32' undeclared here (not in > a function) > /root/sources/fhttpd-0.4.2/servproc.c:984: parse error before `.' > /root/sources/fhttpd-0.4.2/servproc.c:985: parse error before `.' > /root/sources/fhttpd-0.4.2/servproc.c:986: parse error before `.' > /root/sources/fhttpd-0.4.2/servproc.c:987: parse error before `->' > /root/sources/fhttpd-0.4.2/servproc.c:987: warning: data definition has no > type or storage class > /root/sources/fhttpd-0.4.2/servproc.c: In function `setcapabilities': > /root/sources/fhttpd-0.4.2/servproc.c:995: `__s32' undeclared (first use > this function) > /root/sources/fhttpd-0.4.2/servproc.c:995: parse error before `cap1' > /root/sources/fhttpd-0.4.2/servproc.c:997: `cap1' undeclared (first use > this function) > /root/sources/fhttpd-0.4.2/servproc.c: In function `requestexit': > /root/sources/fhttpd-0.4.2/servproc.c:1006: `__s32' undeclared (first use > this function) > /root/sources/fhttpd-0.4.2/servproc.c:1006: parse error before `exf' > /root/sources/fhttpd-0.4.2/servproc.c:1008: `exf' undeclared (first use > this function) > /root/sources/fhttpd-0.4.2/servproc.c: In function `logmessage': > /root/sources/fhttpd-0.4.2/servproc.c:1020: `__s32' undeclared (first use > this function) > /root/sources/fhttpd-0.4.2/servproc.c:1020: parse error before `size0' > /root/sources/fhttpd-0.4.2/servproc.c:1044: `size0' undeclared (first use > this function) > /root/sources/fhttpd-0.4.2/servproc.c:1047: `size1' undeclared (first use > this function) > /root/sources/fhttpd-0.4.2/servproc.c:1048: `size2' undeclared (first use > this function) > /root/sources/fhttpd-0.4.2/servproc.c:1057: warning: assignment from > incompatible pointer type > /root/sources/fhttpd-0.4.2/servproc.c:1058: warning: assignment from > incompatible pointer type > /root/sources/fhttpd-0.4.2/servproc.c: In function `makeid': > /root/sources/fhttpd-0.4.2/servproc.c:1383: `__s32' undeclared (first use > this function) > /root/sources/fhttpd-0.4.2/servproc.c:1383: parse error before `)' > /root/sources/fhttpd-0.4.2/servproc.c:1384: parse error before `)' > /root/sources/fhttpd-0.4.2/servproc.c: In function `createmultipartresponse': > /root/sources/fhttpd-0.4.2/servproc.c:1577: `__s32' undeclared (first use > this function) > *** Error code 1 > > Stop. > > - > fhttpd information: http://phobos.illtel.denver.co.us/pub/fhttpd/ > list archive: http://phobos.illtel.denver.co.us/ml/fhttpd/ -- George Tereshko, DBA. phone (415)437-1065 mailto:georget@genesyslab.com fax (415)437-1260 pg.1-800-PAGE-MCI:140-5486 mailto:1405486@mcipage.com - fhttpd information: http://phobos.illtel.denver.co.us/pub/fhttpd/ list archive: http://phobos.illtel.denver.co.us/ml/fhttpd/ From owner-fhttpd@phobos.illtel.denver.co.us Sat Oct 9 01:23:43 1999 Received: (from majordomo@localhost) by phobos.illtel.denver.co.us (8.9.1a/8.6.9) id BAA24090 for fhttpd-outgoing; Sat, 9 Oct 1999 01:23:43 -0700 X-Sender: nbd95@popmail.macconnect.com Message-Id: In-Reply-To: <37FE1862.A1373CCD@genesyslab.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: George Tereshko From: Goodrichs Subject: Re: [fhttpd] fhttpd and apache both with php3? Cc: fhttpd@phobos.illtel.denver.co.us, abelits@genesyslab.com Date: Sat, 9 Oct 1999 04:23:37 -0400 Sender: owner-fhttpd@phobos.illtel.denver.co.us Precedence: bulk Works great, somewhat faster than Apache on my FreeBSD box also. The biggest difference was the lower resource useage with fhttpd. Very nice! I need to read up on the permissions/directory settings now. Can fhttpd handle vhosting? I take it I can do this via "AddressRoot hostname rootdir" or "[Abs]GetRule UNCONDITIONAL parameter [parameter-value]". Can someone give me an example? Thanks for the help! DAve. At 9:14 AM -0700 10/8/99, George Tereshko wrote: >Goodrichs wrote: >> >> At 8:23 PM -0700 10/7/99, George Tereshko wrote: >> >I'm using it on Linux & Solaris with fhttpd. >> >(But not as module). >> >You can use both servers- Apache and modphp + fhttpd and php exe. >> >IMHO. >> >And I'm not sure fhttpd supports modules. >> > >> >> Great. The install istructions specifly state that you can build php as a >> fhttpd module. Am I missing something here? Good to know it's doable >> though, I suspected it was but thought it wise to ask before I dived into >> source to check things out. Thanks for the response. >> >> Dave. > >I did not try, >CC to the guy who give us 1-st hand info. > > >-- >George Tereshko, DBA. >phone (415)437-1065 mailto:georget@genesyslab.com >fax (415)437-1260 > >pg.1-800-PAGE-MCI:140-5486 mailto:1405486@mcipage.com >- >fhttpd information: http://phobos.illtel.denver.co.us/pub/fhttpd/ >list archive: http://phobos.illtel.denver.co.us/ml/fhttpd/ - fhttpd information: http://phobos.illtel.denver.co.us/pub/fhttpd/ list archive: http://phobos.illtel.denver.co.us/ml/fhttpd/ From owner-fhttpd@phobos.illtel.denver.co.us Sat Oct 9 01:23:51 1999 Received: (from majordomo@localhost) by phobos.illtel.denver.co.us (8.9.1a/8.6.9) id BAA24096 for fhttpd-outgoing; Sat, 9 Oct 1999 01:23:51 -0700 X-Sender: nbd95@popmail.macconnect.com Message-Id: In-Reply-To: <37FE1D78.EB634A82@genesyslab.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: George Tereshko From: Goodrichs Subject: Re: [fhttpd] Compile errors from php Cc: fhttpd@phobos.illtel.denver.co.us Date: Sat, 9 Oct 1999 04:23:40 -0400 Sender: owner-fhttpd@phobos.illtel.denver.co.us Precedence: bulk Uhh I got into a hurry. Right after I sent that mail I realized I did a 'make clean' on fhttpd before I built php. I rm'd my php config.cache (left from building an apache module), rebuilt fhttpd, reconfigured php again, ran make on php and everything was fine. Sorry for the false alarm :^P fhttpd and php are happy together now. DAve. At 9:36 AM -0700 10/8/99, George Tereshko wrote: >define __s32, or edit Makefile. > > ># >#COPTS = -O2 -fno-strength-reduce -DLS_OPTIONS_IGNORE\ ># -D__s32=int -DMMAPPAGESIZE=65536\ >^^^^^^^^^^^^^^^^^^^^^^^^ ># -DPSEUDOPOLL -DCMSG_DATA_IS_A_MACRO\ ># -DSIGARGS="int sig" -DSIGACTARGS="int sig"\ ># -DTM_GMTOFF_PRESENT -DERRNO_DEFINED # -DFLOCK >#LFLAGS = -lcrypt > > >Goodrichs wrote: >> >> Has anyone else had errors from compiling PHP3 against fhttp? >> fhttpd-0.4.2 >> php3-3.0.11 >> FreeBSD 3.0 Stable >> >> I checked the website, and cked the php-dev archives but saw no messages >> concerning this error. >> php3 compiled cleanly against apache. The only thing I changed in the >> configure was to build against fhttpd instead of apache. >> >> Thanks, >> >> DAve. >> >> Make output follows. >> >> Script started on Thu Oct 7 23:13:13 1999 >> gcc -g -O2 -O2 -I. -I. -I/root/sources/fhttpd-0.4.2/ >> -I/usr/local/include/mysql -c /root/sources/fhttpd-0.4.2/servproc.c -o >> /root/sources/fhttpd-0.4.2/servproc.o >> /root/sources/fhttpd-0.4.2/servproc.c: In function `readrequest': >> /root/sources/fhttpd-0.4.2/servproc.c:426: `__s32' undeclared (first use >> this function) >> /root/sources/fhttpd-0.4.2/servproc.c:426: (Each undeclared identifier is >> reported only once >> /root/sources/fhttpd-0.4.2/servproc.c:426: for each function it appears in.) >> /root/sources/fhttpd-0.4.2/servproc.c:426: parse error before `q' >> /root/sources/fhttpd-0.4.2/servproc.c:456: `q' undeclared (first use this >> function) >> /root/sources/fhttpd-0.4.2/servproc.c:506: structure has no member named >> `cmsg_data' >> /root/sources/fhttpd-0.4.2/servproc.c:533: structure has no member named >> `cmsg_data' >> /root/sources/fhttpd-0.4.2/servproc.c:534: structure has no member named >> `cmsg_data' >> /root/sources/fhttpd-0.4.2/servproc.c:584: parse error before `)' >> /root/sources/fhttpd-0.4.2/servproc.c:585: parse error before `)' >> /root/sources/fhttpd-0.4.2/servproc.c:586: parse error before `)' >> /root/sources/fhttpd-0.4.2/servproc.c:593: parse error before `)' >> /root/sources/fhttpd-0.4.2/servproc.c:608: parse error before `)' >> /root/sources/fhttpd-0.4.2/servproc.c:625: parse error before `)' >> /root/sources/fhttpd-0.4.2/servproc.c:640: parse error before `)' >> /root/sources/fhttpd-0.4.2/servproc.c: In function `parserequest': >> /root/sources/fhttpd-0.4.2/servproc.c:770: `__s32' undeclared (first use >> this function) >> /root/sources/fhttpd-0.4.2/servproc.c: In function `sendreply': >> /root/sources/fhttpd-0.4.2/servproc.c:907: `__s32' undeclared (first use >> this function) >> /root/sources/fhttpd-0.4.2/servproc.c:907: parse error before `size1' >> /root/sources/fhttpd-0.4.2/servproc.c:907: `__X' undeclared (first use this >> function) >> /root/sources/fhttpd-0.4.2/servproc.c: At top level: >> /root/sources/fhttpd-0.4.2/servproc.c:907: parse error before `)' >> /root/sources/fhttpd-0.4.2/servproc.c:908: braced-group within expression >> allowed only inside a function >> /root/sources/fhttpd-0.4.2/servproc.c:908: warning: data definition has no >> type or storage class >> /root/sources/fhttpd-0.4.2/servproc.c:908: parse error before `:' >> /root/sources/fhttpd-0.4.2/servproc.c:908: `__X' used prior to declaration >> /root/sources/fhttpd-0.4.2/servproc.c:908: warning: data definition has no >> type or storage class >> /root/sources/fhttpd-0.4.2/servproc.c:908: parse error before `}' >> /root/sources/fhttpd-0.4.2/servproc.c:909: braced-group within expression >> allowed only inside a function >> /root/sources/fhttpd-0.4.2/servproc.c:909: warning: data definition has no >> type or storage class >> /root/sources/fhttpd-0.4.2/servproc.c:909: parse error before `:' >> /root/sources/fhttpd-0.4.2/servproc.c:909: warning: data definition has no >> type or storage class >> /root/sources/fhttpd-0.4.2/servproc.c:909: parse error before `}' >> /root/sources/fhttpd-0.4.2/servproc.c:912: `__s32' undeclared here (not in >> a function) >> /root/sources/fhttpd-0.4.2/servproc.c:913: `__s32' undeclared here (not in >> a function) >> /root/sources/fhttpd-0.4.2/servproc.c:914: `__s32' undeclared here (not in >> a function) >> /root/sources/fhttpd-0.4.2/servproc.c:917: parse error before `.' >> /root/sources/fhttpd-0.4.2/servproc.c:918: parse error before `.' >> /root/sources/fhttpd-0.4.2/servproc.c:919: parse error before `.' >> /root/sources/fhttpd-0.4.2/servproc.c:920: parse error before `.' >> /root/sources/fhttpd-0.4.2/servproc.c:921: parse error before `.' >> /root/sources/fhttpd-0.4.2/servproc.c:923: parse error before `->' >> /root/sources/fhttpd-0.4.2/servproc.c: In function `sendlinereply': >> /root/sources/fhttpd-0.4.2/servproc.c:931: `__s32' undeclared (first use >> this function) >> /root/sources/fhttpd-0.4.2/servproc.c:931: parse error before `size0' >> /root/sources/fhttpd-0.4.2/servproc.c: At top level: >> /root/sources/fhttpd-0.4.2/servproc.c:932: parse error before `)' >> /root/sources/fhttpd-0.4.2/servproc.c:933: redefinition of `opnum1' >> /root/sources/fhttpd-0.4.2/servproc.c:908: `opnum1' previously defined here >> /root/sources/fhttpd-0.4.2/servproc.c:933: braced-group within expression >> allowed only inside a function >> /root/sources/fhttpd-0.4.2/servproc.c:933: warning: data definition has no >> type or storage class >> /root/sources/fhttpd-0.4.2/servproc.c:933: parse error before `:' >> /root/sources/fhttpd-0.4.2/servproc.c:933: warning: data definition has no >> type or storage class >> /root/sources/fhttpd-0.4.2/servproc.c:933: parse error before `}' >> /root/sources/fhttpd-0.4.2/servproc.c:934: redefinition of `id1' >> /root/sources/fhttpd-0.4.2/servproc.c:909: `id1' previously defined here >> /root/sources/fhttpd-0.4.2/servproc.c:934: braced-group within expression >> allowed only inside a function >> /root/sources/fhttpd-0.4.2/servproc.c:934: warning: data definition has no >> type or storage class >> /root/sources/fhttpd-0.4.2/servproc.c:934: parse error before `:' >> /root/sources/fhttpd-0.4.2/servproc.c:934: warning: data definition has no >> type or storage class >> /root/sources/fhttpd-0.4.2/servproc.c:934: parse error before `}' >> /root/sources/fhttpd-0.4.2/servproc.c:936: redefinition of `vector' >> /root/sources/fhttpd-0.4.2/servproc.c:911: `vector' previously defined here >> /root/sources/fhttpd-0.4.2/servproc.c:937: `__s32' undeclared here (not in >> a function) >> /root/sources/fhttpd-0.4.2/servproc.c:938: `__s32' undeclared here (not in >> a function) >> /root/sources/fhttpd-0.4.2/servproc.c:939: `__s32' undeclared here (not in >> a function) >> /root/sources/fhttpd-0.4.2/servproc.c:942: parse error before `.' >> /root/sources/fhttpd-0.4.2/servproc.c:943: parse error before `.' >> /root/sources/fhttpd-0.4.2/servproc.c:944: parse error before `.' >> /root/sources/fhttpd-0.4.2/servproc.c:945: parse error before `.' >> /root/sources/fhttpd-0.4.2/servproc.c:946: parse error before `.' >> /root/sources/fhttpd-0.4.2/servproc.c:947: parse error before `->' >> /root/sources/fhttpd-0.4.2/servproc.c:947: warning: data definition has no >> type or storage class >> /root/sources/fhttpd-0.4.2/servproc.c: In function `finishreply': >> /root/sources/fhttpd-0.4.2/servproc.c:955: `__s32' undeclared (first use >> this function) >> /root/sources/fhttpd-0.4.2/servproc.c:955: parse error before `size1' >> /root/sources/fhttpd-0.4.2/servproc.c: At top level: >> /root/sources/fhttpd-0.4.2/servproc.c:955: parse error before `)' >> /root/sources/fhttpd-0.4.2/servproc.c:956: redefinition of `opnum1' >> /root/sources/fhttpd-0.4.2/servproc.c:933: `opnum1' previously defined here >> /root/sources/fhttpd-0.4.2/servproc.c:956: braced-group within expression >> allowed only inside a function >> /root/sources/fhttpd-0.4.2/servproc.c:956: warning: data definition has no >> type or storage class >> /root/sources/fhttpd-0.4.2/servproc.c:956: parse error before `:' >> /root/sources/fhttpd-0.4.2/servproc.c:956: warning: data definition has no >> type or storage class >> /root/sources/fhttpd-0.4.2/servproc.c:956: parse error before `}' >> /root/sources/fhttpd-0.4.2/servproc.c:957: redefinition of `id1' >> /root/sources/fhttpd-0.4.2/servproc.c:934: `id1' previously defined here >> /root/sources/fhttpd-0.4.2/servproc.c:957: braced-group within expression >> allowed only inside a function >> /root/sources/fhttpd-0.4.2/servproc.c:957: warning: data definition has no >> type or storage class >> /root/sources/fhttpd-0.4.2/servproc.c:957: parse error before `:' >> /root/sources/fhttpd-0.4.2/servproc.c:957: warning: data definition has no >> type or storage class >> /root/sources/fhttpd-0.4.2/servproc.c:957: parse error before `}' >> /root/sources/fhttpd-0.4.2/servproc.c:959: conflicting types for `vector' >> /root/sources/fhttpd-0.4.2/servproc.c:936: previous declaration of `vector' >> /root/sources/fhttpd-0.4.2/servproc.c:960: `__s32' undeclared here (not in >> a function) >> /root/sources/fhttpd-0.4.2/servproc.c:961: `__s32' undeclared here (not in >> a function) >> /root/sources/fhttpd-0.4.2/servproc.c:962: `__s32' undeclared here (not in >> a function) >> /root/sources/fhttpd-0.4.2/servproc.c:964: parse error before `.' >> /root/sources/fhttpd-0.4.2/servproc.c:965: parse error before `.' >> /root/sources/fhttpd-0.4.2/servproc.c:966: parse error before `.' >> /root/sources/fhttpd-0.4.2/servproc.c:967: parse error before `->' >> /root/sources/fhttpd-0.4.2/servproc.c:967: warning: data definition has no >> type or storage class >> /root/sources/fhttpd-0.4.2/servproc.c: In function `finishdropreply': >> /root/sources/fhttpd-0.4.2/servproc.c:975: `__s32' undeclared (first use >> this function) >> /root/sources/fhttpd-0.4.2/servproc.c:975: parse error before `size1' >> /root/sources/fhttpd-0.4.2/servproc.c: At top level: >> /root/sources/fhttpd-0.4.2/servproc.c:975: parse error before `)' >> /root/sources/fhttpd-0.4.2/servproc.c:976: redefinition of `opnum1' >> /root/sources/fhttpd-0.4.2/servproc.c:956: `opnum1' previously defined here >> /root/sources/fhttpd-0.4.2/servproc.c:976: braced-group within expression >> allowed only inside a function >> /root/sources/fhttpd-0.4.2/servproc.c:976: warning: data definition has no >> type or storage class >> /root/sources/fhttpd-0.4.2/servproc.c:976: parse error before `:' >> /root/sources/fhttpd-0.4.2/servproc.c:976: warning: data definition has no >> type or storage class >> /root/sources/fhttpd-0.4.2/servproc.c:976: parse error before `}' >> /root/sources/fhttpd-0.4.2/servproc.c:977: redefinition of `id1' >> /root/sources/fhttpd-0.4.2/servproc.c:957: `id1' previously defined here >> /root/sources/fhttpd-0.4.2/servproc.c:977: braced-group within expression >> allowed only inside a function >> /root/sources/fhttpd-0.4.2/servproc.c:977: warning: data definition has no >> type or storage class >> /root/sources/fhttpd-0.4.2/servproc.c:977: parse error before `:' >> /root/sources/fhttpd-0.4.2/servproc.c:977: warning: data definition has no >> type or storage class >> /root/sources/fhttpd-0.4.2/servproc.c:977: parse error before `}' >> /root/sources/fhttpd-0.4.2/servproc.c:979: redefinition of `vector' >> /root/sources/fhttpd-0.4.2/servproc.c:959: `vector' previously defined here >> /root/sources/fhttpd-0.4.2/servproc.c:980: `__s32' undeclared here (not in >> a function) >> /root/sources/fhttpd-0.4.2/servproc.c:981: `__s32' undeclared here (not in >> a function) >> /root/sources/fhttpd-0.4.2/servproc.c:982: `__s32' undeclared here (not in >> a function) >> /root/sources/fhttpd-0.4.2/servproc.c:984: parse error before `.' >> /root/sources/fhttpd-0.4.2/servproc.c:985: parse error before `.' >> /root/sources/fhttpd-0.4.2/servproc.c:986: parse error before `.' >> /root/sources/fhttpd-0.4.2/servproc.c:987: parse error before `->' >> /root/sources/fhttpd-0.4.2/servproc.c:987: warning: data definition has no >> type or storage class >> /root/sources/fhttpd-0.4.2/servproc.c: In function `setcapabilities': >> /root/sources/fhttpd-0.4.2/servproc.c:995: `__s32' undeclared (first use >> this function) >> /root/sources/fhttpd-0.4.2/servproc.c:995: parse error before `cap1' >> /root/sources/fhttpd-0.4.2/servproc.c:997: `cap1' undeclared (first use >> this function) >> /root/sources/fhttpd-0.4.2/servproc.c: In function `requestexit': >> /root/sources/fhttpd-0.4.2/servproc.c:1006: `__s32' undeclared (first use >> this function) >> /root/sources/fhttpd-0.4.2/servproc.c:1006: parse error before `exf' >> /root/sources/fhttpd-0.4.2/servproc.c:1008: `exf' undeclared (first use >> this function) >> /root/sources/fhttpd-0.4.2/servproc.c: In function `logmessage': >> /root/sources/fhttpd-0.4.2/servproc.c:1020: `__s32' undeclared (first use >> this function) >> /root/sources/fhttpd-0.4.2/servproc.c:1020: parse error before `size0' >> /root/sources/fhttpd-0.4.2/servproc.c:1044: `size0' undeclared (first use >> this function) >> /root/sources/fhttpd-0.4.2/servproc.c:1047: `size1' undeclared (first use >> this function) >> /root/sources/fhttpd-0.4.2/servproc.c:1048: `size2' undeclared (first use >> this function) >> /root/sources/fhttpd-0.4.2/servproc.c:1057: warning: assignment from >> incompatible pointer type >> /root/sources/fhttpd-0.4.2/servproc.c:1058: warning: assignment from >> incompatible pointer type >> /root/sources/fhttpd-0.4.2/servproc.c: In function `makeid': >> /root/sources/fhttpd-0.4.2/servproc.c:1383: `__s32' undeclared (first use >> this function) >> /root/sources/fhttpd-0.4.2/servproc.c:1383: parse error before `)' >> /root/sources/fhttpd-0.4.2/servproc.c:1384: parse error before `)' >> /root/sources/fhttpd-0.4.2/servproc.c: In function >>`createmultipartresponse': >> /root/sources/fhttpd-0.4.2/servproc.c:1577: `__s32' undeclared (first use >> this function) >> *** Error code 1 >> >> Stop. >> >> - >> fhttpd information: http://phobos.illtel.denver.co.us/pub/fhttpd/ >> list archive: http://phobos.illtel.denver.co.us/ml/fhttpd/ > >-- >George Tereshko, DBA. >phone (415)437-1065 mailto:georget@genesyslab.com >fax (415)437-1260 > >pg.1-800-PAGE-MCI:140-5486 mailto:1405486@mcipage.com - fhttpd information: http://phobos.illtel.denver.co.us/pub/fhttpd/ list archive: http://phobos.illtel.denver.co.us/ml/fhttpd/ From owner-fhttpd@phobos.illtel.denver.co.us Sat Oct 9 02:08:21 1999 Received: (from majordomo@localhost) by phobos.illtel.denver.co.us (8.9.1a/8.6.9) id CAA24253 for fhttpd-outgoing; Sat, 9 Oct 1999 02:08:21 -0700 Date: Sat, 9 Oct 1999 02:08:15 -0700 (PDT) From: Alex Belits To: Goodrichs cc: George Tereshko , fhttpd@phobos.illtel.denver.co.us Subject: Re: [fhttpd] fhttpd and apache both with php3? In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fhttpd@phobos.illtel.denver.co.us Precedence: bulk On Sat, 9 Oct 1999, Goodrichs wrote: > I need to read up on the permissions/directory settings now. Can fhttpd > handle vhosting? I take it I can do this via "AddressRoot hostname rootdir" > or "[Abs]GetRule UNCONDITIONAL parameter [parameter-value]". Can someone > give me an example? AddressRoot maps IP address to the http root directory, [Abs]GetRule defines additional mapping either unconditional or based on headers in requests. For example, you have www.foo.com, and www.bar.com on the same IP address, and www.baz.com on another IP adress on the same box. ---8<--- AddressRoot www.foo.com /home/http/foo AddressRoot www.baz.com /home/http/baz GetRule Host EQCI www.bar.com NAMEEQ * BASEDIR /home/http/bar --->8--- There is however one buglike feature -- when virtual host is "IP-less" ("Host" header is used instead of separate IP address), internal redirection on missing trailing slash still uses "canonic" hostname instead of "Host", so if www.bar.com has URL "http://www.bar.com/something/" that points to directory, request with missing trailing slash ("http://www.bar.com/something") will be redirected to "http://www.foo.com/something/" instead of "http://www.bar.com/something/". This does not affect URLs that have no trailing slash, or URLs that have empty path ("http://www.bar.com" and "http://www.bar.com/" are equivalent). Also all other redirection rules will still see "original" directory as based on "canonical" hostname, not redirected one. It happens because "Host" header isn't treated by fhttpd in any special way when redirection URL is composed -- I am going to add the support of such redirection in the next version. IP-based virtual hosts work correctly in all cases. Unconditional GetRule statements can be used, among other things, to override the mapping -- for example, GetRule UNCONDITIONAL NAMEEQ /icons/* BASEDIR /home/http/common if placed after all other rules, will make all files in /home/http/common/icons/ appear at http://www.foo.com/icons/, http://www.bar.com/icons/ and http://www.baz.com/icons/ And, of course, one shouldn't forget that while IP addresses mapping is absolute, rules are applied in their order in configuration -- more detailed explanation is at http://www.fhttpd.org/www/request-processing.html -- Alex ---------------------------------------------------------------------- Excellent.. now give users the option to cut your hair you hippie! -- Anonymous Coward - fhttpd information: http://phobos.illtel.denver.co.us/pub/fhttpd/ list archive: http://phobos.illtel.denver.co.us/ml/fhttpd/ From owner-fhttpd@fhttpd.org Tue Oct 12 12:06:01 1999 Received: (from majordomo@localhost) by phobos.illtel.denver.co.us (8.9.3/8.9.3) id MAA29595 for fhttpd-outgoing; Tue, 12 Oct 1999 12:06:01 -0700 X-Authentication-Warning: phobos.illtel.denver.co.us: majordomo set sender to owner-fhttpd@fhttpd.org using -f Date: Tue, 12 Oct 1999 12:06:00 -0700 (PDT) From: Alex Belits To: fhttpd@fhttpd.org Subject: [fhttpd] Mailing list address change: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fhttpd@fhttpd.org Precedence: bulk fhttpd@phobos.illtel.denver.co.us is now fhttpd@fhttpd.org -- Alex ---------------------------------------------------------------------- Excellent.. now give users the option to cut your hair you hippie! -- Anonymous Coward - fhttpd information: http://phobos.illtel.denver.co.us/pub/fhttpd/ list archive: http://phobos.illtel.denver.co.us/ml/fhttpd/ From owner-fhttpd@fhttpd.org Tue Oct 12 13:22:42 1999 Received: (from majordomo@localhost) by phobos.illtel.denver.co.us (8.9.3/8.9.3) id NAA30326 for fhttpd-outgoing; Tue, 12 Oct 1999 13:22:42 -0700 Date: Tue, 12 Oct 1999 13:22:40 -0700 (PDT) From: Alex Belits To: fhttpd@fhttpd.org Subject: [fhttpd] testing new address, ignore Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fhttpd@fhttpd.org Precedence: bulk -- Alex ---------------------------------------------------------------------- Excellent.. now give users the option to cut your hair you hippie! -- Anonymous Coward - fhttpd information: http://www.fhttpd.org/ list archive: http://phobos.illtel.denver.co.us/ml/fhttpd/ From owner-fhttpd@fhttpd.org Thu Oct 21 18:28:04 1999 Received: (from majordomo@localhost) by phobos.illtel.denver.co.us (8.9.3/8.9.3) id SAA22566 for fhttpd-outgoing; Thu, 21 Oct 1999 18:28:04 -0700 X-Sender: nbd95@popmail.macconnect.com Message-Id: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" To: fhttpd@fhttpd.org From: Goodrichs Subject: [fhttpd] Workin' great Date: Thu, 21 Oct 1999 21:26:51 -0400 Sender: owner-fhttpd@fhttpd.org Precedence: bulk I've had fhttpd running just fine and all seems well. I really like the ability to handle permissions so well. Any noise on when and if fhttpd will be able to use php4? I am going to be needing session control and I'd rather not use the poe libs, php4 is a much cleaner way to handle it. DAve. P.S. Not that the poe libs are bad, I like em, but php4's built-in session control is the cats meow. - fhttpd information: http://www.fhttpd.org/ list archive: http://phobos.illtel.denver.co.us/ml/fhttpd/ From owner-fhttpd@fhttpd.org Thu Oct 21 19:02:11 1999 Received: (from majordomo@localhost) by phobos.illtel.denver.co.us (8.9.3/8.9.3) id TAA22676 for fhttpd-outgoing; Thu, 21 Oct 1999 19:02:11 -0700 Date: Thu, 21 Oct 1999 19:02:09 -0700 (PDT) From: Alex Belits To: Goodrichs cc: fhttpd@fhttpd.org Subject: Re: [fhttpd] Workin' great In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-fhttpd@fhttpd.org Precedence: bulk On Thu, 21 Oct 1999, Goodrichs wrote: > Any noise on when and if fhttpd will > be able to use php4? I'm working on it -- test version already works (http://phobos.illtel.denver.co.us/~abelits/phpinfo.php4), yet some things are still missing. I expect that next week I'll commit usable version into php4 CVS, and it will be in whatever php4 version will be released after current beta2. -- Alex ---------------------------------------------------------------------- Excellent.. now give users the option to cut your hair you hippie! -- Anonymous Coward - fhttpd information: http://www.fhttpd.org/ list archive: http://phobos.illtel.denver.co.us/ml/fhttpd/