[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] Running CGI as .htm



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}