On Thursday 03 January 2002 04:39 pm, [EMAIL PROTECTED] wrote: > I have a server on an intranet. Is CGI already set up? If so, where do I > put my CGIs for new users? I tried to add a cgi-bin to a user's home > directory, for myself, because I was worried about running CGIs as root, if > that would even happen. So, I made a cgi-bin and set the permissions, but I > get a "You don't have permission" error message. The permissions were set > to 755, so everyone could read and execute but only I could write. I > checked this over and over. Is there some reason that I can't *yet* run > CGIs other than file permissions? I tried FTPing the files as ascii and I > tried just writing them on the linux machine. I've also used stock, very > easy intro scripts that just return "Hello world" to the browser. And I've > successfully used CGI on my personal machine hosted by professionals. It > appears to me -- I installed Mandrake myself -- that CGI isn't set up > correctly for a user account. How do I do that? > > Could someone either explain or point me to some place where I can read how > to set up CGI for users on Mandrake Linux running Apache? Everthing I find > is either just reference material -- which doesn't help if you're a newbie > -- or how to write CGIs. > It may be either httpd.conf or srm.conf VirtualHost container AddHandler cgi-wrapper .cgi AddHandler cgi-wrapper .pl
my srm.conf # redhat # To use CGI scripts: Action cgi-wrapper /cgiwrapDir/cgiwrap AddHandler cgi-wrapper .cgi AddHandler cgi-wrapper .pl
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com