Berkeley CSUA MOTD:Entry 17922
Berkeley CSUA MOTD
 
WIKI | FAQ | Tech FAQ
http://csua.com/feed/
2024/11/23 [General] UID:1000 Activity:popular
11/23   

2000/4/5 [Computer/SW/Languages/Web] UID:17922 Activity:nil
4/5     apache running on RedHat 6.1,  CGI works and i'm trying to get
        a personal user cgi-bin set up.  Put it in the CONF file exactly
        like the original CGI was set up, restarted httpd.  Doesn't work.
        i.e. when you attempt to access the cgi file it just pops up as text.
        The EXACT same file works in the regular cgi-bin. It is world r-x.
        (and directory is world x)  Help.
        \_ Is it the default configuration?  You probably need to turn on
           Options ExecCGI
           for the directory in question.  And there are ways to configure
           all files ending in .cgi to be considered cgi.  --oj
           \_ Yeah, the config entry is...
                <Directory /home/cricket/public_html/cricket>
                AllowOverride None
                Options ExecCGI
                </Directory>
              (Allowing all .cgi files seems like a security problem).
        \_ use suexec, don't just allow user CGI.  -tom