php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #119 force-cgi-redirect figured out automatically
Submitted: 1998-03-01 03:52 UTC Modified: 1998-03-01 09:03 UTC
From: ars at ziplink dot net Assigned:
Status: Closed Package: Feature/Change Request
PHP Version: 3.0 Latest CVS OS: FreeBSD
Private report: No CVE-ID: None
 [1998-03-01 03:52 UTC] ars at ziplink dot net
Is it possible for configure.in to disable force-cgi-redirect
automatically if with-apache is not specified?

i.e. If with-apache is set default is enable it, if it's not
set default is disable it, actually specifying it to
./configure overrides this.

This will allow it to be much easier for a newbie to compile
since it figures out the right thing.

I think you can do it by not setting a default for force-cgi-redirect
in configure.in and instead when with-apache is used set it
to what it should be (making sure not to clobber it if set).

I'm not exactly sure how configure.in works, but if it always
parses from top to bottom with only one pass then I guess it
might be easier to just check with-apache and set the default
that way.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-03-01 09:03 UTC] zeev
That doesn't really make sense, as if apache module is used, there's no affect
to force-cgi-redirect.
However, IMHO force-cgi-redirect should be off by default.	
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Oct 13 17:01:27 2024 UTC