Re: php_build .htaccess directives
Albert Lash <alby-8/[email protected]> Thu, 2 Jun 2005 17:05:34 -0400 (EDT)
| Newsgroups | gmane.comp.lib.nexista.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi Joshua, thanks for helping me figure this out. I can feed it scripts and it outputs them fine, though without any headers now. I've moved beyond the redirect problem, now I'm facing: [Thu Jun 02 16:47:37 2005] [error] [client 192.168.0.2] Premature end of script headers: php Any ideas? The web is full with other reasons that cause this problem... Alby On Thu, 2 Jun 2005, Joshua wrote: > That's looks fine - assuming you are allowed scriptaliases in your apache conf > - but since you've been using it.... > The redirect message is weird - doesn't sound like it has to do with that. > Have you tried first passing a simple php file (echo statement) straight to > the binary as > > php myfile.php > > On Thursday 02 June 2005 9:42 am, Albert Lash wrote: > > Hi Joshua, > > > > I'm trying to use the php_build script you built, but I keep getting a > > configuration error. When I call the cgi/php script, I can get the php > > binary to output the version, like this: > > > > cgi/php -v > > > > Is my .htaccess accurate: > > > > Action custom-php /cgi/php > > AddType custom-php .php > > > > The apache error_log says it met the maximum number of redirects.... > > > > Thanks, > > > > Al >