CGIproxy problems

 
Post new topic   Reply to topic    Aprelium Forum Index -> Perl
View previous topic :: View next topic  
Author Message
moogle81
-


Joined: 31 May 2005
Posts: 12

PostPosted: Mon May 15, 2006 11:32 pm    Post subject: CGIproxy problems Reply with quote

Ok, Im running the linux X1 version, and this has been making me mad, whenever i try to use CGIProxy and access Google Images through the proxy, it messes up. If I cant get this fixed, im going back to Apache 1.3, because so far, it works.
_________________

Anybody who doesn't know what soap tastes like never washed a dog. - Franklin P. Jones
Back to top View user's profile Send private message Send e-mail Visit poster's website
Anonymoose
-


Joined: 09 Sep 2003
Posts: 2192

PostPosted: Mon May 15, 2006 11:38 pm    Post subject: Reply with quote

Oh no! A threat! We must hurry to help!

....

Not.

:/

If you don't define your problem, how do you expect to get any help?

What version of Perl do you have installed?

Have you configured it correctly?

Have you configured Perl support in X1 correctly?

What exactly is 'messes up'?

How is it Abyss's fault when CGIProxy is a Perl script which is run by the Perl interpreter? The webserver only returns what Perl returns.

I'm afraid the problem lies between the computer and the chair.
_________________

"Invent an idiot proof webserver and they'll invent a better idiot..."
Back to top View user's profile Send private message
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3714
Location: USA, GA

PostPosted: Tue May 16, 2006 4:52 am    Post subject: Re: CGIproxy problems Reply with quote

moogle81 wrote:
If I cant get this fixed, im going back to Apache 1.3, because so far, it works.


Please try not to make threats on the forum.

I just got done testing CGIProxy on Abyss Web Server and it works fine. What
exactly is the problem? What is the URL that messes up?

P.S. CGIProxy is slow anyway. Try using PHProxy.
_________________
Computer Programmer & Networking Specialist

Back to top View user's profile Send private message Visit poster's website MSN Messenger
moogle81
-


Joined: 31 May 2005
Posts: 12

PostPosted: Wed May 17, 2006 1:33 am    Post subject: Reply with quote

Please excuse my threat, I was just satisfied with Abyss up until this point, and editing the source of CGIproxy and going to websites just frustrated me. CGIproxy doesnt load the results on Google Images on Abyss. But on lighttpd or Apache 1.3, or 2.x it loads the image results fine. It is crucial that I get Google Image results working because that is one of the primary uses of my proxy. Im running the latest Abyss X1 on ubuntu linux 6.06 alpha. I dont think the OS is at fault, because I've had the same problem on Windows and openSuSE 10, yet all other www servers I try to host CGIproxy on, run it flawlessly.
Here are some screenshots:

Google Images through CGIProxy on abyss
Google Images through CGIProxy on abyss 2
Google Images through CGIProxy on lighttpd
Google Images through CGIProxy on lighttpd 2
_________________

Anybody who doesn't know what soap tastes like never washed a dog. - Franklin P. Jones
Back to top View user's profile Send private message Send e-mail Visit poster's website
TRUSTAbyss
-


Joined: 29 Oct 2003
Posts: 3714
Location: USA, GA

PostPosted: Wed May 17, 2006 4:27 am    Post subject: Reply with quote

I would like to prove to you that it works by providing my CGIProxy example
running on Abyss Web Server. You need password access for security reasons
but I have already sent you a private message with that info.

I really don't know why it messes up on your server but works perfectly for
me. This could be a bad Perl configuration. Add me to your MSN Messenger
and I will do everything in my power to get it working for you.

My MSN: msn@trustabyss.com
_________________
Computer Programmer & Networking Specialist

Back to top View user's profile Send private message Visit poster's website MSN Messenger
MonkeyNation
-


Joined: 05 Feb 2005
Posts: 921
Location: Cardiff

PostPosted: Wed May 17, 2006 7:12 am    Post subject: Reply with quote

What are the paths to the images on lighthttpd, and what are they on abyss?
_________________
Back to top View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger ICQ Number
AbyssUnderground
-


