PDA

Bekijk de volledige versie : cgi proxy



don tunante
09-04-2006, 12:45
Hi,

I'd like to set up a proxy on my WL-500g Deluxe.
Cgi proxy (http://www.jmarshall.com/tools/cgiproxy/) would be fine for me.
I've istalled and set up microperl and thttpd, then I've copied nph-proxy.cgi to /opt/share/www/cgi-bin, and made it executable.
I receive the following error message:

403 Forbidden
The requested URL '/cgi-bin/nph-proxy.cgi' resolves to a file which is marked executable but is not a CGI file; retrieving it is forbidden.
--------------------------------------------------------------------------------

thttpd/2.25b PHP/5.0.4

I also tried it with busybox_httpd, with the following result:

Can't locate strict.pm in @INC (@INC contains: /usr/local/lib/perl5/5.9 .) at /tmp/harddisk/web/cgi-bin/nph-proxy.cgi line 154.
BEGIN failed--compilation aborted at /tmp/harddisk/web/cgi-bin/nph-proxy.cgi line 154.



My questions are:

1. Is it possible to get this cgi script work on my router?

2. Possible alternatives to this cgi proxy?

Thank you in advance!


dt

Сhemist
06-03-2008, 11:09
There is CGI-PROXY (http://wl500g.info/showthread.php?p=86674).