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

[cobalt-users] NPH-PROXY.CGI CGIWrap NPH Script Errors...



I am trying to run:
CGIProxy 1.5.1
http://www.jmarshall.com/tools/cgiproxy/

On Cobalt.  Based on what I read I have to tweak some stuff.

Still doesn't work.

While I run nph-proxy.cgi in cgi-bin I get "Forbidden".
I tried chmod 755, 777 and made sure perl path correct.

I did some temporary changes/testing under httpd.conf.

AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl

Changed it to:

AddHandler cgi-script .cgi
AddHandler cgi-script .pl

Restarted apache.
Didn't work

Everytime I add .htaccess (any lines)
in /cgi-bin/ I get 500 Error.

Still doesn't work.

I've tried half a dozen variations of .htaccess

IE:
Alias /cgi-bin /home/etc/etc/web/cgi-bin/
  <Location /cgi-bin>
    SetHandler cgi-script
    Options +ExecCGI
  </Location>

few others and such.

I disabled .httaccess and also tried adding the following.. to 

## access.conf

------------------------------------------

<Directory /home/sites/*/web/cgi-bin>
AllowOverride None
Options  ExecCGI
</Directory>

<Directory /home/sites/*/web/cgi-bin>
AllowOverride None
Options  -Indexes
</Directory>

<Directory /home/sites/*/web/cgi-bin>
AllowOverride None
Options  ExecCGI
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
</Directory>


* replaced with the site number...etc
------------------------------------------

I know this is a security issue and was done temporarily and than
removed.
I did restart apache.

any suggestions?

Thanks..

--
EnigmaBiz.Com
nicolaep@xxxxxxxxxxxxx