File Extension CGI

File type: Common Gateway Interface Script

About the CGI file type:

Invalid file associations could be the result of underlying issues within your Windows PC. It is highly recommended to scan your PC for invalid registry entries and identify any PC issues .

The CGI file extension is used as a file format for a standard protocol called Common Gateway Interface. This is used to interface external application software with a Web server. The files with the .cgi file extension are executable scripts written in PERL or C programming language. They are usually stored in a Web server's website directory in 'cgi-bin'. The files with the .cgi file extension may be viewed using a text editor and can be edited if it's in a pre-compiled form.


Detailed information for file extension CGI


Category: Executable script files
File format: Proprietary
Open with Windows: Web server, Text editor
Open with Linux: Needs a Web server to run, Text editor
When dealing with Web pages, the files with the .cgi file extension are basically the interface or connection between a Web server and a Web page. Web pages do not have the capability to directly interact with the reader. The interaction is performed via programs and scripts that utilize files with the CGI file extension to produce interactive programs on the websites. An interesting use of the CGI file extension is to make user interaction-dependent Web documents. The scripts are able to resolve form data and place them in databases. It can also send out data as an email or respond to a form entry. The files with the CGI file extension are used 'behind the scenes' as a connection with Web readers. They can configure and read cookies, obtain information about the Operating System and the browser, monitor the traffic that comes in the Web and monitor hit counts on a website.