Slashdot Mirror


Apache 2.0 Goes Gold!

The Apache Software Foundation's Apache HTTP Server, version 2.0.35, has now been released for General Availability. You can find the official announcement, and download the server, from their website. Be sure to try a mirror first. Congratulations to the HTTP Server Project for getting the final release out. If you are wondering about it being usable in a production environment, you should poke around Slashdot's servers and see if you are surprised (now if only mod_perl was finished we could move more of our servers over to using the new release).

The HTTP Server Project is now recommending this release for use on production websites. 2.0.35 is now considered their best release and should be used in preference to all older versions (including the 1.3 series). A few of the new features are:

  • higher performance over 1.3
  • multiple operational models: threaded, hybrid multi-processes and multi-threaded
  • specific request processing for Windows, Netware, BeOS, and OS/2
  • integrated SSL and WebDAV support
  • improved HTTP proxy support
  • I/O layering and filtering

107 of 325 comments (clear)

  1. Good news! by quantaman · · Score: 4, Funny

    Now www.wehavethewayout.com can upgrade back to a real server now!

    --
    I stole this Sig
    1. Re:Good news! by cpeterso · · Score: 2, Funny

      Server: Microsoft-IIS/5.0


      This only PROVES that Microsoft has successfully ported IIS to FreeBSD!! Microsoft's new Rotor runtime for FreeBSD is already paying off handsomely, allowing them to finally ditch NT.. ;)

    2. Re:Good news! by Basje · · Score: 2

      I still like that picture. If you look closely, you can see that the light is coming from inside the maze. So you may leave the maze by using windows, but apparently you'll be stumbing in the dark.

      --
      the pun is mightier than the sword
  2. Well.. by smaug195 · · Score: 2, Funny

    It's pretty clear why this is from the from the hell-freezes-over-news-at-5 dept. All those pigs make quite a bit of cold air.

  3. The Pipe of Death by James_G · · Score: 5, Funny
    *) Remove all signals from the worker MPM's child process. Instead, the parent uses the Pipe of Death for all communication with the child processes. [Ryan Bloom]

    The Pipe of Death? Does this conjur up images of developers sitting around a room saying things like.. "Man.. pass the pipe of death.. I need a hit", followed by lots of giggling and an unbelievable craving for chocolate and/or chinese food?

    No? Um, ok.. must be just me then..

    1. Re:The Pipe of Death by Jucius+Maximus · · Score: 5, Funny
      "The Pipe of Death? Does this conjur up images of developers sitting around a room saying things like.. "Man.. pass the pipe of death.. I need a hit", followed by lots of giggling and an unbelievable craving for chocolate and/or chinese food?"

      I was thinking more along the lines of 'I will club you over the skull with the pipe of Death. It has +7 attack versus Trolls and +6 defence against Moderators.'

    2. Re:The Pipe of Death by LadyLucky · · Score: 2, Funny
      No, you are correct. It does conjure up said images.

      Chocolate cravings... mmm.... those flake ice cream cones are great for those little hunger pangs.

      Hopefully however, the pipe of death will not actually conjure up any child processes. Im not quite at that stage in my life yet.

      --
      dominionrd.blogspot.com - Restaurants on
    3. Re:The Pipe of Death by Kingpin · · Score: 2, Funny


      Check the comment for this guy:

      http://httpd.apache.org/contributors/#kasichainu la

      Quite funny :)

      --
      Unable to read configuration file '/bigassraid/htdig//conf/14229.conf'
      Geocrawler error message.
  4. Playing it safe by Torinaga-Sama · · Score: 4, Funny

    Or maybe playing it lazy, I will wait a little while longer to upgrade. When I was younger I like being the first kid on my block to get the new toy. Now I am older and I don't even like going outside...

    --
    (/local/home/curiosity)-#who -u|grep thecat|cut -c 44-49|xargs kill -9
  5. Better performance? by Cutriss · · Score: 3, Funny

    higher performance over 1.3

    Really? I guess we'll find out in just a few minutes exactly *how* much more performance 2.0 has over 1.3... :)

    --
    "Mod, mod, mod...and another troll bites the dust."
    1. Re:Better performance? by quantaman · · Score: 2

      On that note this discussion seems be be shared between this this storyand this poll!, I don't know which one you origionally posted too but you have a comment in both!! (well at least until they fix the bug and then I'll by moderated into oblivion:)

      --
      I stole this Sig
    2. Re:Better performance? by CrimsonDeath · · Score: 2, Interesting
      The fact that the poll you mention is the 'article poll' for the article that you mentioned probably has something to do with it.

      Just pointing out the obvious...

    3. Re:Better performance? by doooras · · Score: 2

      looks like it has become the poll on the main page as well...

    4. Re:Better performance? by jellomizer · · Score: 4, Interesting

      Well I decided to give a quick speed test. This is not scienctific Data I bet there are flaws in my testing and it is NOT REAL WORLD APPS. But my Test gave the results that Apache 2 is about 13% faster then 1.3.

      This is what I did. On a Sun Ultra 10 I installed Apache 1.3 and 2.0 (Latest of both and compiled them using the same compilers)
      port 80 was Apache 2.0
      port 8080 was Apache 1.3

      Then I used Lynx -dump http://localhost:0080 > /dev/null

      and recorded the time it would take to do 3000 connections

      then I did the same but on port 8080

      and recorded the time

      it took 2.28 for apache 2
      2.63 for apache 1.3

      so 2.0 is roughly 13% faster.

      This was testing 1 connection at a time not multable connections.

      --
      If something is so important that you feel the need to post it on the internet... It probably isn't that important.
    5. Re:Better performance? by cybermage · · Score: 2


      port 80 was Apache 2.0
      port 8080 was Apache 1.3


      Want to test it under load? Just follow up with the URL. I'm sure many here will accomodate you.

    6. Re:Better performance? by Electrum · · Score: 2

      A better test would be http_load, since it tests multiple connections in parallel. I don't know of a test client that does multiple connections and utilizes persistent connections, but that would be ideal for load testing. But, of course, Apache's is inherently limited to the number of connections it can handle, due to using a separate thread/process for each connection.

    7. Re:Better performance? by rasjani · · Score: 2

      As a sidenote, apache (atleast 1.3) series ships with its own benchmarking tool called ab. So, while you where writing a shellscript to time the requests, you could have just written:

      ab -n 3000 -w http://localhost:8080 ab -n 3000 -w http://localhost:80

      Another sidenote, few issues back in the Linux Magazine was article about Apache 2.0 and it gave me a quite good impression what apache 2.0 is all about but it also left me with feeling that 2.0 is not performing as fast as 1.3 because of new modularity in pretty much every phase of the server processing the request it takes... Hell, article even said that with a little coding, you could turn apache 2.0 to working imap server!

      --
      yush
    8. Re:Better performance? by Doomdark · · Score: 3, Informative
      But, of course, Apache's is inherently limited to the number of connections it can handle, due to using a separate thread/process for each connection

      Hmmh. I may be wrong but:

      A few of the new features are: ... * multiple operational models: threaded, hybrid multi-processes and multi-threaded

      Does this not indicate that this is not necessarily true any more? Plus, on some platforms limitation is pretty high, esp. for threads ('full' processes usually have lower limits).

      --
      I like paying taxes. With them I buy civilization -- Oliver Wendell Holmes
    9. Re:Better performance? by Electrum · · Score: 2

      Either way, it takes a thread or a process for each connection. Even with dynamic content, most of your content is static (i.e. images). For static content, you need a non blocking server that runs in a single process to get the best performance. And the majority of the high traffic sites on the net (adult sites) have lots of images. Thus it makes sense to have a non blocking core, and only use threads or processes for things that are more difficult to do in a single process. Better yet, leave all that stuff out of the server entirely, and use an API designed to be high performance and non blocking friendly: FastCGI. But Apache can stay a toy, and those of us that need high performance will have to continue paying for a closed source, real web server: Zeus. The Apache developers can complain all they want about how it's too hard to do and isn't necessarily the best way, while continuing to ignore the best web server available. Oh, and where's my easy to use mass virtual hosting, good config file format and web configuration tool?

      And if you think this is a troll, then go play with Zeus for a day, and you'll see why Apache is nothing more than a toy.

    10. Re:Better performance? by sparkz · · Score: 2

      try:
      lynx -dump http://server:port > /dev/null &
      to run it it in parallel - and do try it from another box, not localhost, since the performance will be different (but tell you more about your OS with apache than apache itself, but I guess localhost implementations differ, too)

      --
      Author, Shell Scripting : Expert Re
    11. Re:Better performance? by Doomdark · · Score: 2
      Um, I take it you replied to wrong post? Or if not, you didn't explain in any way or form whether Apache's hybrid perhaps might improve scalability. Where did you get the idea I have something against Zeus, or touting Apache as the ultimate killer production server?

      If you want to rant in "Apache is a toy" way, go troll with someone else. I wasn't making statements about Apache's usability, but merely questioning the assumption of "Apache is inherently limited by ...". And your post was pretty devoid of any counter arguments as well.

      --
      I like paying taxes. With them I buy civilization -- Oliver Wendell Holmes
  6. Re:Work with OSX? by doooras · · Score: 3, Funny

    Just use VirtualPC with a Linux OS Pack.

    unless, of course, you want it to run at a usable speed...

  7. PHP not there yet by augustz · · Score: 5, Informative

    Upgrades are a little early unless PHP starts compiling in, especially statically. (A la mod_php without DSO). They're getting close, php 4.2.0 should work I suspect, whenever it or any other previewish release comes out.

    Also, be nice to get some good benchmark numbers. Speed / SSL / Dynamic Content seem to be things just about everyone relies on, and it'd be great to have a nice case to move from 1.3. I know the Apache team has made a lot of progress on this, be great to see it validated.

    Bravo all around of course.

    - August

    1. Re:PHP not there yet by Kwikymart · · Score: 3, Insightful

      Yes, but there are some of us that like to use STABLE code. It's not really php's fault though. *sigh* this is probably a useless argument, however, because of the fact that this is fundamentally a x.0.0 release (even though its really 2.0.35). I am not going to run it till it has spent some time in the field (or I may set it up on an extra non-production machine). Damn, php rules for small applications.

      --

      Buying a Dell computer is equivalent to dropping the soap in a prison shower.
    2. Re:PHP not there yet by Perdo · · Score: 2

      I couldn't tell if previewish was an actual word so I did a search on google for it.

      previewish

      Almost a googlewhack. But it's not a real word so it's a googlethud.

      --

      If voting were effective, it would be illegal by now.

    3. Re:PHP not there yet by cliffwoolley · · Score: 3, Informative

      This should be fixed in HEAD for PHP already as I understand it. These compile errors are a result of the bucket brigades freelist API changes that went in to 2.0.34. I've heard there are some residual problems with PHP HEAD, but those are being debugged as we speak.

    4. Re:PHP not there yet by Metrol · · Score: 2

      I couldn't tell if previewish was an actual word so I did a search on google for it.

      Now that this word has been mentioned all of 3 times now in this thread, it is now an official Internet term! Don't believe me? Follow that Google link once more. Now has 2 valid hits.

      --
      The line must be drawn here. This far. No further.
    5. Re:PHP not there yet by Perdo · · Score: 2

      I saw it too... we were here for the making of the word "Previewish" .... what the hell does it mean? When something gets delivered to you that you were hoping to get to see.... noun? OK, I'll spread it... you can too... our missoin is to use it at least three times in coversation in the next week... Mission impossible music... We can hope for AYBABTU status.. but we may nedd something more catchy.

      --

      If voting were effective, it would be illegal by now.

  8. Watch Software Update by TegSkywalker · · Score: 2, Informative

    I bet Apple will have Apache 2.0 available thru their Software Update or whatever for the OSX Server.

    They are usually pretty good with stuff like that.

    1. Re:Watch Software Update by cpeterso · · Score: 4, Insightful


      I seriously doubt Apple would "slipstream" Apache 2.0 onto users' computers via Software Update. Apache 2.0 breaks backwards compatibility on many Apache modules and who know what else. Since Apache 2.0 is largely untested by the public, I bet Apple will wait for a few more updates and then include it later in Mac OS X 10.2.

  9. It had to be someone by tunah · · Score: 2

    Given the readership of slashdot, there *had* to be *someone* who installed the old version recently. But I swear I just finished compiling this an hor ago!

    --
    Free Java games for your phone: Tontie, Sokoban
  10. I'll poke... by Perdo · · Score: 2

    "you should poke around Slashdot's servers and see if you are surprised"

    Slashdot is running

    Apache/1.3.20 (unix)
    mod_perl/1.25
    mod_gzip/1.3.1.19.1a

    I'll look around some more...

    --

    If voting were effective, it would be illegal by now.

    1. Re:I'll poke... by Raetsel · · Score: 5, Interesting

      Poke some more, you quit too soon.
      • GET /article.pl?sid=02/04/06/0216250 HTTP/1.1
      • HTTP/1.1 200 OK
        Server: Apache/1.3.20 (Unix) mod_perl/1.25 mod_gzip/1.3.19.1a
        X-Powered-By: Slash 2.003000
        X-Fry: Where's Captain Bender? Off catastrophizing some other planet?

      • GET /Slashdot/pc.gif?article,1018062768900 HTTP/1.1
      • HTTP/1.1 200 OK
        Server: Apache/1.3.17 (Unix)

      • GET /banner/cdig0001en.gif?1018062768915 HTTP/1.1
      • HTTP/1.1 200 OK
        Server: Apache/2.0.35 (Unix)
      Well, there's the first one at least. Looks like their banner ad server's on 2.0+. I don't feel like formatting the rest of the logfile, but there are a couple more in there.

      --

      "...America's great minds of today, teaching America's great minds of tomorrow. Poor bastards." -- A Beautiful Min
    2. Re:I'll poke... by SirSlud · · Score: 2

      > Seems like they could hire some staff and do this stuff in-house.

      Nah, its must more cost effective to use ad networks; you can chain them together using redirects or rotate them. You basically have some flexibility if you are a large site, in terms of juggling multiple networks.

      At any rate, building reporting systems for the immense data that comes from advertising is not trivial, especially considering the kind of criteria (unique users, frequency rate, etc) advertisers use to do media buys. And you need the reporting to sell your inventory effectively ...

      --
      "Old man yells at systemd"
    3. Re:I'll poke... by Perdo · · Score: 2

      Building ad network databases is not trivial, but neither is developing and running slashcode and running slashdot. They can build in features that personalize my webpage, only accept unique IP addresses for each poll vote, handle the user pages of half a million users, do an admittedly poor job of enableing a site search and accept loads that are able to crash every other site on the net (remember Slashdot is always slashdotted and shows few load affects). I'm sure they could build a database that tells them Perdo (me) has only clicked through to think geek and only purchased a caffine coffee mug when I got there.

      Incedental to my reading slashdot, I have purchased "Pro" distros of Redhat and Mandrake for home and 3 cobalt servers for work. Slashdot itself is an advertisement for Linux. They can attempt to milk the ad cow dry but what they need to do instead of selling out to a company willing to violate my privacy, is stop posting cool stories about the companies that are actually benefiting the most from slashdot.

      Redhat, pay up. Sun, pay up. Apple, pay up. Either that or loose your best press coverage in a community that has a hell of a lot of purchasing power. Companies will support the community provided by this forum or they will not be discussed, which based on the word of mouth nature of Linux, will kill those companies.

      Sounds like extortion but it is simply the beneficiaries paying for service rendered. Send the mac addicts back to macslash. Support the forum or be excluded.

      --

      If voting were effective, it would be illegal by now.

    4. Re:I'll poke... by fanatic · · Score: 2


      Paypal has gotten quite a bit of bad press here on slashdot, but were chosen to handle Slashdot's subscriptions anyway.

      Why is Slashdot in bed with these slimeballs when they do not have to be?


      Screw subscriptions. Screw banner ads. Use Galeon or Mozilla and turn off image downloads. (Or use lynx or w3m...). Because even if you get the payment service you like, Slashdot will still resort to it's shameless eyeball-whoring in stupid misleading article writeups, etc.

      --
      "that's not encryption - it's a new perl script that I'm working on..." - from some Matrix parody
  11. not just mod_perl needed by RoscoeVill · · Score: 2, Insightful

    What about appropriate version of tomcat? I'm hoping that since there is real current dev on that at the moment, that it should work when I try later this weekend.... but all the jakarta doc says apache 1.3...

    Any one try it yet?

    1. Re:not just mod_perl needed by dcsmith77 · · Score: 2, Informative

      There are apache2 module binaries in the tomcat4 directory, at least for mod_jk which i prefer on principle

  12. Changelog by cscx · · Score: 5, Funny

    Example of open source at its best:

    Changes since 2.0.32-beta:

    *) connection.c: changed ++j to j++ in an attempt to fix a bug in mod_rewrite [Brian Pane]

    *) connection.c: changed ++i to ++j in honor of myself [Joe Orton]

    *) connection.c: fuck you guys, ++i is better [Justin Erenkrantz]

    *) connection.c: changed i += 1 to i++ for better performance [Graham Leggett]

    *) connection.c: changed i = i + 1 to i += 1 [Ian Holsman]

    [...]

    1. Re:Changelog by benedict · · Score: 2, Funny

      I hope Mr. Leggett wasn't serious.

      --
      Ben "You have your mind on computers, it seems."
    2. Re:Changelog by cpeterso · · Score: 3, Funny


      this explains it. No wonder Apache was stuck on version 1 for so long!! ;)

    3. Re:Changelog by Lictor · · Score: 3, Informative

      Not to spoil it for you or anything, but you really should have at least a *marginal* understanding of optimizing compilers before you go pretending to be an expert.

      I don't mean to be nasty here, but NOTHING offends me more than an arrogant ignorant person. We all make mistakes, and thats cool, but when you jump down someone elses back with condescending remarks you better be sure that you know what you're talking about.

      Without further ado, here are two C programs:

      add.c:
      main(){ int i; i = 0;i++;}

      add2.c:
      main(){int i;i = 0;i+=1;}

      Now, we compile them using the -S option on gcc (in my case on a SPARC running Solaris, but I'd wager you'd get similar results on just about any supported architecture). So again, we do a:

      % gcc -S add.c
      % gcc -S add2.c

      (I tried to post the .s files here, but our old friend the lameness filter clobbered them)

      Now, do a 'diff' on 'em. Draw your own conclusions.

    4. Re:Changelog by Fweeky · · Score: 2

      > % gcc -S add.c
      > % gcc -S add2.c

      Let's try gcc -O -S:

      -% diff add1.s add2.s
      1c1
      < .file "add1.c"
      ---
      > .file "add2.c"

      *cough*

    5. Re:Changelog by Lictor · · Score: 2

      First off, you're right, I was being a jerk, and I feel badly about that. My apologies.

      Now, about the parse tree... I would agree that they are performing the same function, but given that gcc almost certainly parses its input with an LR(n)-parser, I'm going to go out an a limb and say that the trees for i+=1, i=i+1, i++ are different.

      If you have differently structured input, and an (almost) context-free grammar to parse it... you'd better get different trees for different structures.

      I also disagree that it has 'nothing to do with optimization'. If you just spat out assembly code from the tree, you *should* notice a difference in i=i+1, i++. If you do any type of basic optimization (even simple peephole optimization would catch this in the IR), then you'll end up with equal output.

      I also respectfully disagree that RTL is a faithful reproduction of the original parse tree. From the 'Reading RTL' section of the gcc docs:

      "Correct RTL for a given program is very dependent on the particular target machine. And the RTL does not contain all the information about the program."

      Since an LR(1) parse tree of a program should look the same independant of the underlying architecture , I'm going to make the bold assumption that some optimizations take place at the RTL level. This seems very reasonable and is the case in other compilers I've worked with, but since I've never specifically worked with gcc, I'm not 100% sure.

      I would imagine there is a way to get gcc to print out the parse tree, rather than the IR, but not being that familiar with it, I wouldn't know what that was. You could always grab the BNF spec for the C grammar and code it up in Bison ;)

    6. Re:Changelog by realdpk · · Score: 2

      Call me ignorant or whatever, where is the ChangeLog for connection.c? I'm not able to find it in my tarball or on their site (maybe not looked close enough?)

  13. Apache Goes Gold by totallygeek · · Score: 2

    Goes gold?

    When did they sell 100,000 copies?

    1. Re:Apache Goes Gold by doooras · · Score: 4, Informative

      a while ago.

  14. Re:I'll use it when Debian packages it. by jeboyer · · Score: 2, Informative

    Looks like a Debian developer is already on top of it--see the announcement in the debian-apache mailing list.

    They're not "official" yet, but here you go.

  15. Mirror ? Someone willing to mirror it ? by x-empt · · Score: 2

    The official mirrors haven't rsync'd yet. Anyone mind posting a mirror of the sources for this sucker ?

    --
    Ever need an online dictionary?
  16. Configuration, setup? by Phroggy · · Score: 3, Insightful

    What do I need to know about upgrading from 1.3 to 2.0? What's different in the configuration? Any changes in the way the files are laid out by default? Will my existing httpd.conf work without modification? Would that be a stupid thing to try?

    I thought I heard somewhere that 2.0 might make it possible to have PHP scripts with per-user permissions, like you can get CGI scripts to do if you use suEXEC to setuid to the appropriate user before executing. This is important for servers with multiple users running their own web sites; even if all your users are trusted not to mess with each other's stuff you can run into icky situations where a PHP script writes to a file that the user then doesn't have FTP access to (so they have to write another PHP script to access it). Did I hear correctly? If so, what's involved in configuring it? If not, does anyone have any workarounds?

    --
    $x='S24;r)>63/* h@<5+oZ)32"5cz';$me='phroggy'x$];
    $x=~y+ -xz+\0-Tx+;print$_^chop$me for split'',$x;
    1. Re:Configuration, setup? by cliffwoolley · · Score: 5, Informative
      Check out my Linux Magazine article from January, which was just posted online recently.</shameless plug>

      The short answer to your question: while yes, you can probably get your 1.3 config to work without *too* many changes, you should spend a bit more time exploring Apache 2.0, or you'll miss out on a lot of the benefits.

      The configuration is totally different; it uses GNU autoconf now instead of the home-grown APACI system. The two have many similarities, but you should peruse all of the

      ./configure --help
      options carefully.

      The perchild MPM (which provides the configurable userid per Apache child process that you mention) is possibly not yet working; it's still classified as experimental. But we'll probably be getting that cleaned up within another release or two.

  17. april wil be the best month of the year by tinomeinen · · Score: 2, Informative

    KDE 3.0, Apache 2.0, Mozilla 1.0, myownsillyproject 0.0

  18. comments split? by (startx) · · Score: 2, Interesting

    It appears as if the comments for the story and the poll are the same comments. wierd. anyway, It seems I'm not the only one who has rooted coybow neal's box...

  19. What about LDAP support? by stonebeat.org · · Score: 2, Informative

    Apache 2 is great. I have been testing/playing with it for about 2 years now. I luv the thread/process model. and I luv the built SSL and DAV support. However I would have really loved it, if it had built-in LDAP auth module. When I started testing it initially, there were talks of including the module in the source tree. But they dropped the idea. I have tested several previous releases of Apache 2 and none of them had support for LDAP, nor have I figured out a way yet to compile LDAP auth module into Apache 2 as of yet. Any ideas/thoughts?

    1. Re:What about LDAP support? by cliffwoolley · · Score: 2, Informative

      LDAP support was moved to a subproject of httpd. You can checkout the httpd-ldap tree from anonymous CVS if you like. No guarantees on whether it works at the moment, as I haven't tried it. Guess I should do that sometime soon. ;)

  20. I'll run Apache 2.0 by Saint+Aardvark · · Score: 5, Funny

    when its version number is the same as my Linux 7.2.

    1. Re:I'll run Apache 2.0 by Anonymous Coward · · Score: 5, Funny

      You're still using Linux 7.2? You should switch to the new AOL 8.0, it's better.

    2. Re:I'll run Apache 2.0 by archen · · Score: 2, Funny

      emacs, need I say more?

  21. Apache went gold a long time ago by totallygeek · · Score: 2
    Yeah, Apache is the best. But, they haven't sold anything. I am very excited about this, and will have the whole weekend to install and play with it.

    1. Re:Apache went gold a long time ago by totallygeek · · Score: 2

      I'm not sure if you where joking but thats not what they where saying


      It was a long way to go for the +1 funny moderation. I didn't know all that about going gold, but I understood what was meant. I am very much ready to check out the new Apache.

  22. Re:I'll use it when Debian packages it. by Slash+Veteran · · Score: 2, Insightful
    me too. I don't need freshmeat-type announcements (though I don't mind them, guys). But Debian is my preferred delivery system.

    If you're not using Debian, you're wasting your time -- literally.

  23. And StarOffice 1.0 by Micah · · Score: 2

    :-)

    And GNOME 2? Not sure on that one.

  24. Journalistic ethics in action... ;-) by stienman · · Score: 5, Funny

    Of course, when it's something Slashdot depends on, they not only wait for the official announcement, they wait until they've downloaded it before printing it!

    :-D

    -Adam

  25. what if they didnt switch from freebsd? by HanzoSan · · Score: 2

    What if they only set it up to display as if they switched?

    --
    If you use Linux, please help development of Autopac
  26. CONGRATS! by Anthony+Boyd · · Score: 2

    Yeeeaah! Do you think this is big enough to win back some numbers for Apache? I noticed that when PHP 4 came out, it got a pretty big jump in numbers (early-mid 2000). Apache 2 seems like A Big Deal that might punch up the Apache stats.

  27. too much spare time methinks by rtscts · · Score: 5, Funny

    If only the Linux kernel changelog was so detailed (it'd be bigger than the kernel itself)

    Apache: *) connection.c: changed ++i to ++j in honor of myself [Joe Orton]

    LinuxKernel: VM tweaks [read: ripped the arse out of the kernel and replaced it with someone else's]

  28. recent benchmarks? by green+pizza · · Score: 3, Interesting

    I'm curious as to how Apache 2.0 stacks up against Apache 1.3, as well as recent versions of iPlanet and Zeus. A quick web and usenet search via google found gobs of benchmark results, none of which were newer than about 8 months. Anyone have some links to modern bechmark results... or a pointer to a "good" opensource httpd benchmark tool (or anything other than SPECweb99)?

    1. Re:recent benchmarks? by green+pizza · · Score: 3, Funny

      Performance isn't an issue unless you're still running it on a 486. ;-)

      Sun SPARCstation 20, more than enough power... but hey, I'll take any extra performance I can get! :-D

    2. Re:recent benchmarks? by cliffwoolley · · Score: 3, Informative

      Apache will never run as fast as iPlanet or Zeus because it is more sophisticated. It's definitely better than Apache 1.3 as of late, though. Look through the archives for dev@httpd.apache.org and search for a message from Brian Pane a week or two ago when we were putting the finishing touches on the bucket brigades API work... he posted some performance comparisons there.

      As for iPlanet and Zeus ... maybe in Apache 2.1 or 3.0 or whenever we get the async I/O MPM that we've been talking about, then we'll come closer. But still, you just have to expect that it's a tradeoff: do you want ultra-fast performance on a fairly simple web server, or do you want really good performance on highly customizable web server?

    3. Re:recent benchmarks? by larien · · Score: 2

      Depends what you're doing; you can probably punt the bits down the wire fast enough of a pentium, but if you're doing server-side stuff (CGI/mod_perl/PHP/whatever) there will be an added hit on performance where you might need a beefier box. For static data, you can probably saturate 100Mbit link on something like a P200 (mebbe even less)

    4. Re:recent benchmarks? by zerocool^ · · Score: 2

      hrmm...

      at work we have a lot of servers that run on Sun Sparcstations less than 4. We have a few sparc station 10's, but the majority of them are 1/1+ and 2's, not to mention IPC, IPX, and LX/Classic lunchboxes.

      these are all running apache 1.3.19 fine, i wonder if they'll still run 2.0.x without crippling themselves. (IPC's and SPARC 1's are 12 mhz, but still serve like 3 million hits a month)

      In any case, i'm jealous of your sparcstation 20.

      --
      sig?
  29. the image servers run on this by JDizzy · · Score: 4, Informative

    I can remember krow (aka Brian Aker) tell me in IRC about how he setup apache2 to just server images. Like the most simple thing you can do. It requires no special threading, or proces modes, just http1.1. At most, they can do geographic ad targeting with revers DNS lookups tied to the image servers. Blah... still not that special, but at least they can say they run apache2. I have also read where he claims apache2 is't ready for prime time. This is very telling, not because he is senior Slashdot developer, but more because he is known best for his apache 1.3 modules, such as mod_mp3, or mod_layout.

    --
    It isn't a lie if you belive it.
    1. Re:the image servers run on this by krow · · Score: 2

      Can Slashdot use Apache 2.0 as the web server for images? Sure, no problem.
      Could we run the core of Slashdot on it? No.
      The problem is that Apache by itself is pretty much worthless in today's web environment by itself. You need other modules like mod_perl, PHP, and such to really make any use of it.
      Till they are stable and are in production form Apache 2.0 is pretty much useless from my perspective.
      Perspective is completly needs related and should not be considered a sweeping statement about said product nor should it be seen as an endorsement nor as a warning. Supply your own batteries to said opinion and do not feed after midnight.

      --
      You can't grep a dead tree.
  30. CowboyNeal by vlad_petric · · Score: 3, Funny


    It should be: "on CowboyNeal, which I rooted"

    Got root?
    The Raven.

    --

    The Raven

  31. Re:Windows XP by cliffwoolley · · Score: 3, Interesting

    I'm pretty sure the answer is still "yes." Though I believe there's a hotfix from MS available for XP that fixes the problem. Have a look at this page, which explains the issue: http://www.apache.org/dist/httpd/binaries/win32/#x pbug and points you at the corresponding MSKB article.

  32. not usually by Trepidity · · Score: 2

    Not on most compilers/platforms. On the SPARC (and many other RISC) platforms, for example, there is no ++ or -- instruction -- "inc %l0" is a pseudoinstruction that expands to "add 1, %l0". On the x86 there is an inc, but gcc will optimize a +1 to be inc anyway.

  33. Selling Apache by totallygeek · · Score: 2

    Apache has sold as various forks and parts of distros.


    I had forgotten about Stronghold....

  34. Semi-stable working PHP by SiMac450 · · Score: 5, Informative
    Well, neither 4.1.2 or 4.2.0RC2 worked for me with Apache 2.0. However, I have a simple solution. I just stole the CVS copy of the apache2filter (well, actually only the .h, .c, and .m4 files) and put it with 4.1.2 and it works perfectly. See it in action at http://simonster.com/. If you're too lazy to do this procedure yourself, I have a source archive at http://simonster.com/php-4.1.2.tar.gz

    For installation, I found that the easiest thing to do is to add

    AddOutputFilter PHP .php
    AddInputFilter PHP .php

    Somewhere in the document and, for indexes,

    AddType text/html .php

    before the DirectoryIndex (which must be modified to add index.php). The CVS version works also, but I had problems with some scripts under it. Hope this helps. SiMac450

  35. Next distros by mnordstr · · Score: 2

    So, are the next versions of RedHat, Mandrake, SuSE, etc. going to be released with an Apache 2 package?

  36. Re: Ad servers by Raetsel · · Score: 3, Interesting

    ABORT, ABORT!!!

    Whoa there, cowboy. Slow down a bit.

    "These slimeballs" don't even come into play here. Slashdot is hosting its' own ads (in this case), so your spleen-venting is rather unfair. Half of what you're demanding they do, they already do! (And if they're willing to accept credit cards directly, or let me mail them a check, I'll subscribe -- I won't deal with PayPal. There is that point.)

    Now, back on target... The addresses I posted were all requests from the slashdot.org domain. The log was from my proxy -- which drops all communication with Doubleclick.

    It's easy to check, just make the request to images.slashdot.org -- it's the California Digital ad about their acquisition of VA Linux's servers "...blue lights and all." The interesting thing is that you can see the load balancing in action. I received responses from "Apache/1.3.12" and "Apache/2.0.35" (same content, different server!) -- keep hitting 'reload', you'll see it.

    Final note... I switched off my denial function and took a look at Doubleclick -- both their .com domain and clients that serve from their .net ad servers. Yes the 'Great Satan' is joined at the hip with Lucifer himself (at least from what I'm told here). They're running Internet Information Server, both v4 and v5.

    --

    "...America's great minds of today, teaching America's great minds of tomorrow. Poor bastards." -- A Beautiful Min
  37. Where do they recommend to use 2.0 over 1.3.24? by pwagland · · Score: 3, Interesting
    httpd.apache.org has this to say: (my emphasis)
    Apache 1.3.24 is the best version of Apache currently available; everyone running 1.2.X servers or earlier are strongly urged to upgrade to 1.3, as there will not be any further 1.2.X releases. At present, the Win32 port of Apache is not as stable as the UNIX version.
    and also
    Apache 2.0 offers numerous enhancements, improvements and performance boosts over the 1.3 codebase
    But nowhere do they actually say that 2.0.35 is their best release. At least not yet, maybe they will change their website in the future....
    1. Re:Where do they recommend to use 2.0 over 1.3.24? by John+Siracusa · · Score: 2
      httpd.apache.org has this to say: (my emphasis)
      Apache 1.3.24 is the best version of Apache currently available

      ...unless you want to send multiple Set-Cookie headers from mod_perl in a single response, in which case you're better off with an earlier version because this (pretty basic) functionality is broken in 1.3.24 (see the apache mailing list(s) for more details).

  38. Re: Ad servers by Perdo · · Score: 2

    I had thought so too, but some of the big java middle of the screen ads are:

    http://ad.doubleclick.net/ad/N2613.osdn/B960233. 2; sz=336x280

    Which idents as DCLK-HttpSvr

    resolves to IP 204.253.104.80

    Which is inside Doubleclick's Netblock

    Double Click (NETBLK-UU-204-253-104) UU-204-253-104

    IP 204.253.104.0 - 204.253.105.255

    Your proxy drops connections with doubleclick but while you "weren't looking", Slashdot started having tea parties and playing house with them. Scan your logs of dropped connections and you will find those within the Doubleclick Netblock occured while you were surfing slashdot.

    --

    If voting were effective, it would be illegal by now.

  39. Any good books? by KjetilK · · Score: 2
    Anybody know about any good books covering Apache 2?

    I found one book last time I went to the bookshop, but all it contained was listings of various config files... It certainly wasn't a lot the author made on her own in there...

    --
    Employee of Inrupt, Project Release Manager and Community Manager for Solid
  40. Kiwi filesystem? by KjetilK · · Score: 4, Interesting

    integrated SSL and WebDAV support

    WebDAV seems great when you try to work with larger groups. While I do OK with FTP and similar stuff, I think it would be a nice feature to be able to mount a remote WebDAV directory, and it seems like this is available in the form of Kiwi Filesystem

    Does anybody have any experience with this software? Has it been included in any distros?

    --
    Employee of Inrupt, Project Release Manager and Community Manager for Solid
    1. Re:Kiwi filesystem? by Whyzzi · · Score: 2, Interesting

      No experience with Kiwi, or even WebDAV on Apache, But I am using WebDAV on IIS 5 (Windows 2000 Server) to update my site using MacroMedia Dream Weaver UltraDev 4. WebDAV is a nice feature to have if your website is not database backed. Setup and security is straightforward as well.

      --
      "BSD is about people pissing each other.." (Moid Vallat)
    2. Re:Kiwi filesystem? by crisco · · Score: 4, Informative
      I've used the WebDAV module with Apache on both Windows and Linux systems to offer things like a quick and dirty remote file share, a private Yahoo briefcase-ish service and as another poster describes, uploading websites. WebDAV is not only cross platform, a client comes with IE 4 and later. As a part of MS 'integration', the WebDAV servers appear as a 'Web Folder' or a 'Network Place' inside Windows Explorer. This allows you to set something up and provide simple instructions for those that glaze over when you start talking about protocols or installing new software. Of course, Microsoft doens't quite implement things perfectly so I've had some bizarre issues with Windows98 refusing to connect to a server but for the most part it works very well.

      I haven't used the Kiwi File System though.

      --

      Bleh!

  41. apt-get by MikeyO · · Score: 2, Insightful

    The obvious missing option for me is:

    I'll run apache 2.0 when apt-get upgrade decides i will.

  42. i'll run it when... by Bandito · · Score: 2, Insightful

    debian packages it up for download.

  43. If it's good enuf for Cowboy Neal... by Codifex+Maximus · · Score: 2

    it's good enuf for me. :P

    --
    Codifex Maximus ~ In search of... a shorter sig.
  44. Re:It would appear... by BreakWindows · · Score: 2

    Not that interesting. Did you really expect them to just take the server down and switch at a time when people are flooding the site, or when they've been working on the code? Give them a few days...
    oops, wait..make that a few hours

    telnet www.apache.org 80
    GET / HTTP/1.0

    Apache/2.0.35 Server
    ;)

  45. Oh joy. by EvlPenguin · · Score: 3, Informative

    Great. And unless you need to run something on the scale of slashdot (in terms of cgi dirty work/complexity) I would much rather run thttpd. It's faster and smaller, with much less overhead and much (much) more secure. I've never needed all the bells and whistles of apache, and I doubt 80% of the people who use apache do.

    --

    --
    #nohup cat /dev/dsp > /dev/hda & killall -9 getty
    1. Re:Oh joy. by lkaos · · Score: 2

      Yet thttpd _sucks_ compared to tux which is what you should run if you only want static content.

      In fact, if you just need to serve up a bit of dynamic content, you can run apache and tux together and tux will forward requests for dynamic content to apache.

      Tux is BTW, the fastest web server according to SpecWeb. Nough said.

      --
      int func(int a);
      func((b += 3, b));
  46. Roxen by Trevin · · Score: 2, Interesting

    I've managed Apache at work, and Roxen at home. I still can't say whether one is better than the other, but I do like those RXML tags, so I'm sticking with Roxen for now.

  47. Advertising. by saintlupus · · Score: 2

    Slashdot itself is an advertisement for Linux.

    Funny, I've always considered its stability to be more of an advertisement for BSD.

    Send the mac addicts back to macslash.

    Hmm. I'm typing this on a Mac, which is my main machine, but from where I'm sitting I can see a Linux/PPC machine, a RedHat machine, and two OpenBSD machines (i386 and Sparc). That's just at home -- I won't get into what I've got sitting at work.

    So do I still have to leave, you contentious prick?

    --saint

    1. Re:Advertising. by Perdo · · Score: 2

      You don't have to leave for owning macs, you have to leave for taking the april fool's day stories seriously.

      Take that chip on your shoulder back to the trailer park.

      --

      If voting were effective, it would be illegal by now.

  48. Re:Playing it smart by Dwonis · · Score: 2

    What happened with Postgres?

  49. When Slashdot runs it? by plaa · · Score: 4, Funny

    Isn't Slashdot already running it? I guess it still has a few bugs in it though...

    When mod_perl runs 857 / 649%
    When it becomes 2.1 1008 / 763%
    Brian B spins it urban style 390 / 295%
    Slashdot runs it 708 / 536%
    Already running it, thank you 455 / 344%
    On CowboyNeals box, which I've r00t3d 2594 / 1965%

    132 total votes.

    --

    I doubt, therefore I may be.
  50. Eudora.com ran on a Sparc20 by Wee · · Score: 2
    these are all running apache 1.3.19 fine, i wonder if they'll still run 2.0.x without crippling themselves. (IPC's and SPARC 1's are 12 mhz, but still serve like 3 million hits a month)

    For a long long time, eudora.com ran on a Sparc20. It was upgraded to an Ultra1 somewhere circa Eudora Pro 3.0. The Ultra served bewteen 5 and 8 million requests per month. That was with apache something old, and perl CGI scripts (no mod_perl) *everywhere*. Lots of random Perl, lots of SSI (in fact, I think we parsed every page for SSI). None of that phased it. Ran like a champ.

    We had a discussion at work about that server. Until we moved it one time to a new building, it had an uptime of like a year. We wondered how long it would have stayed up (assuming it wouldn't have been rooted -- since ftp, telnet and r-stuff were all enabled and open). I would have betted a long time.

    We also remarked that Suns hold their value very well. Old Sparcs make great DNS servers, even nowadays. And the Ultra1 was, IMHO, one of the best small server/workstations Sun ever built. Imagine trying to get use out of a nine year old PC. Heh heh.

    -B

    --

    Ash and Hickory, straight-grained and true, make excellent bludgeons, dandy for the cudgeling of vegetarians.

  51. Error when building on Solaris 8 by Isaac-Lew · · Score: 3, Interesting
    Ok, apparently I'm having a problem building apache on Solaris 8:

    In file included from /home/isaac/httpd-2.0.35/srclib/apr/atomic/so laris_sparc/apr_atomic_sparc.s:63: /usr/include/sy s/asm_linkage.h:104: `#' operator should be followed by a macro argument name

    (Repeats for several different lines)

    /home/isaac/httpd-2.0.35/srclib/apr/atomic/solari s_sparc/apr_atomic_sparc.s:113: unterminated character constant

    Looks like possibly a broken include file on Solaris, any ideas?

    1. Re:Error when building on Solaris 8 by cliffwoolley · · Score: 2, Informative

      There might be a patch you need, because I know for a fact that several developers reported 2.0.35 testing out fine on their Solaris 8 boxes before we released it. I've forwarded your comment to dev@httpd.apache.org and will let you know if anybody comes back with an answer to this problem.

  52. Re:runs great on FreeBSD! by cliffwoolley · · Score: 3, Informative
    Two things:

    the prefork MPM is the default on Unix in general. We talked about switching the worker MPM (the hybrid threads/processes one) to be the default, but didn't do it for some reason or another. That's not to say that you shouldn't use the worker MPM... if your platform has good threading support, then by all means, worker is the way to go. It scales far, far better than prefork. However, it's true that you can't run a threaded Apache (and therefore the worker MPM) on FreeBSD right now. We're working on that, but it's still unclear exactly where the problem is.

    the prefork MPM is not listed as experimental. If it is, it's a mistake (tell me where it says that and I'll change it!). The only one that's listed as experimental is perchild, which is the one that lets you configure the server to run certain virtual hosts under certain child processes and to assign different uid's to each child process.

  53. Re:Playing it smart by scrutty · · Score: 2

    I don't understand your "got burnt". The "backwards sequence counters after crash" bug has been present throughout all 7.1.* releases. "General Weirdness" sounds a little bit handwavy to me. Are you sure you actaully know what you are talking about here?
    I have been actively developing against some BIG databases with postgresql-7.2 since its Beta releases and have yet to see any significant production problems with 7.2x. Postgresql official releases are usually of very high quality.

    --
    -- Oh Well
  54. thttpd is good for static content, but.. by Fweeky · · Score: 3, Informative

    Plenty of people want dynamically driven sites; something httpd isn't aimed for.

    Personally I use quite a few of the features of Apache; mod_php (thttpd has this, but each script blocks the server, Not Good[tm] unless your scripts are trivial), mod_proxy (Outside world -> FreeBSD/Apache -> WinXP/Apache, appears as part of my web tree, nice and clean), mod_rewrite (how anyone can put up with the crappy URL's dynamic sites like I don't know, a 1:1 mapping of URL's to the filesystem is bad enough) and mod_gzip (does thttpd support any content negotiation?) to name the main ones, and this is just a miniscule personal server :)

  55. Re:Playing it smart - pgsql bug by thing12 · · Score: 3, Informative

    You only got burned by the bug if you actually saw the problem - like say me. I'm actually the one who reported the reproducable test case for this bug. The bug has been in the system since the introduced WAL in 7.1. And how did I find it? Pg crashed in our production environment and we got duplicate inserts primary keys after it started up again. At least it's fixed now - and going from 7.2.0 to 7.2.1 is _not_ a hard thing: compile, install, stop/start. Couple seconds of downtime?

  56. Re:for loops by sparkz · · Score: 2

    it's not a for loop... at first glance, I assumed that it was a for loop, but it's not, the example given was just: main() { int i; i = 0; i+=1; // or i++; in the other example }

    --
    Author, Shell Scripting : Expert Re
  57. Re:for loops by sparkz · · Score: 2

    Oops- thought the PRE tag was ok... meant to say:
    main()
    int i;
    i=0;
    i++;
    }

    --
    Author, Shell Scripting : Expert Re