FAQ  |  Search  |  Register  |  Profile  |  Log in to check your private messages  |  Log in

nph-proxy.cgi

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


Joined: 29 Sep 2003
Posts: 334

PostPosted: Mon Oct 06, 2003 7:43 pm    Post subject: nph-proxy.cgi Reply with quote

Hi Aprelium people--

Has anyone installed nph.proxy in Aprelium successfully? It is a simple, 1 page script you can find at:
http://www.jmarshall.com/tools/cgiproxy/

I have installed this script on a Apache server no sweat.

When I run this script in Aprelium (Abyss Web Server version X1) I get the message:
"WARNING: Entering non-anonymous area!
This proxy only supports HTTP and FTP. Any browsing to another URL will be directly from your browser, and no longer anonymous.
Follow the link below to exit your anonymous browsing session, and continue to the URL non-anonymously."

Ok, I know this comes from the very bottom of the script. And it has something to do with its parsing of a nph script. (Or not parsing).

In the Aprelium guide it says:
"Abyss Web Server automatically detects NPH (Non Parsed Headers) scripts. NPH scripts' output is sent directly to the browser without prior header decoding by the server. It is up to NPH scripts to generate correctly all the necessary HTTP response headers. Abyss Web Server considers a script to be NPH if the first line it outputs starts with the string HTTP/."

Anyway, does anyone know the correct steps to configure nph-proxy.cgi for Aprelium?

Thanks in advance for any help!

Axis
Back to top
View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Tue Oct 07, 2003 12:28 am    Post subject: Re: nph-proxy.cgi Reply with quote

It may be a script configuration problem. We recommend reading the setup/installation guide of the script for more information. If the problem persists, please send us the script to support@aprelium.com (we were unable to download it now, the site seems to be down).
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top
View user's profile Send private message Send e-mail
Axis
-


Joined: 29 Sep 2003
Posts: 334

PostPosted: Tue Oct 07, 2003 5:03 am    Post subject: Reply with quote

Thank you for responding!

The code is below. I have the shebang line pointing to my perl interpeter in my own copy. Again, thanks for the looking.
(code removed in "edit" mode because it was so durn long...)


Last edited by Axis on Sat Oct 18, 2003 6:52 pm; edited 1 time in total
Back to top
View user's profile Send private message
Axis
-


Joined: 29 Sep 2003
Posts: 334

PostPosted: Tue Oct 07, 2003 9:47 pm    Post subject: Reply with quote

The script was so long that it timed out the php. Even though the post went through it is not registered on the BB so I am putting this here so you will know there has been a new post. (Sorry about the size!)

Regards,
Axis
Back to top
View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Wed Oct 08, 2003 11:27 pm    Post subject: Reply with quote

Axis wrote:
The script was so long that it timed out the php. Even though the post went through it is not registered on the BB so I am putting this here so you will know there has been a new post. (Sorry about the size!)

Regards,
Axis

It is better if you send it to us by mail to support@aprelium.com .
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top
View user's profile Send private message Send e-mail
Axis
-


Joined: 29 Sep 2003
Posts: 334

PostPosted: Thu Oct 09, 2003 1:19 am    Post subject: Reply with quote

Thanks much for the reply. It is sent!
By the way, I think Abyss is GREAT!

Kind Regards,
Axis
Back to top
View user's profile Send private message
Optalamia
-


Joined: 18 Oct 2003
Posts: 5
Location: Germany

PostPosted: Sat Oct 18, 2003 6:17 pm    Post subject: Reply with quote

i also use nph-proxy
it's nice

but on localhost it's not allowed to use.
I think you can remove localhost (127.0.0.1) from the intern blacklist
but it didn't work, too
I think it's because the special URL-param-given: they are looking like a path.
example: nph-proxy.cgi/1010101/http/wanted_url
but this was with omniHTTPd.
because of this I try aprelium now

but with apache in the server of my university it's working nice

I will trie it now @ localhost with aprelium ... if it works I'll tell it
_________________
#!/usr/bin/perl
Back to top
View user's profile Send private message Visit poster's website
Axis
-


Joined: 29 Sep 2003
Posts: 334

PostPosted: Sat Oct 18, 2003 6:49 pm    Post subject: Reply with quote

Hi Optalamia--

In my conversation with the Aprelium people regarding this issue, they discovered one small snippet of code error in the Abyss Server software. They are planning to fix this, I believe, with the next release.

In the mean time, if you have the same problem I did, it is easily solved by adding a "/" at the end of the url calling nph-proxy as in:
http://sixa.no-ip.info/cgi-bin/nph-proxy.cgi/

I hope this helps!

Regards,
Axis
Back to top
View user's profile Send private message
rose
-


Joined: 02 Nov 2004
Posts: 1

PostPosted: Tue Nov 02, 2004 5:38 am    Post subject: CGIProxy still not working Reply with quote

Hi Axis ou Aprelium,

I still have no luck running this script correctly. It runs but when it is supposed to create the proxy pages, it chokes on this link:

http://aa.bb.cc.dd/cgi-bin/nph-proxy.cgi/010110A/x-proxy/start

How did you guys make it work?

-Rose
Back to top
View user's profile Send private message
Axis
-


Joined: 29 Sep 2003
Posts: 334

PostPosted: Tue Nov 02, 2004 4:51 pm    Post subject: Reply with quote

Hi Rose--

Try this thread:
http://www.aprelium.com/forum/viewtopic.php?t=3802

Regards,
Axis


Last edited by Axis on Sat Dec 21, 2013 7:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
edstrang
-


Joined: 18 Mar 2005
Posts: 10
Location: UK

PostPosted: Wed Mar 30, 2005 11:12 am    Post subject: Reply with quote

Its because your using a HTTPS:// Domain Not a HTTP://

I Think...
_________________
If I Dont Know It, It's Not Worth Knowing :-)
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
1pkr
-


Joined: 07 Sep 2008
Posts: 1

PostPosted: Sun Sep 07, 2008 1:49 pm    Post subject: Reply with quote

http://rapidshare.com/files/143341199/cgiproxy.2.1beta18.zip.html
or
http://ifile.it/0cr1hjb
Back to top
View user's profile Send private message Visit poster's website
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