How do i get apache to run cgi?

siyangqiu

New member
Apache's defaults are good for CGI. You just need to put your scripts in the proper folder. You can change which folder that is in the configurations. In the configuration file, it'll tell you which folder it is.
In linux servers, it should be /usr/lib/cgi-bin.
 
Just installed a basic lamp with email set up on a vps but how do i configure apache2 for cgi scripts?
Thanks siyan.. but let me explain. I have two scripts in my root/www folder and when i go to them in the browser they show script instead of the site. How do i get apache to read cgi files in my root directory?
 
Back
Top