Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
192 views
in Technique[技术] by (71.8m points)

Do you know any reason to use Apache instead of Nginx?

Do you know any reason to use Apache instead of Nginx? I'm talking about a "new project" with no any legacy code or configuration.

updated:

Most popular reasons to use Apache are:

  • we have our rewrite config
  • we have our application, working on Apache

..it is OK for legacy app. But what about absolutely "new app 2013"?

What do you think?

BTW, I know about topics:

..and I can't find any pro for Apache there. Could you point me?

question from:https://stackoverflow.com/questions/14459086/do-you-know-any-reason-to-use-apache-instead-of-nginx

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Apache is still the most popular web server on the Internet, estimated to serve about 55% of all websites in existence, compared to nginx's 12% (in Jan 2013).

UPDATE (Apr 2015): Apache still has the largest share at about 40%, and nginx has grown to 15%. Check the above mentioned link for the latest figures.

UPDATE (Jul 2020): nginx has comfortably surpassed Apache in popularity at 37% vs 25%. Apache still has more hits on searches.

It is the oldest web server around, which means that you won't have any trouble finding people skilled in configuring it.

You're also slightly more likely to find help when searching the web. SO has ~80,000 tags for Apache, and ~40,000 for nginx.

Installation documents sometimes assume you're using Apache, often including .htaccess documentation, but not the equivalent nginx configuration:

My recommendation? Either are perfectly good choices, flip a coin if you can't find any compelling reasons either way.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...