note
Anonymous Monk
cgi-bin is for <b>cgi</b>s not <b>html</b>s -- this is how your webserver is configured (everything in cgi-bin is <b>cgi</b> not <b>html</b> ) -- this is not related to perl -- its kind of a FAQ (apache)
<p> Copy/paste from [id://1055480|Re: To call a .pl file when a button is pressed on a GUI created using Perl CGI (webserver)] <b>for the links</b> below
<blockquote><p> Its simple, you need a [wp://webserver]<p> Why? Because [wp://webpages] and [wp://Common Gateway Interface|CGI] needs a webserver, thats how it works <p> Its weird that so many folks manage to create a <i>GUI using Perl CGI</i> without understanding this <p> [id://880504|learn about the internet],[id://922653|Web Programming: For Beginners], to get an overall picture of [id://926194|how the internet works], how tcp/ip, sockets, html, ajax, all fit together.... <p>See also [id://1051389|Mojolicious::Lite +and jQuery +AJAX + Mojo::Template]<p>And a copy-pasta for you:)<P> Also, there are checklists for that , [id://745674|Basic debugging checklist] , [id://376075|brian's Guide to Solving Any Perl Problem], [id://165253|CGI Help Guide] , [id://380424|Troubleshooting Perl CGI scripts] <p> Yes, work through these checklists, when you find a problem on the list, use a solution from the list, when you find a problem not on the list (rare), post the error message and problem description here<p>[id://376075|brian's Guide to Solving Any Perl Problem], [id://165253|CGI Help Guide] , [id://380424|Troubleshooting Perl CGI scripts] <p>So examine your server configuration and compare to [href://https://httpd.apache.org/docs/2.2/howto/public_html.html#cgi] / [href://https://httpd.apache.org/docs/2.2/howto/cgi.html|Apache Tutorial: Dynamic Content with CGI]<p>[id://880504|learn about the internet],[id://922653|Web Programming: For Beginners], to get an overall picture of [id://926194|how the internet works], how tcp/ip, sockets, html, ajax, all fit together. </blockquote>
1059944
1059944
19