Joined: 31 Dec 2004
Posts: 3855

PostPosted: Wed May 17, 2006 7:40 am    Post subject: Reply with quote

Is safe mode enabled in php.ini? If it is that can prevent it working properly.

EDIT: I realise the comment above has nothing to do with CGIProxy. I thought you were trying PHP Proxy. My mistake.
_________________
Andy (AbyssUnderground) (previously The Inquisitor)
www.abyssunderground.co.uk


Last edited by AbyssUnderground on Wed May 17, 2006 4:38 pm; edited 1 time in total
Back to top View user's profile Send private message Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed May 17, 2006 10:31 am    Post subject: Reply with quote

moogle81,

Check your access.log and let us know what are the URLs of these linked images and what is their returned error code.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
moogle81
-


Joined: 31 May 2005
Posts: 12

PostPosted: Wed May 17, 2006 8:59 pm    Post subject: Reply with quote

I checked the access.log, all the images get a 404 error. Heres a sample:

Code:
127.0.0.1 - - [17/May/2006:15:56:16 -0400] "GET /cgi-bin/cgitest/nph-proxy.cgi/010110A/http/images.google.com/images=3fq=3dtbn:yWfVsf8PFBz0xM:www.sethf.com/anticensorware/general/google-censorship/google-stormfront1-de.gif HTTP/1.1" 404 3594 "http://127.0.01/cgi-bin/cgitest/nph-proxy.cgi/010110A/http/images.google.com/images?q=google&hl=en&btnG=Search+Images" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.3) Gecko/20060513 Ubuntu/dapper Epiphany/2.14 Firefox/1.5.0.3"

_________________

Anybody who doesn't know what soap tastes like never washed a dog. - Franklin P. Jones
Back to top View user's profile Send private message Send e-mail Visit poster's website
moogle81
-


Joined: 31 May 2005
Posts: 12

PostPosted: Wed May 17, 2006 9:02 pm    Post subject: Reply with quote

Heres a sample from the lighttpd log:
Code:
127.0.0.1 - - [17/May/2006:16:01:12 -0400] "GET /cgi-bin/cgitest/nph-proxy.cgi/010111A/http/earth.google.com/sites/images/thecolosseumx350.jpg HTTP/1.1" 200 65267 "http://localhost/cgi-bin/cgitest/nph-proxy.cgi/010111A/http/earth.google.com/sites/" "Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.3) Gecko/20060513 Ubuntu/dapper Epiphany/2.14 Firefox/1.5.0.3"

_________________

Anybody who doesn't know what soap tastes like never washed a dog. - Franklin P. Jones
Back to top View user's profile Send private message Send e-mail Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Thu May 18, 2006 10:09 am    Post subject: Reply with quote

moogle81,

When you directly browse http://[yoursite]/cgi-bin/cgitest/nph-proxy.cgi/010110A/http/images.google.com/images=3fq=3dtbn:yWfVsf8PFBz0xM:www.sethf.com/anticensorware/general/google-censorship/google-stormfront1-de.gif , could you check if the CGIProxy script is actually invoked?
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
moogle81
-


Joined: 31 May 2005
Posts: 12

PostPosted: Thu May 18, 2006 11:47 pm    Post subject: Reply with quote

Im not sure, I checked the logs (all of them) and it looks the same as the log sample I had posted. Every log but abyssws.pid and access.log is empty. I see the CGIproxy frame when I directly browse that link, but no log indication that the script is invoked.
_________________

Anybody who doesn't know what soap tastes like never washed a dog. - Franklin P. Jones
Back to top View user's profile Send private message Send e-mail Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri May 19, 2006 10:24 am    Post subject: Reply with quote

moogle81 wrote:
Im not sure, I checked the logs (all of them) and it looks the same as the log sample I had posted. Every log but abyssws.pid and access.log is empty. I see the CGIproxy frame when I directly browse that link, but no log indication that the script is invoked.


Please send your current copy of the CGIProxy script (the file nph-proxy.cgi) to support@aprelium.com and we will add some logging to it to help us determine how it is behaving on your computer.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> Perl All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group