[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Running CGI as .htm
- Subject: Re: [cobalt-users] Running CGI as .htm
- From: jspr <bat@xxxxxxxxxxxxx>
- Date: Sun Nov 19 19:32:00 2000
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
>On Fri, 17 Nov 2000, jspr wrote:
>
>> I recently moved from a Raq2 to a raq3 server and ran into some suffix
>> problems. On the old server I had some sites with dynamicly generted pages
>> (cgi scripts) with the suffix .htm. On the Raq2 I added a "AddHandler
>> cgi-wrapper .htm" to httpd.conf for the sites and cheated the server into
>> running files named .htm as perl scripts. On the Raq3 this little trick
>> doesn't work anymore and all the pages gives an "Execution of this script
>> not permitted" error. It seems the Raq3 will not accept running scripts
>> with any other suffix than .pl or .cgi. Any suggestions?
>
>CGI scripts cannot be owned by httpd or root. I suspect this may be the
>problem. Change ownership of the script to a valid site user.
>
>--
>Steven Werby {steven-lists@xxxxxxxxxxxx}
Thanks for the answer Steven.
I actually have been around the ownership issue and that is not "it" - the
scripts are owned by regualar users.
I have had my nose in every direction and still I'm lost :(
- the problem is not in the scripts ... they work fine (when named .pl or
.cgi).
- it is not the .htm ... .ok .hmm or .fck don't work - only .pl or .cgi
will execute as a script...
---------------------
"never send a human to do a machines job"
the man: http://Jesper.Birk.com/
the work: http://buddha.graphix.dk/
the band: http://www.shanks.dk/