Home  |  Linux  | Mysql  | PHP  | XML
From:Dermot Paikkos Date:Tue Apr 21 17:03:45 2009
Subject:RE: how to add support of Msql and CGI in Apache


From: Raheel Hassan [mailto:raheel.hassan@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.




Navigate in group perl.beginners.cgi at sever nntp.perl.org
Previous Next


Your recent visits
RE: Global scope
RE: how to add support of Msql and CGI in Apache
CGI ap on NetworkSolutions host
Are there any free web hosting providers who also allow perl scripting?
Re: script working from shell, but not from browser.



  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants