Root Directory of CGI Scripts

Asked By 50 points N/A Posted on -


I would like to run CGI Scripts, can anyone tell me what is the root directory for CGI scripts on the server?


Answered By 0 points N/A #109444

Root Directory of CGI Scripts


Hi Scott,

You can find it in the "cgi-bin" folder in the directory where Apache is installed. Actually, you can execute script from any folder on your file system. On my server, where I install the XAMPP web server, I can find it in C:xamppcgi-bin directory. There is a sample inside the directory named, you can try executing it using Perl that can be found in C:xamppperlbin. To allow scripts to run in the root directory you're going to change the "Directory" section.

For example:

<Directory /path/to/root>

Options +ExecCGI


You can find more information about cgi in this web site.

I hope it helps.

Login/Register to Answer

Related Questions