3 ms·
In 2023 I don't think CGI is as easy as it was back in the day. The major proxies/servers most people use like nginx only support FCGI which isn't directly com
by qbasic_forever 4y ago
In 2023 I don't think CGI is as easy as it was back in the day. The major proxies/servers most people use like nginx only support FCGI which isn't directly compatible with CGI--you need to run helpers like fcgiwrap or other new layers of complexity. The only major servers that still support plain old CGI are apache and lighttpd. IMHO properly configuring apache is a mess.
I think what people really want when they pine for the days of CGI is simple file-based routing for dynamic content. Look around and you can see new frameworks are coming back around to this... or consider plain old PHP.