andrewyu
asked on
Apache
What is the different between Apache Module and CGI ?
Andrew
Andrew
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
use apache modules where you want to add extra functionality to the server (like being able to process another inline scripting language)
use CGI to perform dynamic functionality on your web sites - i.e. as a hit counter, email form processor, etc
event/action? er - the module is essentially (AFAIK) just a handler for a particular type of file - a CGI can be invoked by accessing it's URL - the server will then execute the CGI program and return it's output through the net to the user's browser
use CGI to perform dynamic functionality on your web sites - i.e. as a hit counter, email form processor, etc
event/action? er - the module is essentially (AFAIK) just a handler for a particular type of file - a CGI can be invoked by accessing it's URL - the server will then execute the CGI program and return it's output through the net to the user's browser
ASKER
I understood, thank you very much !
Andrew
Andrew
ASKER
Does it mean that I can write a event for a action ? Anyway, when do I use Apache Module and when do I use CGI ?
Andrew