in reply to mod_perl, apache and permissions

that is probably not a perl problem, but one of apache's configuration. the following snippet should be able to solve your problem:
ScriptAlias /cgi-bin/ /var/www/cgi-bin/ <Directory "/var/www/cgi-bin"> AllowOverride None Options +ExegCGI -Multiviews Order allow,deny allow from all </Directory>


--------------------------------
masses are the opiate for religion.

Replies are listed 'Best First'.
Re^2: mod_perl, apache and permissions
by holandes777 (Scribe) on May 03, 2007 at 18:14 UTC
    Thanks for trying, but the situation remains unchanged even with the Options set to +ExecGCI -Multiviews.
     
    Other perl scripts were working fine even without those directives.  
    I'm sure this is not a perl problem. What's weird is that all I'm doing is fetching a page from another server, yet apache's security gets in the way of that.
     
    I saw that apache does not allow much to happen in cgi-bin for security reasons. I had to write my script data out to /var/www/html/DATA. Is it that apache is set up to regect any input that is not "trusted"?
     
    Any other ideas?
      Apache permissions, linux permissions... examine each and every one
        You are ... oh! so right!
          I thought SElinux was OFF, it was NOT. I had to setenforce 0. After that it was smooooooth sailing.
          It's always the bullet you didn't see that hits you.
          Thanks all!