OT: CS education gone wrong (Was: Re: TDD is BS?)

Dicebot public at dicebot.lv
Mon Jun 24 02:13:06 PDT 2013


On Sunday, 23 June 2013 at 18:42:12 UTC, Adam D. Ruppe wrote:
> On Sunday, 23 June 2013 at 18:02:04 UTC, Dicebot wrote:
>> I can see reasons for wanting to keep it behind reverse proxy 
>> like nginx, but Apache?
>
> Generally, I don't trust random http servers connected to the 
> open internet for correctness, stability, security, and logging.
>
> Especially not my code, There's a lot of the http protocol I 
> never implemented, and putting apache, nginx, IIS, whatever, 
> I'm just using Apache here because Andrei mentioned it, out in 
> front will filter some of that out before it gets to my app.

Yes, that is why I have said that understand reasoning to use 
somthing like nginx or lighttpd - it is better to work behind 
something that has proper implementation of HTTP protocol and 
focus on application needs. I am using nginx for this on my own 
and perfectly satisfied with it.

But using Apache is just throwing away most part of performance 
achived by your backend, for nothing. And creating security 
issues in case your app is run via Apache module is it typically 
runs from http user in such scenarios and using app-specific UNIX 
access policies becomes much harder.


More information about the Digitalmars-d mailing list