Re: [Tutor] Apache, CGI-BIN, Python

2007-09-11 Thread Eric Walstad
Ryan wrote: > Jan Erik Moström wrote: >> Ryan <[EMAIL PROTECTED]> 07-09-10 15:35 >> >>> Once I edit the config files for cgi scripts the browser says I don't >>> have permission to access the file. >> You must make sure that the script file has execute/read permissions >> for the process/user who

Re: [Tutor] Apache, CGI-BIN, Python

2007-09-11 Thread Ryan
Jan Erik Moström wrote: > Ryan <[EMAIL PROTECTED]> 07-09-10 15:35 > >> Once I edit the config files for cgi scripts the browser says I don't >> have permission to access the file. > > You must make sure that the script file has execute/read permissions > for the process/user who runs the apache s

Re: [Tutor] Apache, CGI-BIN, Python

2007-09-10 Thread Eric Brunson
Alan Gauld wrote: > "Ryan" <[EMAIL PROTECTED]> wrote > > >> 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. >> > > I think there are several places that you can create

Re: [Tutor] Apache, CGI-BIN, Python

2007-09-10 Thread Alan Gauld
"Ryan" <[EMAIL PROTECTED]> wrote >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. I think there are several places that you can create cgi-bin depending on how you configure apac

Re: [Tutor] Apache, CGI-BIN, Python

2007-09-10 Thread Jan Erik Moström
Ryan <[EMAIL PROTECTED]> 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/ "/L

Re: [Tutor] Apache, CGI-BIN, Python

2007-09-09 Thread Steve Willoughby
Ryan wrote: > 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. On Linux under Apache 2.2, I've seen it in /usr/lib/cgi-bin which always struck me as weird, but there you go. On BSD,

[Tutor] Apache, CGI-BIN, Python

2007-09-09 Thread Ryan
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. Also on my windows machine,where I do have the bin, and normally everything works fine except: #!c:/Python25/python import cgi reshtml =