CGI Configuration on Apache

There are 3 ways to use CGI. First Way When we install Apache server, then /usr/lib/cgi-bin folder is automatically created. You can place c++ files in that folder and execute them on browser(localhost/cgi-bin/example). Second Way You can also configure /var/www/cgi-bin for CGI programming. Third Way You can also configure cgi-bin in home directory as /public_html/cgi-bin. […]