[Tutor] Apache, CGI-BIN, Python

Jan Erik Moström lists at mostrom.pp.se
Mon Sep 10 10:00:26 CEST 2007

Ryan <silas428 at gmail.com> 07-09-09 12:26

>I am running a Linux box and cannot find my Apache cgi-bin to 
>put some python scripts in. I know I probably have to create 
>one but don't know where and how.

Look in Apaches config file, you should find something like this

    ScriptAlias /cgi-bin/ "/Library/WebServer/CGI-Executables/"

this is from my Mac, on my debian machine it looks like this

     ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/

And you can of course have different catalogs for different virtual domains

Jan Erik Moström, www.mostrom.pp.se

More information about the Tutor mailing list