[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cobalt-users] CGIWrap Problems Solved
- Subject: [cobalt-users] CGIWrap Problems Solved
- From: "Virgil H. Huston, Jr." <huston@xxxxxxxxxxxxxx>
- Date: Sat Nov 10 14:40:26 2001
- Organization: Kudzu Media
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
To the list. Thanks to both the archives and a couple of people who
responded to my last question about problems with CGIWrap, I wanted to
outline my solution, which combined using .htaccess and proper
ownership of files. I sent the following to someone who contacted me
offlist. Hopefully this will help another newbie. Note that if any of
you experts see anything screwed up with this, please let me know. And
thanks to all of you who help us idiots, er newbies.
I haven't figured out CgiWrap yet
and have only found one script that worked with it. However, I just installed
a Bulletin Board on one of my domains and got the dreaded Permission
denied error. I found that if I added a .htaccess file to the
directory where the script(s) is, it will bypass CgiWrap and work! Here
is what the .htaccess file should have in it:
Options +ExecCGI
AddHandler cgi-script .cgi
AddHandler cgi-script .pl
Don't forget to add the dot (.) in front of the file name - .htaccess
and no extension. Just FTP it to the cgi-bin or wherever. Also,
another mistake I was making was installing scripts as admin or root.
When you do this, ownership becomes admin or root and the site
administrator can't do anything and users can't do anything. So, you
have to make sure that ownership is allocated properly. Note that I
have only used the .htaccess trick on one set of scripts, but I
expect it works for others.
Virgil