From: Raheel Hassan [mailto:raheel.has...@gmail.com] Sent: 21 April 2009 17:32 To: Dermot Paikkos Cc: beginners-cgi@perl.org Subject: Re: how to add support of Msql and CGI in Apache
Please see below for my solution. .. . That is all your missing at the moment. You need to tell apache to execute/run files in the cgi-bin. Also ensure that you have set the executable bit on the file (chmod +x yourscript.pl). OK fine thanks it works now, but if i need to install and uninstall mod_cgi how i will do it in future. IS there any other module that i have to install for CGI. Well done :) mod_cgi is part of the default Apache install, you don't really un-install it. You can disable it and stop it from loaded, as you can with any other modules. You disable modules by commenting out the line in you configuration file that loads them. Look for directives like <If ?Module?> where ?Module? is the mod_cgi or any other module you want to disable. I'm sure your aware that your script will NOT run with mod_cgi disabled. Dp. -- To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org For additional commands, e-mail: beginners-cgi-h...@perl.org http://learn.perl.org/