Slashdot Mirror


Apache 2.2.0 Released

ikewillis writes "According to an announcement on apache.org, Apache 2.2.0 has been released. From the announcement: 'This version of Apache is a major release and the start of a new stable branch. New features include Smart Filtering, Improved Caching, AJP Proxy, Proxy Load Balancing, Graceful Shutdown support, Large File Support, the Event MPM, and refactored Authentication/Authorization.' View the ChangeLog or check out the new feature list."

179 comments

  1. Jeez by Anonymous Coward · · Score: 2, Funny

    Now I'm .9 versions behind.

    1. Re:Jeez by Anonymous Coward · · Score: 1, Insightful

      A lot of low-cost, high bandwidth sites have long ago switched to lighthttpd, disgusted by the bloat that bogs down the new Apaches.

      The process is comparable to the demise of the Mozilla-browsers: long time a favorite of power-users, their concentration on mass-market AOL-lusers has caused to product to get bloated with half-assedly implemented, useless features and made power-users switch to Opera.

    2. Re:Jeez by Anonymous Coward · · Score: 0

      Seems like Opera has some weird license. And does it still include those annoying adds?

    3. Re:Jeez by sn3ak3r · · Score: 1

      wtf??? o.O

      --
      Quote: "Linux sucks we can't play games" Told by a informatic store owner
    4. Re:Jeez by Anonymous Coward · · Score: 0

      Seems like Opera has some weird license.

      It is a *gasp* commercial product, unlike the shitfest formerly known as Firefox.

      And does it still include those annoying adds?

      No.

  2. Right... by Mitchell+Mebane · · Score: 0, Redundant

    Not bad, but when do we get the ability to make confguration changes with restarting Apache?

    --

    The roots of education are bitter, but the fruit is sweet.
    --Aristotle
    1. Re:Right... by Mitchell+Mebane · · Score: 1

      s/with/without/ Meh.

      --

      The roots of education are bitter, but the fruit is sweet.
      --Aristotle
    2. Re:Right... by Anonymous Coward · · Score: 1, Informative

      'apachectl graceful' not good enough for you?

    3. Re:Right... by Matt+Perry · · Score: 4, Informative

      Since version 1.x you've been able to make config changes without a restart. Just edit your config files and then run "apachectl -k graceful" or send a USR1 kill signal to the parent Apache process. Apache reloads the config without restarting.

      --
      Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
    4. Re:Right... by thevoice99 · · Score: 1

      This feature set still doesn't make me want to use apache. Lighttpd just rules. Plain and simple.

    5. Re:Right... by SuperBanana · · Score: 2
      Not bad, but when do we get the ability to make confguration changes with restarting Apache?

      I would personally settle for a configuration file format which isn't confusing, poorly organized, and often times not parsed correctly (ie, apache doesn't do what the docs imply). See Why I Hate the Apache Webserver, which was a presentation at ApacheCon Europe.

      Apparently everything the author pointed out was promptly forgotten or ignored.

      Last time I posted about this, someone accused me of advocating "dumbing down" or stripping functionality out of Apache to make it easier for idiots to configure. That's NOT the point at all, and "easy to configure" does not mean "dumbed down" or "stripped down". Postfix, for example, is just as powerful as sendmail but miles easier to configure.

    6. Re:Right... by stu42j · · Score: 1
      One of the items on the New Features List is:
      The default configuration layout has been simplified and modularised. Configuration snippets which can be used to enable commonly-used features are now bundled with Apache, and can be easily added to the main server config.
      Probably not exactly what you are looking for but it does at least imply that the Apache devs do care about improving the Config situation.
  3. the wild west! by griffster · · Score: 3, Funny

    I'm waiting for Microsoft to rename IIS "Cowboy 1.0" :)

    1. Re:the wild west! by griffster · · Score: 1

      If my point was "offtopic" maybe I shoud have said "Cowboy 3.60" ...

    2. Re:the wild west! by LardBrattish · · Score: 1
      Since when has Gates done anything to honour the coders.

      You know, Cowboy programers. Geddit?

      --
      What are you listening to? (http://megamanic.blogetery.com/)
    3. Re:the wild west! by Nosferax · · Score: 0

      Or the Custer Last Stand version

      --
      Remember... A boomerang IS NOT the best way to deliver a bomb.
  4. How does 2.2 stack up to 1.3? by green+pizza · · Score: 3, Interesting

    I read the feature list and changelog earlier today but without taking the time to set up a test server and experiment with it I really have no idea how it compares to 1.3. For the most part we have stuck with 1.3.x for it's stability, performance on our older hardware (from 256MB dual 75MHz SPARCstation 20 to 1 GB 440 MHz Netras), and rock solid compatibility with mod_perl and Perl 5.6.

    I'll be willing to try upgrading in the near future in hopes of experimenting with and making use of the some of the newer featues, but I would like to hear some first-hand information from those who have recently made the leap to 2.2, if at all possible.

    1. Re:How does 2.2 stack up to 1.3? by epiphani · · Score: 2, Interesting

      I would be more curious if this now means the apache people are actively suggesting 2.0 on full-on production servers. Even a few months ago I briefly looked at switching my web cluster to 2.0, and I found posts saying "if there is no specific feature you require, stick with 1.3".

      I'd like to start moving forward and make the big jump, but 1.3->2.2 probably isnt going to happen. What are people saying about 1.3->2.0 now?

      --
      .
    2. Re:How does 2.2 stack up to 1.3? by Knetzar · · Score: 2, Interesting

      The biggest reason I've seen people switch is because the multi-process model doesn't scale as well as the mutli-threaded model.

    3. Re:How does 2.2 stack up to 1.3? by Not+The+Real+Me · · Score: 4, Interesting

      Slashdot is still running "Apache/1.3.33 Unix mod_gzip/1.3.26.1a mod_perl/1.29"

      In the meantime, you should upgrade to 2.2, post a link, tell us what happens to your server.

    4. Re:How does 2.2 stack up to 1.3? by Anonymous Coward · · Score: 1, Funny

      Bah, i dont care for the 2.x series. Wake me up when they release version 1.3.37. Then Apache wil rule the world...

    5. Re:How does 2.2 stack up to 1.3? by cortana · · Score: 2, Insightful

      IIRC, 2.0 has been stable/recommended over the 1.x versions since 2001.

    6. Re:How does 2.2 stack up to 1.3? by moro_666 · · Score: 1

      i guess this scaling depends, a 4way machine should handle multiprocess better than multithreading since processes don't have to be synchronized all the time like the threads need to. i dont know apache's implementation, therefor this may not be true in the apache case. synchronizing threads over 4 cpu's definitely is a worse idea than having separate processes running, because the last ones don't have to interchange data all the time (they can but they don't have to).

      besides, doesnt 2.0 choose the process/thread model ?

      nvm. i still sit on 1.3 , it works and i have no time to reconfigure and experiment right now.

      --

      I'd tell you the chances of this story being a dupe, but you wouldn't like it.
    7. Re:How does 2.2 stack up to 1.3? by Tony+Hoyle · · Score: 1

      The deal breaker for me was no working mod_put... you can't use the multithreaded stuff anyway if you're using PHP so there's no performance advantage.

    8. Re:How does 2.2 stack up to 1.3? by stymyx · · Score: 1

      synchronizing threads over 4 cpu's definitely is a worse idea than having separate processes running, because the last ones don't have to interchange data all the time (they can but they don't have to).

      Why do threads need to interchange data all the time? They can, but they don't have to. Processes can, as well, but it is much harder. It seems that anything cooperating processes can do, threads should be able to do, with less overhead. Am I wrong?

    9. Re:How does 2.2 stack up to 1.3? by CastrTroy · · Score: 1

      Also, a lot would depend on what environment you're running your apache server on. If you're running on Linux, it only takes ~700,000 cycles to spawn a new process. On Windows, it takes ~5,000,000. I'm not sure what the respective cycle counts are for starting threads, but I imagine you'd get a lot more performance running the threaded model under windows.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    10. Re:How does 2.2 stack up to 1.3? by TheRaven64 · · Score: 1

      I've recently moved to Lighttpd (well, for static pages - I haven't got fastcgi PHP set up yet, so the PHP pages of my site are still broken). It has a very good record for scalability (one site switched to it mid-slashdotting and started responding again). It's also much simpler than Apache to set up. Apparently it lacks some features of Apache, but they don't seem to be ones I use (I do use virtual hosts, and they are much simpler to set up in lighttpd - I have a servers/domain_name directory for each vhost - to add another one I just create a new directory with the name of the new domain - no config file editing required).

      --
      I am TheRaven on Soylent News
    11. Re:How does 2.2 stack up to 1.3? by kwoff · · Score: 1

      Considering how fucked up mod_perl2 is, I don't blame them.

    12. Re:How does 2.2 stack up to 1.3? by whitehatlurker · · Score: 1
      tell us what happens to your server.

      When slashdot goes dark, at least we'll know why ;-) Perhaps we could tell them what happened to their server.

      Seriously, the original post in this thread is on the right path. If you are using software that is working well, is compatible with the existing tools, and you're happy with it - why change?

      Immediacy of security patches might be one reason, but with the user base, I'd say that 1.3 will be around for a long time.

      --
      .. paranoid crackpot leftover from the days of Amiga.
    13. Re:How does 2.2 stack up to 1.3? by dow · · Score: 1

      What? Not 1.3.34? Are they not running microsoft auto update on this unix thing?

    14. Re:How does 2.2 stack up to 1.3? by Knetzar · · Score: 2, Informative

      Much of it delt with memory considerations. One person had a few hundred processes on his system, and since they each need a copy of data that's that same, that was a lot of extra overhead.

    15. Re:How does 2.2 stack up to 1.3? by ntsucks · · Score: 1

      Don't know about 2.2, but I can give you a read on 2.0.54.

      For historical reasons we run on Apache on Windows. We currently run 1.3 and wished to upgrade to 2.0 because it is supposed to work better on Windows. We run a high volume site with a farm of servers building dynamic pages. Apache 1.3 has worked reasonably well but it leaks constantly and hangs processes fairly regularly under high load (>80%). We switch a few servers in the farm to 2.0.54 in our production set up. What a disaster! Despite decent testbed results, in production Apache 2.0.54 on Windows leaked memory so fast as to be almost unusable. Most disturbingly (look in the bug reports to see others with the same problem) Apache would grind to almost a stop for minutes on end for no apparent reason. It would just stop serving all but a few pages a second without consuming CPU or disk I/Os. Apache 2.0 performance and reliability was so miserable in production we revereted back to 1.3 after only 12 hours.

      I see nothing in the 2.2 Changelog that would indicate either of these issues were addressed, so I assume they still exist.

      I have a request for the Apache Team, FOCUS ON RELIABILITY on Windows!

      --
      Those who can do. Those who can't sue.
    16. Re:How does 2.2 stack up to 1.3? by ahodgson · · Score: 1

      2.0 has been fine for a long time. The only potential issue is with the threaded MPM and PHP, but using the forked server should be the same as 1.3.

    17. Re:How does 2.2 stack up to 1.3? by Anonymous Coward · · Score: 0

      Early last month I was running Apache v1.3.33 and regular PERL (not mod_PERL) on Novell NetWare 5.0 (with a few patches from NetWare 5.1 force-fed into it to solve a serial problem many years ago). I tried to use Apache v2.1.x/v2.2, but one very important module was missing -- mod_PERL...

      I upgraded to Novell NetWare 6.5 (with all patches) and Apache v2.0.55 with mod_PERL v1.99 (I'm still waiting for mod_PERL v2.x for Apache v2.2.0 so I can move to that), and my CPU utilization during peak hours now sits around 1-2% as opposed to the typical 5-10% noted prior to the upgrade. The dynamic web pages now seem to load as quickly as static pages, obviously due to the fact that mod_PERL uses a cached copy of compiled versions of the scripts, and Apache 2 handles things such as shutting down much more gracefully than v1.3.33.

      Once Novell releases mod_PERL v2.x for Apache v2.2.0, I plan to upgrade to that (after some testing, of course) and will try to return here with another post with updates if things seem to change (for better or for worse).

      My server is an Intel Pentium IV with 2 GBs of RAM installed on an Intel server motherboard with on-board U320 Adaptec SCSI and two on-board Intel NICs. I use two pairs of software-mirrored U320 SCSI hard drives (because this seems to yield better performance on NetWare than hardware mirroring due to advanced caching algorithms developed by Novell over the years), and the server puts through roughly 100-150 GBs of traffic per month. The busy web sites are consistently handling ~10 hits per second during peak hours, and ~3 hits per second during the unpredictable quiet times.

      Unfortunately the bandwidth isn't what I would like because I'm still using a cable modem at home for this server, but will be moving it all to a co-located facility in downtown in the coming weeks that will certainly cure this problem (although my servers never crash from the infamous SlashDot effect, the internet connection gets bottlenecked severely and performance to outsiders appears to be slower than usual).

      --
      Randolf Richardson - randolf@inter-corporate.com
      Inter-Corporate Computer & Network Services, Inc.
      Vancouver, British Columbia, Canada
      http://www.inter-corporate.com/

    18. Re:How does 2.2 stack up to 1.3? by TheLink · · Score: 1

      What are you running that locks you into Apache on Windows?

      Why can't you use IIS? Or switch to Apache on Linux/*BSD?

      The current IIS so far has had a better security track record than Apache.

      If I can help it, I wouldn't use windows for servers though.

      --
  5. Bid Update? by matr0x_x · · Score: 1

    OK, I'll admit, the added feature list seems impressive, and I'm drooling a bit... but for some reason (I'm honestly not really sure why) I don't get the feeling that this is a very significant update! I'll find out tomorrow when I test it myself :)

    --
    LINUX ONLINE POKER: Linux Poker
    1. Re:Bid Update? by Coneasfast · · Score: 3, Insightful

      I don't get the feeling that this is a very significant update!

      any project in it's mature stages wont change much, at least not noticeable by most users.
      if bash creates a new release, you aint gonna notice the difference.
      if linux creates a new release, you aint gonna notice either (unless it's a major release, but in comparison, this apache release is not)

      --
      Marge, get me your address book, 4 beers, and my conversation hat.
  6. Changelog by Meltir · · Score: 1

    So... it runs on Linux... But what doesn't it do ?

    1. Re:Changelog by Anonymous Coward · · Score: 0
      So... it runs on Linux... But what doesn't it do ?

      Enough that most people are still using the 1.x branch several years after 2.0 was released. Usually this is chalked up to missing/malfunctioning third-party plugins whose Windows equivalents come as standard features with IIS.
    2. Re:Changelog by DrSkwid · · Score: 0, Flamebait

      whoa there, there's mod_python for IIS, where ?

      and mod_rewrite too ?

      I never knew IIS had *any* useful features

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    3. Re:Changelog by et764 · · Score: 1
      So... it runs on Linux...
      Yes, but does it run Linux?
  7. Can reconfigure without restart NOW by dananderson · · Score: 4, Informative
    You can re-configure without restarting Apache 2.0 now (maybe even Apache 1.0, but I don't use that) by sending SIGHUP to the Apache process. The parent Apache process re-reads the config file.

    You can also do this: apachectl -k restart

    1. Re:Can reconfigure without restart NOW by Matt+Perry · · Score: 5, Informative
      Actually you want SIGUSR1. HUP does a regular restart which will cause any children to terminate immediately. Any requests in progress are terminated. USR1 (graceful restart) will allow the child processes to finish serving their requests and newly spawned children will have the new configuration.

      See the docs on stopping and restarting for reference.

      --
      Slashdot: Failed Car Analogies. Amateur Lawyering. Anecdote Battles.
    2. Re:Can reconfigure without restart NOW by The+Clockwork+Troll · · Score: 5, Informative

      If you plan to rely on graceful restarts, be sure to set MaxChildren appropriately low, proportional to your server request rate, otherwise your config changes will never get picked up.

      --

      There are no karma whores, only moderation johns
    3. Re:Can reconfigure without restart NOW by Alwin+Henseler · · Score: 3, Funny

      Who needs manpages anymore? Just ask on /., and some seasoned sysadmin will come to your rescue! (note: not claiming anything about the parent poster, looks genuine though)

      --This comment also served to you by Apache
    4. Re:Can reconfigure without restart NOW by cloudmaster · · Score: 1

      The seasoned sysadmin still needs the man pages - some of us actually *read* those things...

      Though, for Apache, I'd be using something along the lines of http://google.com/search?q=site:apache.org+reload

    5. Re:Can reconfigure without restart NOW by Anonymous Coward · · Score: 0

      you can also try http://man-wiki.net/

  8. Great Job ASF by webperf · · Score: 5, Insightful

    A round of thanks to all the hard work done by the HTTPD team.

    you guys ROCK

    and special thanks to paul who pushed this through!

    1. Re:Great Job ASF by SmartyPants · · Score: 1

      yeah.. well done Paul

    2. Re:Great Job ASF by Anonymous Coward · · Score: 0

      I agree. Paul, he's my favourite.

    3. Re:Great Job ASF by cosminn · · Score: 1

      A round of thanks to all the hard work done by the HTTPD team.

      you guys ROCK


      Agree! Congrats guys, and keep up the good work.

      They're one of the few open source projects that are vastly used everywhere, isntaed of a M$ product.

    4. Re:Great Job ASF by Anonymous Coward · · Score: 0

      Great Job ASF
      you guys ROCK


      Nah, nowadays they're more ambient-techno. The Batcave days, though, _that_ was rock.

  9. Inertia by code65536 · · Score: 5, Interesting

    That's interesting how they jumped from the 2.1.x beta versions to 2.2.0. They didn't do this when they went from the 2.0.x beta to the 2.0.x stable (hence the large .55 attached to 2.0.x right now). It's kinda like what Perl does with having devel and stable versions have odd and even numbers, respectively.

    Anyway, I guess the big question is, how many people will actually adopt 2.2.0. I still remember when 2.0 came out to mostly a yawn as most people kept using 1.3.x. Even today, most of the servers that I come across or administer are still using 1.3.x because unless you were running Windows, 2.x didn't really offer spectacular improvements over 1.3.x, and looking at the changes for 2.(1|2).x (anyone who's going to transfer a >2GB file over HTTP is crazy ;)), I have this feeling that we might see the same 1.3->2.0 inertia.

    1. Re:Inertia by timeOday · · Score: 1
      Yup, it appears people are pretty happy with apache as-is.

      And unlike some companies, they can't even switch over to a subscription model to keep us on the treadmill :)

    2. Re:Inertia by jadavis · · Score: 1

      I'm very interested in the mpm-perchild module. It seems to be the security solution in place of the php safe_mode kludge.

      There are other possibilities like fastcgi, but those require rewriting application code, and are more difficult to administer (unless I'm mistaken, in which case please inform me).

      Does anyone know anything about that module or why it was discontinued?

      --
      Social scientists are inspired by theories; scientists are humbled by facts.
    3. Re:Inertia by code65536 · · Score: 1

      I would guess that with the increase in use of mod_php or mod_perl, people went with those options for fast server-side execution instead.

    4. Re:Inertia by Floody · · Score: 5, Informative

      Anyway, I guess the big question is, how many people will actually adopt 2.2.0. I still remember when 2.0 came out to mostly a yawn as most people kept using 1.3.x. Even today, most of the servers that I come across or administer are still using 1.3.x because unless you were running Windows, 2.x didn't really offer spectacular improvements over 1.3.x, and looking at the changes for 2.(1|2).x (anyone who's going to transfer a >2GB file over HTTP is crazy ;)), I have this feeling that we might see the same 1.3->2.0 inertia.

      The change from 1.3 -> 2.0 was a very major one. The entire api was retooled; and for good reason, ap 1.3 had some rather serious deficiencies in the extensibility department (module load order significance, etc). 2.0 saw the birth of the exceedingly well designed APR (Apache Portable Runtime), a module-participation-driven abi ("hooks") and fast stack-unwinding i/o handling ("fitlers"). All good stuff, but slightly less able performance-wise on low-cpu-count hardware (extensibility always comes with a pricetag) and completely imcompatible with any module of even moderate complexity that had previously been written.

      Times have changed though. The robustness of the abi design combined with the APR has led to some outstanding modules, such as extensive state awareness and dynamic load-balance adjustment without even USR1-style interruption. None of these capabilities are even remotely plausible under 1.3.

      The point is: 2.2 is still the same core api design. Certainly, it contains some enhancements, but the bridge that must be crossed is miniscule in comparison to the 1.3/2.0 transition.

      There is still much room for improvement (when isn't there?). For example, mpm looks like a good idea on paper, but how well does it really work in terms of abstracting the process/thread semantics into fairly "pluggable" components? How well can it really work? Thread-based design requires a completely different approach or the end result (treating threads like processes) simply nets you more "accounting" overhead and few significant gains to offset that (yes, I realize it wins on win32 which does not have a light-weight process model).

    5. Re:Inertia by Anonymous Coward · · Score: 0

      The sudden jump to 2.2 might have something to do with them wishing to release 2.2 on the 10th anniversary of the release of 1.0

    6. Re:Inertia by jadavis · · Score: 1

      I was referring to the security aspect. mpm_perchild runs each virtualhost as a separate user, which solves a lot of web security problems.

      If you use mod_php or mod_perl without the mpm_perchild (which doesn't really exist or work), then anyone who can upload a script can also read any other script on the machine (and get database passwords). There are a few kludges, like php's safe_mode which blocks some actions, but it's not really the right place for that kind of security, which should be in the webserver itself.

      --
      Social scientists are inspired by theories; scientists are humbled by facts.
    7. Re:Inertia by Anonymous Coward · · Score: 0

      >> (anyone who's going to transfer a >2GB file over HTTP is crazy ;)),

      that is not just serving files over 2 gigs, it is handling log files > 2G
      When you have to rotate log files multiple times per day, this is a big deal

  10. CGI continuations by trout0mask · · Score: 2, Interesting

    When are they adding the continuation-stored-in-the-server feature? Having to do a CPS transform essentially by hand to all CGI scripts is ridiculous. Oh yeah...Perl/PHP/etc. don't support that. Why not?

  11. Combining mod_proxy with mod_cache by paulproteus · · Score: 4, Interesting

    I've been struggling with setting up a mirrors server for our computing club here. I'd like to mirror all of Debian, for example, but I'm finding that storing (and, worse, updating) 80 gigs only to serve a tiny fraction of the files to our users is a dismal trade-off. I had been experimenting with ProxyPass, but since it didn't cache the results locally, it wasn't really providing a speed benefit.

    mod_disk_cache plus mod_proxy's ProxyPass seems like just the ticket - I could give it a few servers to proxy for, give it a few hundred gigs of cache, and it would then automatically intelligently cache for those servers. This would be a great, easy plug-in solution.

    Has anyone used mod_proxy and mod_cache in this fashion? It'd be great to hear about others' experiences or configuration examples.

    --
    |/usr/games/fortune
    1. Re:Combining mod_proxy with mod_cache by gleam · · Score: 4, Informative

      I'd suggest going with Squid 3.0 (beta, but very stable in my experience) acting as a caching reverse proxy instead of Apache.

      use cache_peer to setup multiple debian mirrors as parents and it'll share the load between them.

      In my testing with squid 3.0 vs squid 2.5 vs apache 2.1.9 (the last beta version before 2.2.0), squid vastly outperformed apache when it came to this type of application.

      I'm sure someone will explain to me that apache 2.2 is actually far faster than squid, but in my experience, it's not.

      If you want to provide the mirror as a subdirectory of your current site, instead of giving it its own IP and domain, just set up squid to reverse proxy your entire site. You can configure different paths in the url to go to different parent servers, so /debian/ will be your debian mirror parent servers but everything else will be localhost:81, or whatever.

      YMMV etc etc, but that's what I'd do.

      --
      this .sig is not a .sig.
    2. Re:Combining mod_proxy with mod_cache by Anonymous Coward · · Score: 2, Informative

      Sounds like you want http://freshmeat.net/projects/http-replicator:

      "HTTP Replicator is a general purpose, replicating HTTP proxy server. All downloads through the proxy are checked against a private cache, which is an exact copy of the remote file structure. If the requested file is in the cache, replicator sends it out at LAN speeds. If not in the cache, it will simultaneously download the file and stream it to multiple clients. No matter how many machines request the same file, only one copy comes down the Internet pipe. This is very useful for maintaining a cache of Debian or Gentoo packages."

      I strongly suggest apt-proxy for Debian. It's drop-dead easy and Just Works great!

      The tool's homepage http://gertjan.freezope.org/replicator/ has a nice list of similar tools, but is out of date with respect to apt-proxy, which is not a bash script anymore but is Python now (IIRC).

      The only problem I can find with it is there's no RPM for it in CentOS. I'll get around to building one Real Soon Now...

    3. Re:Combining mod_proxy with mod_cache by fiddlesticks · · Score: 2, Interesting

      apt-proxy?

      Name
                    apt-proxy - A proxy for saving bandwidth to Debian servers

      SYNOPSIS
                    apt-proxy [options] [logfile]

      DESCRIPTION
                    apt-proxy is a python program designed to be run as an stand alone
                    server via twistd, and provides a clean, caching, intelligent proxy for
                    apt-get, which speaks HTTP to apt-get clients, and http or ftp to the
                    backend server(s). Usually it is run on port 9999, mainly because that
                    is the default configuration, and people are lazy.

      CLIENT CONFIGURATION
                    Once apt-proxy is configured on a host SERVER, users then edit their
                    sources.list file to point to the proxy (which uses the http protocol
                    to serve clients), like so:

                    deb http://server:9999/debian stable main contrib non-free
                    deb-src http://server:9999/debian stable main contrib non-free

                    deb http://server:9999/debian-non-US stable/non-US main contrib non-free
                    deb-src http://server:9999/debian-non-US stable/non-US main contrib non-free

                    deb http://aptproxy:9999/security stable/updates main contrib non-free

                    What path should be specified after the server name and port number
                    depends on the configuration of apt-proxy (which can restrict paths and
                    send different paths to different servers). See SERVER CONFIGURATION
                    below.

                    Note that you can also use the nicknames `unstable', `frozen' etc, but
                    Packages/Sources files may get duplicated, so it is advised use either
                    the symbolic or the code name and stick with it.

      SERVER CONFIGURATION
                    See apt-proxy.conf(5) for details of how to set up apt-proxy to use
                    backends near to you.

      CARE AND FEEDING OF MIRRORS
                    apt-proxy reduces the bandwidth requirements of Debian mirrors by
                    restricting the frequency of Packages, Releases and Sources file
                    updates from the back end and only doing a single fetch for any file,
                    how ever many users request it from the proxy.

  12. Do you really need to change? by CyricZ · · Score: 4, Insightful

    What are the newer features that you're planning on using?

    Indeed, it sounds like you have what may be the perfect situation. Even if your servers are somewhat older, and not the most powerful, they are still very solid Sun systems. They will basically last forever. You suggest that mod_perl is working very well for you at the moment, too.

    Perhaps an upgrade would be the worst thing you could do. Sticking with older, proven systems is many times a very wise idea.

    --
    Cyric Zndovzny at your service.
    1. Re:Do you really need to change? by smittyoneeach · · Score: 1
      Perhaps an upgrade would be the worst thing you could do. Sticking with older, proven systems is many times a very wise idea.
      Spoken like a true !businessman.
      Consider the new feature:
      SQL Database Support
      mod_dbd, together with the apr_dbd framework, brings direct SQL support to modules that need it. Supports connection pooling in threaded MPMs.
      I applaud Apache adding this, as it keeps alive the traditional approach of not forcing features onto people. However, real businessmen are going beyond the clear break between the HTTP server, the database engine, and the application, and cooking the query support into the language, as per C# 2.0.
      That'll keep their naughty bits within the clenched fist, by golly!
      --
      Get thee glass eyes, and, like a scurvy politician, seem to see things thou dost not.--King Lear
    2. Re:Do you really need to change? by Anonymous Coward · · Score: 0
      Sticking with older, proven systems is many times a very wise idea.

      Is that why you do not switch from crack?

    3. Re:Do you really need to change? by infosrama · · Score: 1

      Right, Many Internet sites still use 1.3 because not all modules compatible with 2.0 itself now 2.2 certainly not.

  13. Stick with NCSA HTTPd 1.5.2a by Anonymous Coward · · Score: 2, Funny

    Apache 2.x? No thanks!
    Apache 1.3? Still has issues!

    I think I'm going to stick with something I can really trust!

    Maybe I'll try CERN httpd 2.14, I'm not sure if 3.0 has enough of a track record.

    1. Re:Stick with NCSA HTTPd 1.5.2a by Mjlner · · Score: 5, Funny
      "I think I'm going to stick with something I can really trust!

      Maybe I'll try CERN httpd 2.14, I'm not sure if 3.0 has enough of a track record."

      Running Debian stable, eh?

      --
      Lemon curry???
  14. Foxy Load Balancing by PurifyYourMind · · Score: 2, Funny

    I am really glad they added Foxy Load Balancing. Now asianpornstarlets.com will send me data at a nice, steady pace instead of in spurts and dribbles.

    1. Re:Foxy Load Balancing by McFish · · Score: 1

      So, if site got slashdotted, this means that they are not
      using their own latest product ;) ?

  15. wtf? by Anonymous Coward · · Score: 4, Interesting

    Storing state in the server and retrieving it via cookies, etc., is not CPS, it's just saving and retrieving state. And who still uses CGI anyway?

    And who says continuations are a valid way to write web apps? I prefer to use request/response because that's the model of the underlying architecture. I also want my URLs to represent named entry points, not continuations within some arbitrary program.

    And how the heck would Apache know how to save a continuation in any arbitrary programming language? Or is Apache supposed to turn into a set of libraries, one for Smalltalk, one for Ruby, one for Lisp.. ?

    Explain what you mean, son....

    1. Re:wtf? by smallpaul · · Score: 1

      Please mod parent up. It makes a lot of sense!

    2. Re:wtf? by trout0mask · · Score: 1

      I don't actually expect Apache to support this, ever. But it's a neat idea. Here's a paper by people who know more and write better than me:
      Slow PDF: http://ase.informatik.uni-essen.de/olbib/2001graun ke.pdf
      Ugly HTML conversion: http://64.233.161.104/search?q=cache:Cx4ndEP2FHYJ: ase.informatik.uni-essen.de/olbib/2001graunke.pdf

    3. Re:wtf? by Anonymous Coward · · Score: 0

      And who still uses CGI anyway?

      Ever wondered how google presents you with results that are relevant to your query? Kind of like they're not just displaying random static result pages. That, my friend, is CGI.

    4. Re:wtf? by Anonymous Coward · · Score: 0

      And who still uses CGI anyway? Are you serious? Do you even know what you're saying?

    5. Re:wtf? by petermgreen · · Score: 1

      that CAN be done with cgi but its most certainly not the only way to do it nor is it really the preffered way as it means a process (and possiblly a complex scripting environment to support it) is loaded on every pageview.

      do you have any evidence that google use cgi?

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    6. Re:wtf? by smallpaul · · Score: 1

      Sure, it's a neat idea: for the programming language runtime that is running behind Apache. And it has been implemented by programs running behind Apache. So Apache already "supports" this. You still haven't said what more you want Apache itself to do.

    7. Re:wtf? by hey · · Score: 1

      Yeah, CGI is still wonderful. Performance is its only problem. I hope Apache can do something to improve that someday.

    8. Re:wtf? by Anonymous Coward · · Score: 1

      CGI vs modules, yes, I do believe the poster knows what they're saying. Do you?

    9. Re:wtf? by Anonymous Coward · · Score: 0

      Yes. The point still stands. A LOT of people still use traditional CGI.

  16. Thank god for LFS. by Anonymous Coward · · Score: 4, Insightful

    For those of you saying you don't need to transfer >2GB it reminds me of comments like, "640k is enough for anybody", "64-bit isn't needed on the desktop", "no advantage to dual core" etc etc.

    This will finally mean I can wget DVD ISO images! Work with large files over WebDAV and it will also mean my logs can grow over 2GB which is cool.

    HTTP works where FTP has problems when dealing with complex networks (firewalls/NAT etc etc).

    1. Re:Thank god for LFS. by Kinky+Bass+Junk · · Score: 2, Funny

      Right now the *AA is planning to sue anyone running an Apache web server, as these could be used to traffic illegal downloads of DVDs!

      --
      Anonymous Coward
    2. Re:Thank god for LFS. by m50d · · Score: 1, Insightful
      For those of you saying you don't need to transfer >2GB it reminds me of comments like, "640k is enough for anybody", "64-bit isn't needed on the desktop", "no advantage to dual core" etc etc.

      The point is not that you don't need to do it, it's that if you're using http to do it you're an idiot. Claiming that http servers need to support over 2gb is like claiming that DNS servers need to. And show me a real reason to go for 64-bit on the desktop.

      HTTP works where FTP has problems when dealing with complex networks (firewalls/NAT etc etc).

      No it doesn't unless you try and run a server from behind a firewall. Just use passive mode and it will just work just as well as http.

      --
      I am trolling
    3. Re:Thank god for LFS. by Slashcrap · · Score: 4, Insightful

      No it doesn't unless you try and run a server from behind a firewall.

      And who the hell would want to run a server from behind a firewall? What a ridiculous idea.

      Just use passive mode and it will just work just as well as http.

      I see you've never configured a firewall then.

      Claiming that http servers need to support over 2gb is like claiming that DNS servers need to. And show me a real reason to go for 64-bit on the desktop.

      He gave some perfectly valid reasons for wanting LFS - WebDAV for one. You ignored them, probably because you didn't understand them. And then you called him an idiot. At least your sense of irony is well developed.

    4. Re:Thank god for LFS. by maelstrom · · Score: 1

      Why would someone be an idiot for wanting to transfer over 2GB over http? It's actually a fairly efficient protocol. I'm quite baffled why you would say this, and I've actually written a web server. Care to explain more?

      --
      The more you know, the less you understand.
    5. Re:Thank god for LFS. by m50d · · Score: 0
      And who the hell would want to run a server from behind a firewall? What a ridiculous idea.

      There's no reason to be doing that outside a large (corporate or similar) network setting, and in that case you should know what you're doing.

      I see you've never configured a firewall then.

      It'll be one extra line/tickbox at most in any firewall worth its salt.

      He gave some perfectly valid reasons for wanting LFS - WebDAV for one. You ignored them, probably because you didn't understand them. And then you called him an idiot.

      I made no special reference to webdav because it changes nothing. Using webdav to transfer files that big is just as idiotic, for just the same reasons.

      --
      I am trolling
    6. Re:Thank god for LFS. by Anonymous Coward · · Score: 1, Informative

      The point is not that you don't need to do it, it's that if you're using http to do it you're an idiot.
      Or maybe I just don't want to run a separate server (FTP/SSH/anything) to do large file transfers when Apache is perfectly capable. Reduceding admin time, effort, cost, load, exposure to risk, support needs and so-on. Pretty big idiot I feel right now.

      Claiming that http servers need to support over 2gb is like claiming that DNS servers need to.
      When was the last time you downloaded a file from a DNS server?

      And show me a real reason to go for 64-bit on the desktop.
      Sure, RAM. 3D work, CAD, video. What are you saying, 4gb should be enough for anyone? :)

    7. Re:Thank god for LFS. by m50d · · Score: 0

      Yes, it's reasonably efficient, but it's far better to use a protocol designed for doing stuff like that, such as FTP as he mentioned. Use the right tool for the right job.

      --
      I am trolling
    8. Re:Thank god for LFS. by m50d · · Score: 1
      Reduceding admin time, effort, cost,

      Good admining takes time, effort and cost.

      exposure to risk,

      Nope. Dead wrong there. Using something for what it isn't designed for will always give you more risk overall.

      When was the last time you downloaded a file from a DNS server?

      When the story about how to transfer files over DNS hit this site. It's somewhat cool, but not really a good idea.

      Sure, RAM. 3D work, CAD, video. What are you saying, 4gb should be enough for anyone? :)

      I almost am. I'll certainly say that normal desktops don't seem likely to come anywhere near breaking 4gb for at least a few years - most motherboards sold today only have 2 or even 1 memory slot, and I've yet to see even a 2gb dimm, yet alone more. There are certainly areas where you need 64-bit, but I don't think we need it on the desktop, at least for a few years.

      --
      I am trolling
    9. Re:Thank god for LFS. by micheas · · Score: 1
      And show me a real reason to go for 64-bit on the desktop.

      Two words – video editing.


      I’ve seen PSD files that uncompress to well over 400 megabytes. So I can imagine that someone might want to merge five of those files, and run into the memory limitations of 32bit processors. Or the creation of a digital equivilent to a 60mm camera, which could also exceed the limits of a 32bit memory address space.

    10. Re:Thank god for LFS. by Anonymous Coward · · Score: 0

      Your post provided no useful content. Justify "far better". Specific examples.

    11. Re:Thank god for LFS. by Anonymous Coward · · Score: 0

      We can all see you don't know what WebDAV is useful for, so why not tell us what you do know?

    12. Re:Thank god for LFS. by nonsequitor · · Score: 1

      Not trolling, but you use FTP??? I use scp for all my file transfer needs. I avoid programs that transmit your username and password in plaintext.

    13. Re:Thank god for LFS. by JourneymanMereel · · Score: 1
      Just use passive mode and it will just work just as well as http.

      Not always. Passive is better at working through firewalls, but not a guarantee. Let's look for a second what happens when you use passive FTP.

      1. Your client (already connected to FTP via port 21) sends PASV to request a data connection.
      2. The FTP server responds with something that resembles:
        227 Entering passive mode (172,17,2,1,128,237)
      3. This tells your FTP client to connect to 172.17.2.1 on port 33005. This port is entirely random.
      4. On the control session (the original connection to port 21) your client sends the request for the file
      5. The server sends the file back to the FTP client on the new data connection (port 33005 in this example)
      6. When the transfer is complete, the server sends the following on the original control session (port 21):
        226 Transfer complete.
      7. Your FTP client can now close the data session (port 33005). If you request another file, a new data session will be set up.

      Do note that even things such as directory listings are done on the control session. The only differense between passive and active is who establishes the connection. In active FTP, the client starts listen, fe, on port 33013 and sends PORT (172,17,0,23,128,245) to the FTP server. The FTP server then establishes the data connection to 172.17.0.23:33013.

      So even passive FTP is not guarenteed to work in a NAT/Firewalled environment if outgoing traffic is port filtered (which isn't uncommon).

      --
      Life has many choices. Eternity has two. What's yours?
    14. Re:Thank god for LFS. by m50d · · Score: 1

      True, but it's a bit lazy for the program to want to just map all the files into memory. We solved that problem in text editors back in the day. Sure, more memory is always nice, but I don't think there's a real need for that much.

      --
      I am trolling
    15. Re:Thank god for LFS. by Yosho · · Score: 1

      I'm not sure which motherboards you're using, but the ones I buy commonly have 3 or 4 RAM slots. If you want to see a 2 GB DIMM, take a trip over to the Apple store, you can get up to 16 GB of RAM in a PowerMac (that's 8 x 2 GB DIMMs).

      Are you saying that because we (probably) won't need 64-bit processors on the desktop for a few short years, we shouldn't bother preparing for them now? That's just plain short-sighted. Take a look at the history of computers and you'll see that every time somebody has made a claim like that, it's been a mistake.

      --
      Karma: Terrifying (mostly affected by atrocities you've committed)
    16. Re:Thank god for LFS. by m50d · · Score: 1

      I use it every day and have never needed to transfer a file bigger than a few hundred k. Heck, I think I have a space limit of 250mb. And I'd use sftp instead if I wanted to transfer a file bigger than one or two meg.

      --
      I am trolling
    17. Re:Thank god for LFS. by m50d · · Score: 1
      This tells your FTP client to connect to 172.17.2.1 on port 33005. This port is entirely random.

      Can you not use PORT to change it if it's unsuitable?

      So even passive FTP is not guarenteed to work in a NAT/Firewalled environment if outgoing traffic is port filtered (which isn't uncommon).

      Point, yes, if you're filtering outgoing stuff you need to track FTP connections. But that's just a question of enabling one option in every decent firewall I've seen.

      --
      I am trolling
    18. Re:Thank god for LFS. by m50d · · Score: 1
      I'm not sure which motherboards you're using, but the ones I buy commonly have 3 or 4 RAM slots.

      Mine always used to, but when I went to buy my latest machine I could not find a "desktop"-oriented one with more than 2 slots. I'm not happy about it, but it was that or nothing.

      Are you saying that because we (probably) won't need 64-bit processors on the desktop for a few short years, we shouldn't bother preparing for them now? That's just plain short-sighted. Take a look at the history of computers and you'll see that every time somebody has made a claim like that, it's been a mistake.

      By all means prepare for them. But to say we need to move to 64 bits is at least premature.

      --
      I am trolling
    19. Re:Thank god for LFS. by Frank+T.+Lofaro+Jr. · · Score: 1

      If your enemies have access to your ISP or other intermediate hosts on the Internet, you have worse problems than just the possibility of them listening in. Like having really powerful enemies.

      --
      Just because it CAN be done, doesn't mean it should!
    20. Re:Thank god for LFS. by Anonymous Coward · · Score: 0

      Point 1 - yes, you can use PORT, but this doesn't help you with apps that silently use FTP or don't let you manually dink with it.

      As for connection tracking - yes, Gauntlet, Raptor, Checkpoint, Sidewinder, PIX, Netfilter, IPF, IPFW, pf, NetScreen and Centri all do this. But I'll give you a common example of something that doesn't: Cisco access lists. Yes, you can use CBAC to get around this, but not everyone has CBAC capability.

      By way of example, these two ACLs will break FTP most of the time -

      ip access-list extended egress-filter
      permit tcp any any eq ftp reflect outbound-packets
      permit tcp any any eq ftp-data reflect outbound-packets
      deny ip any any log

      ip access-list extended ingress-filter
      evaluate outbound-packets
      permit tcp any any established
      deny ip any any log

      interface GigabitEthernet0/0/0
      ip address 172.16.231.7 255.255.255.0
      ip access-group ingress-filter in
      ip access-group egress-filter out

      You'd have to do this to avoid breakage:

      ip access-list extended egress-filter
      permit tcp any any eq ftp reflect outbound-packets
      permit tcp any any eq ftp-data reflect outbound-packets
      deny ip any any log

      ip access-list extended ingress-filter
      evaluate outbound-packets
      permit tcp any any established
      deny ip any any log

      ip inspect name egress-cbac ftp

      interface GigabitEthernet0/0/0
      ip address 172.16.231.7 255.255.255.0
      ip access-group ingress-filter in
      ip access-group egress-filter out
      ip inspect egress-cbac out

    21. Re:Thank god for LFS. by JourneymanMereel · · Score: 1
      Point, yes, if you're filtering outgoing stuff you need to track FTP connections. But that's just a question of enabling one option in every decent firewall I've seen.

      One option, quite possibly.... an option that I have access to setting behind a corporate firewall? Not so much. They may be "fringe cases," but there are valid uses for transmitting files over HTTP.

      Another possibility where it may be desired is transmitting confidential data over HTTPS. While I admit that 2GB is a lot of data and there are probably more efficient was to transmit that much data securely (such as a good old-fashioned courier) that doesn't mean people won't try it :).

      --
      Life has many choices. Eternity has two. What's yours?
    22. Re:Thank god for LFS. by nonsequitor · · Score: 1

      Its not that I don't trust the intermediate hops, just the source and destination networks. I work in a company where EVERYONE knows how to use tcpdump and ethereal, plus a lot of the servers I access are on home networks of friends who have roommate who also know their way around a packet sniffer.

      Lets just say the next time you telnet into your server from a coffee shop's wireless network or better yet, airport wireless, you better hope your DHCP lease can from an access point and not my laptop.

    23. Re:Thank god for LFS. by Renegrade · · Score: 3, Insightful

      FTP is a horrible protocol - two TCP streams to do the work of one? Secondary connection data stored in the first connection's stream? No real standard to getting stat() info on files? No resumes/byte ranges in the base standard? On the fly ascii translation??

      While HTTP has it's own warts, it does support things like byte ranges, proxying, single TCP stream transfers, etc.

      I'd personally love to see a new FTP2 protocol that ditches all the old mainframe stuff, kills the ASCII transfers, and allows proper stat()ing of files (could have different modes like STAT BASIC (size, mtime, r/w status), STAT UNIX (size, all *times, 0777 perms, owners, etc), STAT WINNT (windows ACL data) STAT UNIXACL, etc), allow byte-range download specifications, all over a single stream, in a single protocol in a single RFC.

    24. Re:Thank god for LFS. by Renegrade · · Score: 1
      Sure, RAM. 3D work, CAD, video. What are you saying, 4gb should be enough for anyone? :)

      Actually on an x86-32 platform, you can use PAE to get 64 GiB of RAM going. Chances are, however, that if you're using that much memory, you should probably be looking at storing that crap on a fixed disk.

      With the way things are going in the CPU market, I wouldn't be surprised if we've caused Moore's law to fail anyways. Maybe 4GiB will have to be enough for anyone...

      PS. May the Ghost of Mel, the Real Progammer, haunt you until the end of your days.

    25. Re:Thank god for LFS. by Yosho · · Score: 1

      I take it that by "when I went to buy my latest machine", you mean that you bought a pre-built machine from Dell or someplace similar, correct? In that case, it's not at all surprising that you couldn't find a motherboard with more than 2 slots; they're not designed to be upgradable in the first place, and even if you did upgrade the RAM, since I assume this is a 32-bit machine we're talking about, having more than two slots would be pointless. You could put two 2 GB DIMMs in each, and then you'd have 4 GB of RAM, the maximum that a 32-bit machine can address. You can expect motherboards sold separately (and thus targeted at do-it-yourselfers) and 64-bit machines to come with more slots than that, however.

      --
      Karma: Terrifying (mostly affected by atrocities you've committed)
    26. Re:Thank god for LFS. by Nevyn · · Score: 2, Insightful

      DNS can't support LFS tyep sizes, you would actually need to change the protocol. HTTP on the other hand has worked fine with LFS for a _long_ time, just not if you are using apache-httpd.

      And as another webserver author, I can give you a couple of reasons for using HTTP over FTP:

      • Caching proxies, esp. helpful at large organisations where many people will be requesting the same data
      • proxies ... often it's the _only_ way out of the network (well you can somtimes do FTP over HTTP).
      • at a protocol level, HTTP is at least as efficient/suitable as FTP for transfering files of any size ... indeed you could easily do the HTTP by hand, this is _much_ harder with FTP
      • You still get the other benifits of HTTP, like content negotiation (like getting avi/mpeg or zip/gz/bzip2 depending on which you'd prefer) and caching (Ie. ETag)
      • If anything is more "suitable" for large transfers it'd probably be bittorrent, not FTP ... but even then bittorrent has one plus but fails most of the above
      --
      ustr: Managed string API with ave. 44% overhead over strdup(), for 0-20B
    27. Re:Thank god for LFS. by m50d · · Score: 1
      One option, quite possibly.... an option that I have access to setting behind a corporate firewall?

      It should be how it's set up, though I appreciate it may not be.

      They may be "fringe cases," but there are valid uses for transmitting files over HTTP.

      Of course there are - there are always cases where you don't have any other choice. Being able to transfer more than 2gb over http is a nice option to have for emergencies, sure - but it shouldn't be something you ever plan on having to use.

      Another possibility where it may be desired is transmitting confidential data over HTTPS. While I admit that 2GB is a lot of data and there are probably more efficient was to transmit that much data securely (such as a good old-fashioned courier) that doesn't mean people won't try it :).

      Why not use sftp, which is specifically designed for doing just that?

      --
      I am trolling
    28. Re:Thank god for LFS. by m50d · · Score: 1
      I take it that by "when I went to buy my latest machine", you mean that you bought a pre-built machine from Dell or someplace similar, correct?

      Nope, brought the parts and put it together myself.

      and even if you did upgrade the RAM, since I assume this is a 32-bit machine we're talking about, having more than two slots would be pointless.

      Again, no, well, it is at the moment for reasons I won't go into, but it was brought as a 64-bit machine.

      You could put two 2 GB DIMMs in each, and then you'd have 4 GB of RAM, the maximum that a 32-bit machine can address.

      There are ways to get them to address more.

      You can expect motherboards sold separately (and thus targeted at do-it-yourselfers) and 64-bit machines to come with more slots than that, however.

      Well, mine was both of those, and it doesn't.

      --
      I am trolling
    29. Re:Thank god for LFS. by m50d · · Score: 1
      DNS can't support LFS tyep sizes, you would actually need to change the protocol. HTTP on the other hand has worked fine with LFS for a _long_ time, just not if you are using apache-httpd.

      Ok, so it's something apache should support. But it's not something to get excited about, because you shouldn't ever be using it.

      Caching proxies, esp. helpful at large organisations where many people will be requesting the same data

      True, and working in exactly the same way for FTP.

      proxies ... often it's the _only_ way out of the network (well you can somtimes do FTP over HTTP).

      Would you then say that http should support e.g. video straming?

      indeed you could easily do the HTTP by hand, this is _much_ harder with FTP

      Huh? Is it not just a question of knowing the commands for either?

      If anything is more "suitable" for large transfers it'd probably be bittorrent, not FTP ... but even then bittorrent has one plus but fails most of the above

      The point is there are various protocols designed especially for transferring files, and they are (or at least should be, I'll admit FTP has a lot of things wrong with it) better at it than http which seems to be pretty much a general-purpose protocol these days.

      --
      I am trolling
    30. Re:Thank god for LFS. by Ash-Fox · · Score: 1

      When was the last time you downloaded a file from a DNS server?
      I have been known to put up files in text records in MIME format, to 'lookup' later in restrictive networks :)

      --
      Change is certain; progress is not obligatory.
    31. Re:Thank god for LFS. by Anonymous Coward · · Score: 0

      Because SFTP doesn't have an un-authenticated connection mode like HTTP does, or a standard "fake" credentials set like FTP has.

      And I still can't figure out why you think FTP is better for large file transfers the HTTP. It's, um, older, but you have yet to name one thing about the protocol that makes it better suited for large files than HTTP. And there have been numerous example of how FTP is harder to use in many network environments, and less useful in terms of retriving file information.

      And here's one more limitation: even if you don't intend to server large files over HTTP, you *must* put in them in a seperate directly from your smaller files, as apache won't even create a directory listing if any of the files in the directory are over 2^32 bytes.

    32. Re:Thank god for LFS. by Nevyn · · Score: 1
      Would you then say that http should support e.g. video straming?

      It does ... or at least you can abuse chunked encoding in HTTP/1.1 to do a constant stream of data without any changes to a normal HTTP server/client.

      I can imagine that there might be better specific protocols, for quality control etc. although those can probably be hacked in using extra extension headers.

      Are you asking if I think it's the best protcol to start from ... hard to say, if you had no other constraints then I'd probably go for using a seperate protocol. But I can imagine there are cases where you'd want to go with something over HTTP.

      Huh? Is it not just a question of knowing the commands for either?

      I was trying to think of why you would be preferrring FTP over HTTP, HTTP is simpler on a basic level ... and works at least as well as FTP. About the only advantage of FTP is that it has a defined way to get directory listings. But this doesn't help when you want to download one big file (and can be a disadvantage, no common FTP server lets you drop 3 files into one directory, giving URLs to different people without everyone being able to see all files).

      The point is there are various protocols designed especially for transferring files

      And HTTP is one of them, my web server currently _only_ transfers files. I can somewhat agree with "use the right protocol for the job" but when you are talking about transfering a static block of data HTTP _is_ the right tool, or at least the first one I'd try given no other constraints.

      http which seems to be pretty much a general-purpose protocol these days.

      I can sympathize, HTTP has been made to do a lot of things ... but I think this is somewhat inevitable. Designing a protocol is hard, testing/debugging more so ... if you can get that for free that's a big saving.

      --
      ustr: Managed string API with ave. 44% overhead over strdup(), for 0-20B
    33. Re:Thank god for LFS. by m50d · · Score: 1
      Because SFTP doesn't have an un-authenticated connection mode like HTTP does, or a standard "fake" credentials set like FTP has.

      No. It's meant for doing secure transfers, that's what you should use it for, if you don't want a secure transfer you use a different protocol, which is how it should be.

      --
      I am trolling
    34. Re:Thank god for LFS. by Anonymous Coward · · Score: 0

      You must have missed the sign at the entrance that said don't feed the trolls.

    35. Re:Thank god for LFS. by Anonymous Coward · · Score: 0

      I could be confused here, but maybe you just bought the wrong board? Your ignorance of modern board specs would therefore jive quite nicely with your general ignorance.

    36. Re:Thank god for LFS. by m50d · · Score: 1

      I shopped around and other than going for a more expensive server board which probably wouldn't have the useful integrated stuff (yeah, onboard sound is crappy, but my speakers aren't good enough to appreciate anything better anyway) I really couldn't see anyone offering one with more than 2 DIMMs. I was looking specifically for socket 754 which probably limited my choice a fair bit, but I'd still expect to be able to find one if they existed.

      --
      I am trolling
    37. Re:Thank god for LFS. by Anonymous Coward · · Score: 0

      I wonder if Sony will be injecting SpyWare code into Apache in order to see if anyone is distributing legal copies of their music illegally?

      I just love how they think US law applies to us Canadians who have a right to make copies of music we own for backup purposes -- perhaps Sony can make sure their SpyWare ignores all transfers to private IP spaces. Please, Sony, please, make sure you do this in your SpyWare so us poor Canadians don't get accused of violating your laws which don't apply here in Canada when we operate private web sites to distribute music to our other computers in our homes within private IP address ranges that we promise are not being transferred over VPNs! .Randolf

  17. Large File Support by kahanamoku · · Score: 2, Funny

    Sweet! Now I can store the 9.1GB DVD ISO's for people to download off my 33.6k Modem connected webserver!!

    ;-)

    But seriously, the timing of this feature being added couldn't be better, 5 years ago there would've been no point, but with the current rate of speed increases in home Internet, it will become somewhat more useful!

    --
    ----- Concentrate on promoting more than demoting.
    1. Re:Large File Support by Anonymous Coward · · Score: 0

      Five years ago I still had 100Mbit network in my office.

  18. Different mirrors for different directories by paulproteus · · Score: 2, Interesting

    But I want /debian/ to be a Debian cache, and /ubuntu/ to be an Ubuntu cache, and it'd be nice to have e.g. a Cygwin cache in /cygwin/ . Many "mirrors" sharing one disk cache space allocation on one easily-administered server.

    Can Squid handle that kind of flexibility? That's what drew me to Apache's ProxyPass.

    --
    |/usr/games/fortune
    1. Re:Different mirrors for different directories by gleam · · Score: 3, Informative

      Yes, Squid 3.0 can handle that easily using built in config options, and squid 2.5 can handle it with an external redirector script.

      --
      this .sig is not a .sig.
  19. Horray for Apache by ThePengwin · · Score: 1

    Ive never really seen a reason to update apache so regulary. its been so stable for me no matter how i used it. But large file support? Nice. Pitty i still have 56k...... :(

  20. GUI? by chrnb · · Score: 0

    Tried a few years ago and was kinda put off by the lack of a GUI,
    how is the situation now?

    --
    MikMik Baby Organics Mikkaworks
    1. Re:GUI? by Anonymous Coward · · Score: 0

      Why would it need a GUI?

    2. Re:GUI? by chrnb · · Score: 1

      For two small reasons:
      CONVINIENCE(sp?) and USABILITY..

      --
      MikMik Baby Organics Mikkaworks
    3. Re:GUI? by MassacrE · · Score: 1

      It has a web-based GUI :P

    4. Re:GUI? by code65536 · · Score: 5, Insightful

      I've used the IIS GUI once because I was curious. *shudder* GUIs are useful only when well-designed.

      1/ There are Apache GUIs. Google them up. Some are free, some are not.

      2/ Opening the config file in a GUI text editor and navigating around with a mouse should be fairly easy, especially with the copious amount of documenation in the config.

      3/ It's very difficult to express the rich level of complexity of Apache configurations in a GUI. Just imagine how on Earth a GUI can be made to handle nested VirtualHosts, Directorys, and Files. Throw in some regexp, and suddenly, you are faced with a situation where it becomes a heck of a lot easier to just edit the config file. To say that a GUI is always easier than text is incorrect; it depends on the situation, and Apache configs are one of those situations where this is the case (kinda like how when dealing with non-photographic web graphics, you need to use PNG or GIF and avoid JPG like the plague and how when dealing with photographic web graphics, you have to use JPG... each rules over their own niche of strength).

      4/ If a GUI is made, it is highly likely that it won't be as powerful as just using a text editor; it's not as expressive (see above). But there's really not much to do with the basic configuration, either. For the most part, the default configuration works just fine, and if someone needs to edit the settings, it's mostly for the complicated stuff that would be a bloody mess to do in a GUI.

      5/ Compactness and portability.

    5. Re:GUI? by Orange+Crush · · Score: 3, Informative

      There are a couple of GUI frontends for configuration available, but I don't believe this release includes one "out of the box." If you're running Apache on Windows there are a number of commercial products available for GUI configuration. There's a whole bunch of free ones for Linux/Unix, webmin being one of my favorites since it has modules for just about everything under the sun (unix users & groups, samba shares, mysql, etc.) Although I've never had much trouble editing the text conf files by hand. We have a lot of sites and virtual hosts--it was much quicker and easier to set it all up in Apache via typing and cutting and pasting the relevant bits than when we used to run IIS.

    6. Re:GUI? by killjoe · · Score: 1

      You know what somebody needs to so? Somebody needs to set up scripts for grepping the apache config files using CRM114. YOu could even use it make sed like for the pseudo xml file format.

      --
      evil is as evil does
    7. Re:GUI? by kahei · · Score: 1


      3/ It's very difficult to express the rich level of complexity of Apache configurations in a GUI. Just imagine how on Earth a GUI can be made to handle nested VirtualHosts, Directorys, and Files


      Hmm, it's almost like some kind of tree like structure might be appropriate :) If only there were well known and freely available ways to represent such things in a GUI.

      I realize that it is possible to create confusing arrangements in Apache which do not form a simple tree, but the same is true of filesystems and nobody has had much difficulty making viewers for them. To be honest, even a list of directories etc -- maybe where each one expands into a list of the filesystem objects it currectly applies to -- hey, there's a lot of scope for a useful GUI there.

      --
      Whence? Hence. Whither? Thither.
    8. Re:GUI? by thrills33ker · · Score: 1

      You know what somebody needs to so? Somebody needs to set up scripts for grepping the apache config files using CRM114. YOu could even use it make sed like for the pseudo xml file format.

      I, for one, think somebody needs to explain what on earth they are talking about.

    9. Re:GUI? by Kjella · · Score: 1

      3/ It's very difficult to express the rich level of complexity of Apache configurations in a GUI. Just imagine how on Earth a GUI can be made to handle nested VirtualHosts, Directorys, and Files. Throw in some regexp, and suddenly, you are faced with a situation where it becomes a heck of a lot easier to just edit the config file.

      You know, even in the very worst case you can have a text edit box in the GUI. Yes, I admit that's somewhat self-defeating, but a GUI could have other variables more suited for drop-downs, radio buttons, check boxes, input validated fields and other user-friendly inputs. You can also have a lot more context-sensitive help and such. So I can see a poorly designed GUI be more difficult than editing the config file, but a well designed GUI should always be equal or better.

      --
      Live today, because you never know what tomorrow brings
    10. Re:GUI? by Anonymous Coward · · Score: 0


      2/ Opening the config file in a GUI text editor and navigating around with a mouse should be fairly easy [...]

      3/ It's very difficult to express the rich level of complexity [...] in a GUI. Just imagine how on Earth a GUI can be made to handle [...] suddenly, you are faced with a situation where it becomes a heck of a lot easier to just edit the config file. To say that a GUI is always easier than text is incorrect; it depends on the situation, and [...] are one of those situations where this is the case

      4/ If a GUI is made, it is highly likely that it won't be as powerful as just using a text editor; it's not as expressive (see above). But there's really not much to do with the basic configuration, either. For the most part, the default configuration works just fine, and if someone needs to edit the settings, it's mostly for the complicated stuff that would be a bloody mess to do in a GUI.


      I've heard these exact same arguments for years, applied to every possible situation. In fact, I think I've heard it for pretty much every (GUI) app I have on my system now. It seems to be Geekish for "Well, nobody has come up with a decent one, yet, and I'm not going to try".

      Take Automator, for example. It seems to do things quite easily that conventional Geek wisdom says you need a command-line for. In fact, doing these sorts of things is one of the arguments for "Well, sometimes you *need* a command-line; how are you going to do this in GUI?"

      Whenever I hear "sometimes you can't use a GUI!", I think "somebody who won't admit there's a problem". Admitting that the current way is not ideal is the first step to making it better.

    11. Re:GUI? by killjoe · · Score: 1

      Apache configuration is based on blocks of data between tags. CRM114 is a great tool for dumping text between start and end tags and also for replacing those blocks.

      --
      evil is as evil does
    12. Re:GUI? by Burz · · Score: 1

      I believe the best overall solution for facilitating a GUI is to make the server capable of serializing its own configuration data to disk, and provide API calls for accessing this function. Then native GUIs can all handle configuration of the service in a way that is thorough and consistent across platforms.

      This doesn't mean I'd advocate binary config files (I never would). However the prospect of using XML is intriguing.

  21. apt-proxy by Anonymous Coward · · Score: 3, Informative

    FWIW there's a debian-specific solution in the form of apt-proxy, a program that runs on your server, then the clients point their /etc/apt/sources.list at you, etc. etc. I haven't used it, but I know it exists, so your mileage may/will vary. (At my last job I was responsible for setting up a large web cluster; one machine acted as sort of the "mothership" providing all sorts of network services to the web hosts and so on... I was just looking into apt-proxy when I ended up getting a better job elsewhere. ;))

    http://apt-proxy.sourceforge.net/

  22. Close... by msimm · · Score: 1

    But its apachectl graceful. The -k isn't needed. Reloads the configs without dropping active connections, very nice for production systems.

    --
    Quack, quack.
  23. When are they going to fix mpm_perchild by kobaz · · Score: 2, Interesting

    When apache first introduced mpm I was looking forward to the ability to have each virtual domain run under a seperate user. Right now it will spawn a seperate process for each user specified. So if you are hosting 1000 domains on one machine and specify unique users for each domain, you have 1000 idle listener processes when you start up the server.

    I'm thinking the way it should be is only spawn processes for the specified user when an incomming request needs to be served, keep the process around to serve new requests if there are more to serve, and kill it off if there is no requests in X period of time. This would surely make hosting things like cgi much more secure.

    --

    The goal of computer science is to build something that will last at least until we've finished building it.
    1. Re:When are they going to fix mpm_perchild by HighBit · · Score: 1

      because that scales with traffic so much better..

    2. Re:When are they going to fix mpm_perchild by kobaz · · Score: 1

      Are you being sarcastic or do you actually have something useful behind your post? If so, please explain, because I'm quite unfamilar on how the internals of apache operate other than the minimal exposure I got from writing a few modules for 1.3.x

      --

      The goal of computer science is to build something that will last at least until we've finished building it.
    3. Re:When are they going to fix mpm_perchild by Cronq · · Score: 3, Interesting

      AFAIK there is 0 interest in fixing perchild in apache community. Too bad because this is the biggest disadvantage of apache. There is simply NO WAY to run vanilla apache + mod_python/mod_php/mod_perl/mod_whatever in a SECURE way in multiuser enviroment :-(

    4. Re:When are they going to fix mpm_perchild by DrSkwid · · Score: 1

      run 1 apache each per user on a different port then mod_proxy/rewrite the web facing on 80

      --
      There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
    5. Re:When are they going to fix mpm_perchild by Cronq · · Score: 1

      10 000 * nr of apache childs processes? Don't be silly. I have many vhosts but not very popular so about 100 q/s max.

    6. Re:When are they going to fix mpm_perchild by GiMP · · Score: 1

      Don't laugh, there is at least one provider doing this. Cheers.

    7. Re:When are they going to fix mpm_perchild by Cronq · · Score: 1

      On single machine? Anyway - it eats resources to heavily in such setup :(

      For that solution I would use http://www.lighttpd.net/ (needs less memory than apache).

      If there just would be a sponsor for such project + some apache developer interested..

    8. Re:When are they going to fix mpm_perchild by Bogtha · · Score: 1

      There is simply NO WAY to run vanilla apache + mod_python/mod_php/mod_perl/mod_whatever in a SECURE way in multiuser enviroment :-(

      There is, it's just an inefficient pain in the neck. The only real reason for needing root privileges for Apache is to bind to port 80. What you do is you set up each user with their own instance of Apache running on a non-standard port > 1024, running with their own privileges. Then set up an instance on port 80 that merely proxies the content from the users' Apaches.

      --
      Bogtha Bogtha Bogtha
    9. Re:When are they going to fix mpm_perchild by shish · · Score: 1
      If there just would be a sponsor for such project + some apache developer interested..

      "Fix perchild" was one of the apache / google summer of code projects; I haven't seen a status update since "someone has expressed interest in doing this" though :(

      For that solution I would use http://www.lighttpd.net/

      lighttpd does separate user per vhost? I scanned the docs looking for that feature, but couldn't find it :-/

      --
      I mod down anyone who says "I will be modded down for this", regardless of the rest of their comment
    10. Re:When are they going to fix mpm_perchild by Anonymous Coward · · Score: 0

      I saw a module that someone wrote for Apache 1.3, cant remember what it was called, it gave you privilege seperation by doing a setuid before accessing a directory or virtual host or something, or maybe it was for serving user dirs ... Anyway, that sort of thing seems like it is a great idea!

      Could not find anything similar for apache 2.x, which surprised me.

      I did not know about this perchild thing, but it sounds broken anyway, I ended up going with the proxying apache, plus the per user one to serve users home directories over WebDAV. Since it was easier to integrate LDAP auth with this than with Samba 3, which seems nothing short of a nightmare. What I didn't like with this was you have to maintain that setup manually, i.e. debs don't upgrade nicely for you. With only a handful of users, perhaps this perchild thing might work for me ...

    11. Re:When are they going to fix mpm_perchild by Cronq · · Score: 1

      No - lighttpd doesn't. lighttpd is quite actively developed BUT this is the same situation as in apache team. No one is interested in adding such support. ,,for that solution'' means for using separate instance for each user solution as someone proposed.

    12. Re:When are they going to fix mpm_perchild by GiMP · · Score: 1

      On a single machine we can easily fit 25-50 users, each with their own dedicated web server processes. Its less expensive than virtual dedicated servers, with some of the same benefits. Also, Apache isn't our only supported web server.

  24. Compiling by baojia · · Score: 0, Offtopic

    but how to compile apache 2.2.0 under win32 with icc? thanks

  25. if you want to get started ... by DrSkwid · · Score: 1


    Run Apache 2.x on the web facing side and use mod_proxy / mod-rewrite to serve your 1.3 pages to prevent any re-writing etc.

    You can then migrate bits of uri at a time.

    --
    There are places where the networks are not touching,and there are places where they are-Boeing's Lori Gunter
  26. but WHEN! by jaimz22 · · Score: 3, Interesting

    i just want to know when i'll be able to restart each vhost independently, like in IIS. or atleast have it rehash the config with out shutting the server down ( or is that already possible )?

    1. Re:but WHEN! by myz24 · · Score: 2, Informative

      on a system that has init scripts like Red Hat's you can use /etc/init.d/httpd reload to have it reload the config file.

      I think you could also do a killall -HUP httpd and this will also work.

    2. Re:but WHEN! by jaimz22 · · Score: 1

      but i suck and i use windows :(

  27. Re: Version numbers by rbowen · · Score: 5, Informative

    In the mean time (ie, since the 2.0 release) we've changed the versioning model to the "odds are dev, evens are stable" model. So as soon as 2.2 released, development moved to the 2.3 branch, which will release as 2.4. So, yes, like Perl and Linux and many other things.

    As for transferring >2GB files, this comes up many times every day on #apache, and fairly frequently on the mailing lists, so people do actually want to do this.

    Folks that are still using 1.3 are missing out on enormous strides forward. The "it still works fine, why should I upgrade" crowd are completely welcome to remain where they are, and we're not going to compel to move, but they are going to miss out on all sorts of cool things, in the name of "it's good enough already." Their loss, not ours.

    --
    Apache guy, Open Source enthusiast, runner
  28. httpd -M ... cool by TallMatthew · · Score: 1

    Knowing which DSOs will load will be incredibly helpful, especially in distros that include packages for modules.

  29. LFS! Finally! by syntax · · Score: 1

    I've been waiting for LFS support in Apache for so long! OSX exports all of it's NFS shares as 64 bit, which has the adverse issue of any readdir() call returning empty. mod_autoindex always returned a completely empty directory listing.

  30. '...the start of a new stable branch...' by Caspian · · Score: 1

    ...which no one will use.

    Just like the last stable branch.

    Thankyew, thankyew, I'll be here all week. Try the veal!

    --
    With spending like this, exactly what are "conservatives" conserving?
    1. Re:'...the start of a new stable branch...' by Monkey · · Score: 1

      are you actually trying to suggest that nobody is using Apache 2.0.x?

  31. Re: Version numbers by Curly · · Score: 2

    Folks that are still using 1.3 are missing out on enormous strides forward. The "it still works fine, why should I upgrade" crowd are completely welcome to remain where they are, and we're not going to compel to move, but they are going to miss out on all sorts of cool things, in the name of "it's good enough already." Their loss, not ours.

    I haven't upgraded because most new security problems reported in Apache are for the 2.0.x branch, not the 1.3.x branch.

    You say I'm missing out on enormous strides forward, but aren't I also missing out on numerous security problems? I'm not being argumentative, I really am interested in hearing the Apache developer's side of things. (E.g., perhaps the issues have been overstated, perhaps they exist in 1.3 also but aren't being discovered, etc.)

  32. RFC 2817 SSL Upgrade by bill_mcgonigle · · Score: 2, Informative

    The earth-shattering feature of Apache 2.2 is RFC 2817 SSL Upgrade. Basically, any HTTP connection can upgrade itself to HTTPS without reestablishing.

    This means you can do SSL on virtual hosts without a dedicated IP address. This will greatly increase the penetration of SSL (plus free certs like CaCert) and encryption in general. The $5/mo webhosters will be able to offer SSL to clients. Ubiquitous encryption considered good.

    This is, of course, a Catch-22 - there are no browsers with the capability yet (let's get Mozilla going...) but this is the necessary first step. Come back in a couple years and see how things are going.

    Oh, and I'm happy about the Cookie proxying patches which I reported against 2.0 but were applied to 2.1. This is the only Apache feature I've ever had a hand in designing so I'm happy to see it available. Basically, anything you do with cookies (paths, domains) should be properly proxied now. I've been waiting for this for a long time. Yay!

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    1. Re:RFC 2817 SSL Upgrade by stu42j · · Score: 2, Informative

      The SNI (server name indication) extention is considered to be a better solution for HTTP than SSL Upgrade and hopefully will soon be supported by browsers and servers. (Opera and mod_gnutls already do).

      http://wiki.cacert.org/wiki/VhostTaskForce#head-78 b8f803f17fa69b4333aa376a641b2e843c2cb3
      http://www.outoforder.cc/projects/apache/mod_gnutl s/
      https://bugzilla.mozilla.org/show_bug.cgi?id=11616 8

  33. Windows? by mike.newton · · Score: 1

    Surely I'm not the first to notice it's not out for Windows yet?

  34. Source only by Mirzabah · · Score: 1

    ... bit of a cheek calling it a "release" when there are no binaries. How is it different from what we could pull from the repository any other day of the week?

    1. Re:Source only by Anonymous Coward · · Score: 0

      Ask Linus.

  35. Re:new versioning scheme (was inertia) by EMR · · Score: 1

    After the 2.0 release the ASF decided to change the way they do versioning of their products to a "odd" unstable development tree and "even" stable release tree. This was done to not cause all the confusion over the 2.0.x numbering (where the stable and unstable were both called 2.0.x)

    And the authorization/authentication system rewrite is a nice BIG improvment over the old authentication stack. The new one allows you to explicitly specify which "backends" to use to authenticate and in which order.. Plus all backends can be used to plain and digest.

    And for module developers (which I am) the 2.0/2.2 model is so much better than the old 1.3 module system and allows a lot more flexability and control.

  36. Apache Portable Runtime needs better API by Anonymous Coward · · Score: 0

    The memory pools concept of APR is completely at odds with C++ programming and is very awkward to use. Nevermind the fact that the API memory pools seriously _slow_ down multithreaded programs rather than speeding them up since they prevent the efficient use of the Hoard memory allocator.

  37. You are contradicting yourself by tod_miller · · Score: 1

    The "it still works fine, why should I upgrade" crowd ..

    but they are going to miss out on all sorts of cool things, in the name of "it's good enough already." Their loss, not ours.

    Why not say: it 1.3 does everything you want it to do then you do not need to upgrade. If you see something you do need (therefore 'it works fine' may not be true for a given value of fine) then upgrade.

    Except that is all implicit in the minds of every other reader.

    --
    #hostfile 0.0.0.0 primidi.com 0.0.0.0 www.primidi.com 0.0.0.0 radio.weblogs.com
  38. Re:wtf? (WHO STILL USES CGI ANYWAY?) by Anonymous Coward · · Score: 0

    > ... And who still uses CGI anyway? ...

    Without the Common Gateway Interface (CGI), HTML-based forms that submit data via HTTP or HTTPS simply wouldn't work (assuming some other alternative hadn't been developed).

    So, to answer your question: CGI is used by everyone who has a form on the web page (plus many other uses as well, such as direct links to URIs that expect GET method input), which makes CGI extremely common-place. It is also not uncommon to see it used in concert with Apache's SSI (Server Side Includes) by way of the "exec cgi" or "include virtual" commands embedded within HTML file comments.

    As a point of interest to other readers, this form I'm using right now to type these comments on one of SlashDot's web sites results in my data being submitted via CGI using the POST method when I activate the "Preview" or "Submit" button.

    > ... I also want my URLs to represent named entry points,
    > not continuations within some arbitrary program. ...

    That makes sense because it simplifies bookmarks for end users, and links for other web site developers. I agree with this approach 100% as I have the same desire to have cleaner looking URLs and URIs.

    --
    Randolf Richardson - randolf@inter-corporate.com
    Inter-Corporate Computer & Network Services, Inc.
    Vancouver, British Columbia, Canada
    http://www.inter-corporate.com/

  39. Re:Right...wrong! by Anonymous Coward · · Score: 0

    > ... I would personally settle for a configuration file format
    > which isn't confusing, poorly organized, and often times not
    > parsed correctly (ie, apache doesn't do what the docs imply). ...

    When I encounter comments such as that, I immediately wonder if the author has difficulty using computers in general.

    The Apache file format is the most logical, flexible, scalable, and easiest to maintain, and includes some of the best documentation I've ever seen compared to commercial and other free software. I particularly like the way Virtual Hosts are handled, and how the Location section directives make it so easy to do so much with very little effort. I've had zero problems with HTTPD.CONF file modifications, and particularly appreciate Apache's refusal to load when an error is encountered (configuration files should always be perfect).

    In my own projects, I'm adopting this format, and am currently starting work on a Java library to read configuration files that are formatted in the same manner as Apache's HTTPD.CONF so that I can maximize flexibility while maintaining simplicity in future server and other applications that are on my drawing board.

    When evaluating new products, if a product has a proper implementation of the Apache-style configuration file format it automatically gets a higher rating in my scoring system.

    Some folks think XML is the way to go. It certainly has its uses, but I'm not a big fan of overhead, and when it comes to network management it's obvious that Apache's format is much easier to maintain in this regard. I'm very disappointed that Apache James uses XML for its configuration files, and this is one of the many reasons I don't bother with James at all.

    There are other products that use the same configuration file format as Apache's, such as ProFTPD ( http://www.proftpd.org/ ), and this is a trend that I hope continues with other well-managed projects (both free and commercial).

    --
    Randolf Richardson - randolf@inter-corporate.com
    Inter-Corporate Computer & Network Services, Inc.
    Vancouver, British Columbia, Canada
    http://www.inter-corporate.com/

    This message originated from within a secure, reliable,
    high-performance network ... a Novell NetWare network.

  40. Future security patches for Apache 2.0? by WoTG · · Score: 1

    Anyone know if there will be future security patches for the now older 2.0.x version? I.e. should I figure on upgrading sooner rather than later to minimize the disruption the next critical bug fix comes out?