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
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
20 - 7 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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: Fri Jun 14 22:01:30 2024 UTC