Link to home
Start Free TrialLog in
Avatar of andrewyu
andrewyu

asked on

Apache

What is the different between Apache Module and CGI ?

Andrew
ASKER CERTIFIED SOLUTION
Avatar of shivers
shivers

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of andrewyu
andrewyu

ASKER

Thank you very much !

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
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
I understood, thank you very much !

Andrew