LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Programmer asking for link to cg-bin (https://www.linuxquestions.org/questions/linux-software-2/programmer-asking-for-link-to-cg-bin-115037/)

DropHit 11-11-2003 08:59 PM

Programmer asking for link to cg-bin
 
Hi, I neeed to know how to give a programmer access to my cgi-bin folder, and if I can just give him access to the main cg0bin folder of can i put a cgi-bin folder into the website folder and give it 755 acess to make it work the same way?

Cerbere 11-12-2003 02:43 AM

If you are using apache 1.3.##, then you can configure any subdirectory of your htdocs directory to run cgi scripts by adding the following to your httpd.conf file:
Code:

        <Directory /usr/local/apache/htdocs/somedir>
                Options +ExecCGI
        </Directory>

Or, if your server allows .htaccess files (not a good idea for large sites or slow servers), then you can create a .htaccess file in the directory where you want to run cgi scripts. The file should contain this line:

Options +ExecCGI

Check out the following link for more info about configuring an apache server:

http://httpd.apache.org/docs/

Specifically, this link for cgi configuration:

http://httpd.apache.org/docs/howto/cgi.html

Enjoy!
--- Cerbere


All times are GMT -5. The time now is 12:47 AM.