Slashdot Mirror


IIS 7.0 Learns a Few Tricks from Apache

An anonymous reader writes "According to BetaNews, Microsoft is learning a few tricks from Apache for the next release of IIS, version 7.0. Specifically, the IIS feature set has been broken down into modules to reduce overhead. Modules can be changed on the fly, without restarting the Web server. Also, the IIS metabase has been completely dropped in favor of easily editable XML configuration files. Each Web application can have its own config file that overrides the system-wide configuration."

35 of 395 comments (clear)

  1. About time by BWJones · · Score: 5, Insightful

    Specifically, the IIS feature set has been broken down into modules to reduce overhead. Modules can be changed on the fly, without restarting the Web server.

    I am shocked that it has taken this long to implement these features. Come on now. The rest of the industry has known that this increases stability, eases management and reduced computational overhead for years. Why is it do they think that an eight year old Linux box running Apache can serve up such huge volume versus a latest and greatest IIS server? Also, "simple configuration. IIS 7.0 does away with complicated the "Metabase" and replaces it with XML configuration files, Well, yeah! The fact that they are even talking about doing this rather than simply implementing the feature and then talking about it troubles me though. For myself, I am not running anything sophisticated for the sites I manage but I want simplicity of management and therefore went with standard OSX hosting systems. For heavier lifting, an OS X server system for our scientific databases is not quite as fast as Linux based solutions for some data types, but it is certainly easier to manage than Linux or IIS. If Microsoft wants me to switch, they had better come out with something truly special rather than simply aping the rest of the industry.

    --
    Visit Jonesblog and say hello.
    1. Re:About time by Golias · · Score: 5, Funny

      If Microsoft wants me to switch, they had better come out with something truly special rather than simply aping the rest of the industry.

      Simply aping the rest of the industry has always worked for them before. Why change now?

      --

      Information wants to be anthropomorphized.

    2. Re:About time by justforaday · · Score: 5, Funny

      I think he forgot the 'r' up there...

      --
      I'll turn into a supernova and burn up everything. Well I'll turn into a black little hole and you'll turn into string.
    3. Re:About time by aktzin · · Score: 3, Interesting
      I was really surprised when this came out in 2001:

      "Research group Gartner is advising businesses to "immediately" replace their Microsoft Internet Information Server software with a more secure server application, following attacks on IIS by the worms Code Red and Nimda."

      http://news.com.com/2102-1001_3-273461.html?tag=st .util.print

      Gartner approves of Microsoft more often than not, and this was by far the most negative opinion I've ever seen them express about MS. Too bad hardly anyone took their advice.

      --
      Quantum mechanics: the dreams that stuff is made of.
    4. Re:About time by MrAnnoyanceToYou · · Score: 3, Interesting

      Simply aping the rest of the industry has always worked for them before. Why change now? Because the other option is:

      a) Free
      b) Easily modifiable if you figure out something else you want it to do
      c) More Stable
      d) Running on an OS that's Free'er than yours
      e) Kicking your tail
      f) Preferred by Developers
      g) All of the above

      It might be mildly intelligent to actually add features that people really want badly to overcome the rest of the problems there....

    5. Re:About time by kahanamoku · · Score: 3, Insightful

      Funny, until they Patent the Idea of using modules and editable text files for configuration of a web server

      --
      ----- Concentrate on promoting more than demoting.
    6. Re:About time by toddbu · · Score: 3, Funny

      corrupteed?

      --
      If you don't want crime to pay, let the government run it.
    7. Re:About time by Mo+Bedda · · Score: 5, Funny

      - If you leave a Windows box running IIS alone in the corner of your office (Like I have), you will rarly touch it, I usually install updates once every few months.

      Most folks find web servers more useful when connected to a network.

    8. Re:About time by DavidTC · · Score: 4, Funny
      a) Free
      - IIS is also free.

      IIS is free? Holy shit!

      Where's the download for XP Home, then?

      Oh, wait, it's not free, it's merely included in the price of something else.

      b) Easily modifiable if you figure out something else you want it to do
      - IIS isnt that hard to figure out.. I figured it out as fast as Apache. Because of the strong/open community around Microsoft products, them being diffult to use is easily overcome

      You missed the 'modifiable' part of that, didn't you? Apache has source. If worse comes to worse, you find a module that's close to what you want, and hack it. (I think this is one of the things MS is trying to change here.)

      c) More Stable
      - If you leave a Windows box running IIS alone in the corner of your office (Like I have), you will rarly touch it, I usually install updates once every few months.

      So...you're owned every month, then? Or is the corner of your office not connected to the internet?

      Or, wait? Is your webserver behind a Linux proxy/firewall? Admit it, it is, isn't it?

      d) Running on an OS that's Free'er than yours?
      - 100 bucks is not really something to complain about. If that overhead is hurting your business you have larger problems.

      You can't even get XP Home for 100 bucks. And Home does not have IIS.

      A 'legit according to MS' license for XP Pro is $269.00. See here. That's sans CD, incidentally.

      Yes, you can get it for cheaper, but those are often counterfeit or gray market OEM version. (While the illegality of selling those is probably dubious under the Doctrine of First Sale, Microsoft does not get to use gray market licenses that it is trying to stop to demonstrate about how low its prices are.)

      Windows Server 2003 might be cheaper, but I can't locate it. However, it's not 100 dollars.

      e) Kicking your tail
      - ?

      I think that is self-explanitory. Apache owns the web server market with 70% of the entire thing, and MS limps in at 20%, with the other 10% being other Unix servers. I think 70% vs. 20% is 'kicking tail'.

      f) Preferred by Developers
      - Considering the .NET Framework is the most propular develpment platform today, I am sure this could be argued.

      Oh, I understand. You'll living in that parallel universe where people care about .NET. Um, no. Depending on want you mean by that, the 'most popular development enviroment' is probably C, like it's been for the past 30 years. If you mean 'desktop programs', I suspect C++ might slightly win over C, with Java in there somewhere.

      Even if you're saying 'Windows application development enviroment', .NET doesn't win, and I don't know what the hell that would have to do with web server.

      With web development, almost all is Perl and PHP. ASP comes in a distance third, and ASP.NET isn't even making a dent.

      But wait! .NET is by Microsoft, and it's new. We should all immedaitely start using it so we can be obsoleted in four years.

      VB anyone? ASP? J++? Just exactly how many programming languages has MS left to rot?

      Some of us like to code in languages that have open source versions, or at least are multiple vender-supported standards, so we don't get tossed out of the Microsoft truck when it decides to randomly swerve in a new direction.

      --
      If corporations are people, aren't stockholders guilty of slavery?
  2. so... by intmainvoid · · Score: 3, Insightful

    so if IIS is just copying Apache... then remind me why should I choose IIS over Apache?

    1. Re:so... by FyRE666 · · Score: 5, Funny

      so if IIS is just copying Apache... then remind me why should I choose IIS over Apache?

      Because it costs les... I mean, because the OS it runs on is more secu... Oops, I really meant, because people should support all the good things that MS do for the...

      Sod it... Hey, O'Gara, you get paid good money to come up with this horse-shit - take it away, would you?

    2. Re:so... by dioscaido · · Score: 3, Insightful

      asp.net w/ c# would be one reason. it's a fantastic dev platform, hatred for MS aside.

    3. Re:so... by SomeGuyTyping · · Score: 3, Informative

      that's what Mono is for

      --
      My posts are definitive. Reality is frequently inaccurate.
  3. How about multiple versions? by fuzzy12345 · · Score: 5, Insightful

    Can you install two different versions of IIS and have them run on different ports and/or addresses? Install or uninstall without rebooting? Change or inspect the source code?

    --

    Everybody's a libertarian 'till their neighbour's becomes a crack house.
  4. Copy Cat by sheepoo · · Score: 5, Funny

    Is M$ becoming a mass copy store...First Firefox (for IE7.0) then Apple OS X (for Vista) and now Apache (for IIS). Are they going out of business of innovation?

    1. Re:Copy Cat by Saiyine · · Score: 5, Funny


      Are they going out of business of innovation?

      Well, to go out you first have to have been in!

      --
      Superb hosting 4800MB Storage, 120GB bandwidth, $7,95.
      Kunowalls!!! Random sexy wallpapers (NSFW!).

      --
      Hosting 20G hd, 1Tb bw! ssh $7.95
    2. Re:Copy Cat by MrDomino · · Score: 5, Funny

      They were in the business of innovation?

  5. Re:XML Config by grub · · Score: 5, Insightful


    I was thinking the exact opposite. I like editting a plain ol' text file by hand. Editting XML is a pain; yeah it's all text but then so is Postscript.

    --
    Trolling is a art,
  6. Erm by Vlad_Drak · · Score: 5, Informative

    IIS 6.0 utilized an editable-during-runtime xml configuration file, metabase.xml. The new stuff is more integrated into a .Net Framework style config.

  7. Re:XML Config by Anonymous+Crowhead · · Score: 5, Funny

    Editing the httpd.conf file is a real pain.

    Heh, I worked with someone who thought it was a pain to edit too. His solution - he erased every single comment from httpd.conf. (He thought it was a pain because it was too long. Needless to say, tempers flared.)

  8. THIS JUST IN - IIS 6.0 does most of that crap by BattleRat · · Score: 5, Insightful

    wow, I guess that most slashdotters REALLY hate MS enough to not even know the characteristics of their current offerings...

  9. Re:If I remember correctly... by $RANDOMLUSER · · Score: 3, Insightful

    Oh come on. When you install SQL Server, you have to reboot. New installations of infrastructure are a different matter than deploying a new virtual directory.

    --
    No folly is more costly than the folly of intolerant idealism. - Winston Churchill
  10. Re:XML Config by Nos. · · Score: 5, Insightful

    I tend to agree... sort of. Once your familiar with httpd.conf, editing it tends to be quite simple. However, trying to write an application front end to do that is a pain. This is where XML is nice. Its structured and formatted. The idea behind using XML isn't to make your life easier to edit it by hand... its to make it easier to make automated tools to edit and query the config files.

  11. It's always been a copy cat... by jimmer63 · · Score: 3, Insightful

    This is one of the major ways Microsft has stayed on top. The are great at collecting the best ideas from many sources and implementing them in their own software. Often implementing these ideas better than the orginal. Microsoft isn't stupid. They're always watching the market to learn how to do things better.

  12. Saw a demo of it a few weeks ago.. by Johnno74 · · Score: 4, Informative

    ... At TechEd New Zealand. IIS7 looks really smart, with pluggable modules to provide all of its functionality, as the submitted mentioned. Ouf of the box pretty much everything will be disabled, and you enable only the modules you need.

    IIS6 (win 2003) has already done away with the metabase and gone to an XML file for all of the configuration settings.

    IIS7 goes one further, by allowing you to put configuration files in each virtual directory or website to over-ride the parent setting (if permitted) - this allows a website owner to configure their own website, without affecting the other websites on the box, or having to ask the administrator to make the changes for them.

    The MS guy told me they are trying to make management as easy as possible for servers containing thousands of seperate sites. He also said they hope to release IIS7 for Win2003 R2.

    Loads of other management things are coming in too, such as the ability to examine currently execting requests, and kill them without restarting the site or server (VERY usefull if a script is looping)

    MS's new approach to security seems to be really paying off - IIS6 was re-written from the ground up, and how many security holes have there been? I can't remember any.

  13. Re:Not XML by Rasta+Prefect · · Score: 3, Informative

    Running in prefork MPM is fine for the most part, but I really wish perchild would get off the ground so that PHP scripts won't be all running as the same user. Now if only all of PHP's modules were thread safe...

    suPHP will take care of that for you. Well, the user bit, not the thread safety bit.

    http://www.suphp.org/Home.html

    --
    Why?
  14. Apache Browser? by krgallagher · · Score: 4, Funny
    From the article:

    "The popular open source Apache Web browser takes a similar approach to features."

    Does it support tabbed browsing?

    --

    Insert Generic Sig Here:

  15. My two cents... by Savage-Rabbit · · Score: 4, Interesting

    If Microsoft wants me to switch, they had better come out with something truly special rather than simply aping the rest of the industry.

    I'd settle for a better IIS-FTP component, the one in IIS 6 is a bit of a joke. As for the Metabase , yes it could be more transparent but it isn't that complicated and there is an excellent programming interface for it. Most of all I'd really like to see Microsoft cough up the ability to configure absolutely every aspect of IIS (and Windows it self for that matter) from the commandline. Basically I want the option of being able to do absoloutely everything I can do with the Windows GUI admin tools but over a lousy GPRS connection via a remote text based shell. And this to the point where I don't have to see a Windows desktop for months should the need arise. Even in Windows 2003 the commandline toolkit that comes with Windows is incomplete although Microsoft does offer a bunch of administrator toolkits that help alot but I still fail to see why these have to be tracked down and downloaded seperately rather than being supplied with the OS.

    --
    Only to idiots, are orders laws.
    -- Henning von Tresckow
    1. Re:My two cents... by secolactico · · Score: 3, Interesting

      I'd settle for a better IIS-FTP component, the one in IIS 6 is a bit of a joke.

      Heck, yeah. I don't even bother with it anymore and I usually go with a third party program for my ftp needs.

      But I wish IIS would allow me to authenticate against an external user database instead of the system's or AD.

      Other than that, I have no complains about Windows 2003/IIS 6. I also run Apache 2 on Linux and Apache 1.3 on Solaris. I don't see much of a difference in stability. Apache1.3/Solaris are a bit behind in performance but that's because they are running on a *really* old Sun machine.

      --
      No sig
    2. Re:My two cents... by Dom2 · · Score: 3, Insightful
      The point about the metabase being xml is very, very important. How many people keep their apache config files in version control? Lots (the sensible people). How many people keep their IIS configs in version control? I don't know, but I'm betting it's a tiny, tiny percentage of the user population.

      Version control is essential for systems administration. You need a good, working "undo" button. That's what version control gives you. But VC works best with text files, not the registry. So switching to XML config files will give IIS admins a chance to bring their practises closer to those used by Apache admins (and the rest of the Unix sysadmin world).

      -Dom

  16. Re:XML Config by Anonymous+Crowhead · · Score: 3, Informative

    Would have been nice had he done one of these first:

        mv /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.bak


    Heh, fat chance with that guy. I usually append a bind type serial number (2005091501) to the end of a copy. If you just use .bak you can accidently write a bad copy over a good one. Even worse is finding things like:

    httpd.orig.bak3 or
    httpd.conf.this.one.works2.bak

    in the conf directory.

  17. IIS 7 by bitserf · · Score: 5, Insightful

    Okay...So I guess the OP fixated on one thing (modular configuration snippets) and wrote off all IIS efforts as copying.

    It is this complacent attitude that will get Apache's ass handed to it.

    When I last checked, Apache has no way (short of parsing the config file with your own crappy scripts using unreliable regexen ) for you to inspect the current configuration. IIS has this, the entire object model of the server configuration is available for inspection from the scripts, guaranteed to be accurate.

    Apache needs to provide (if not a more structured file format), a set of script-callable APIs for configuring and managing the server.

    Grepping the config file and making one or two changes then restarting may be sufficient when you're running 10 or 20 sites in production, but when you're hosting 1000s, you need something better.

    IIS is also completely manageable from scripts, and I cast envious glances at the things our IIS admins are able to do with scripts. Create new vhost: Check. Temporarily disable vhost: Check. Modify vhost properties at runtime without bouncing the entire server: Check.

    Apache doesn't have anything equivalent (unless you count the big-hammer apachectl START/STOP/GRACEFUL) as "management". Or you write your own. (Yeah, we all have time to reinvent that wheel.)

    Apache is playing catch up here in every sense.

    And this comes from someone who runs tonnes of sites under Apache in production.

    Believe me, generating Apache configuration from a canonical source (i.e. a database) is a royal pain in the ass, but currently the only way you're really going to manage 1000s of sites with Apache if you're offering hosting services.

    This management is the single biggest thing missing in Apache today.

  18. Re:Ummm... patents? by greg_barton · · Score: 4, Insightful

    Did anyone at Apache remember to patent hot-swappable web server modules?

    Why do that? Isn't the point of open source the spread of technology ideas? So what if the evil empire uses Apache's server fu? It's their right, just as it's your right.

  19. Backward by Anonymous Coward · · Score: 3, Insightful

    You've got this backward. Apache doesn't have an XML configuration file. It also doesn't have hot-swappable modules. If IIS now has these features, then it will be Apache that needs to catch up.

    Apache has plenty of good features. I don't honestly know how it compares to IIS and I don't much care because I want to run on unix. But it is not perfect. These are two areas where it could improve.

    (Why do so many people here think that Apache does have these features?)

  20. Clippy by lullabud · · Score: 4, Funny

    Yes, they are innovative. Clippy is the most innovative offering of its kind since Chinese water torture.