Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
Apache Software

Covalent's Version of Apache 2.0 To Drop Monday 85

kilaasi points out this CNET story about the planned release on Monday of Apache 2.0, "or at least the version that has proprietary extensions. Covalent sells the core of Apache and its own extensions which make it easier to adapt for specific areas and simpler to administer. Covalent is confident that the next generation Apache is mature and is ready for prime time. Covalent employs some of the core members of the Apache-development-team." XRayX adds a link to Covalent's press release, writing: "It's not clear when the Open Source Edition (or whatever) will come out and I didn't find anything at the official Apache Site." Update: 11/10 16:37 GMT by T : Note that the product name is Covalent Enterprise Ready Server; though it's based on Apache software, this is not Apache 2.0 per se. Thanks to Sascha Schumann of the ASF for the pointer.
This discussion has been archived. No new comments can be posted.

Covalent's Version of Apache 2.0 To Drop Monday

Comments Filter:
  • by chrysalis ( 50680 ) on Saturday November 10, 2001 @10:29AM (#2548290) Homepage
    One of the most annoying thing in Apache 1.x is that when PHP is compiled in the server (not run through the CGI), all scripts are running as "www", "nobody", or whatever anonymous user your Apache daemon is running as.
    There's no way to have PHP script run as different users (just like what suexec does for spawning CGI external progs) .
    Sure, PHP has a so-called "safe-mode", but it's still not that secure, especially when it comes to creating files or acess shared memory pages.
    I was told that Apache 2.0 had a mechanism that could make user switching for PHP scripts possible. Has anyone experimented with it?

  • by Kenny Austin ( 319525 ) on Saturday November 10, 2001 @10:32AM (#2548295) Homepage
    "It's not clear when the Open Source Edition (or whatever) will come out and I didn't find anything at the official Apache Site."

    Here is apache 2.0 documentation [apache.org] and you can download [apache.org] 2.0.16 (public beta) or 2.0.18 (it's an alpha).. but what do you want them to open source? The 2.0 core (it is) or the proprietary enhancements (yeah right).

    Kenny


    at least slashdot didn't change my urls into http://slashdot.org/httpd.apache.org this time.
  • Re:At $1495 per CPU (Score:4, Informative)

    by GC ( 19160 ) on Saturday November 10, 2001 @10:34AM (#2548300)
    Yes quite, for those of you who just want to download Apache 2.0, compile it and have it running by the time you could have bought the package from Covalent, go here [apache.org]
  • by huftis ( 135056 ) on Saturday November 10, 2001 @10:54AM (#2548341) Homepage
    It's not clear when the Open Source Edition (or whatever) will come out and I didn't find anything at the official Apache Site.

    Apache Week has more information [apacheweek.com] on this:

    Those waiting since April for a new 2.0 beta will have to keep on waiting after another release candidate, 2.0.27, was abandoned this week when a bug was discovered while running the code on the live apache.org server. Some httpd processes were found to be stuck in infinite loops while reading POST requests; the bug was traced to the code handling request bodies. After fixes for this bug and a build problem on BSD/OS were checked in, the tree was tagged ready for a 2.0.28 release.
  • by Akardam ( 186995 ) on Saturday November 10, 2001 @10:59AM (#2548352)
    There's no way to have PHP script run as different users (just like what suexec does for spawning CGI external progs)

    Actually, there is. You have to use PHP in CGI mode, where it ISN'T compiled into Apache as a module. I've never used it in that mode myself (I only have one simple PHP script on my entire server); however, a search on google for php+suexec [google.com] turns up some info. Apparently, CGI mode does work, but not quite as well as module mode (some people seem to indicate that it runs like a dog).
  • mod_perl (Score:2, Informative)

    by m_ilya ( 311437 ) <ilya@martynov.org> on Saturday November 10, 2001 @11:46AM (#2548436) Homepage
    What about all of the cool API stuff and plugins, I suppose they all have to be rewritten? Mod_rewrite, mod_perl, etc, etc, yes?

    AFAIK Apache's API have been changed and indeed all its modules should be rewritten for new Apache.

    I don't know about all modules but here some info about mod_perl. There is already exist rewrite [apache.org] of mod_perl for Apache 2.0 with threads support. It has many tasty features. Check [apache.org] yourself.

  • by cehf2 ( 101100 ) on Saturday November 10, 2001 @12:10PM (#2548474)
    With any application running on a web server there is a trade off between performance and security. because the PHP module is running inside the core of the web server, it should be fairly fast, however if you want the ability to change what users the php scripts run as, your only option is to use CGI scripts. CGI by its very nature is *very* slow. This is due to the overhead of the fork/exec/load program.

    You may also be able compile PHP as a FastCGI program, you could then run several external FastCGI's as different users and configure Apache to run the particular script with a particular FastCgi program. I have no idea how to do this with apache, as I use Zeus [zeus.com] myself.

    If Apache 2 does have a way to switch users for PHP scripts, it will not be secure. Under UNIX, once you have dropped your permissions you can never gain them again. The work around is to have 'real' and 'effective' users that programs run as. As long as you only change your efective user, you can re-gain permissions, but anything can regain permissions. You can also only change users when you are root. This would be a big security hole, in that if there was a buffer overflow attack root could trivially be optained by anyone.

    security, performance, configurability - pick 2

  • by Furry Ice ( 136126 ) on Saturday November 10, 2001 @12:36PM (#2548537)
    Programming threads is just as hard as programming with processes on a conceptual level. The type of problems you encounter are the same.

    This makes it sound as if the two models have equivalent obstacles, and that neither is easier than the other. It's true that separate processes are used for stability reasons, but that stability isn't gained only because one process can crash without taking all other processes with it. The main problem with threads that doesn't exist with processes is with shared memory. All variables on the heap can potentially be accessed by two threads at any given time, and access to them must be synchronized. Bugs related to these race conditions can be very hard to track down, and many people would rather forego the problem entirely and just use processes.
  • -1 FUD (Score:2, Informative)

    by jslag ( 21657 ) on Saturday November 10, 2001 @02:37PM (#2548812)
    Look at Ken Coar's editorial in the last Apache Week. The ASF is spinning their wheels at this point.


    The article [apacheweek.com]
    in question says nothing of the sort. It notes that the development processes of apache have changed over the years, with associated wins and losses.


    Why has IIS taken over the SSL market? Because it ships with EAPI.


    Thanks for the laugh.

  • by Jeff Trawick ( 139236 ) on Saturday November 10, 2001 @11:52PM (#2549816) Homepage
    painful question :( various folks have tried running threaded on FreeBSD... we got weird symptoms that nobody has had time/skills to track down... sadly, I think a FreeBSD pthreads guru is going to need to build a threaded Apache 2.0 and debug it... maybe we're just tickling FreeBSD pthreads the wrong way and a small change would take care of it... maybe current FreeBSD pthreads just can't support threaded Apache... I dunno

    even prefork (non-threaded) MPM with a thread-safe APR doesn't work right on FreeBSD... if I recall correctly, the parent process was eating lots of CPU in some sort of signal code...

"Gravitation cannot be held responsible for people falling in love." -- Albert Einstein

Working...