phpProxy 0.5b2 problem with Abyss X1 v2.5 and default SSL

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


Joined: 22 Dec 2007
Posts: 2

PostPosted: Thu Jan 17, 2008 11:40 pm    Post subject: phpProxy 0.5b2 problem with Abyss X1 v2.5 and default SSL Reply with quote

Short story: my phpProxy server, running on default https port, works fine when browsing google.com, but not gmail.com. (Gmail login is a secure site, while google.com is not.) I get a 404 error when accessing any secure site.

Long story: I did a comparison of my phpProxy 0.5b2 with another site (guiltybread.com), with "remove scripts" checked. GuiltyBread.com brings up gmail just fine. My site gives the 404 error.

Other info you might need to know about my site:
- Version info (see subject)
- It uses the built-in SSL. The certificate works fine.
- It serves up the https pages from the standard port.
- My home server is accessible just fine from other proxy servers and from my office.
- I put the three phpProxy files in the root directory served by https. The three files are: index.php, index.inc.php, style.css.
- Although the phpProxy readme mentioned that I might (optionally) consider changing a couple parameters, I didn't touch anything.

Additional comparison: tdameritrade.com (the UNSECURED part) loads fine from guiltybread.com, but not from my site (when I reach my site through guiltybread.com). The SECURED part (the login section at the top right corner) shows the 404 error.

Ideas?

Thanks in advance!
Back to top View user's profile Send private message
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Jan 18, 2008 4:38 pm    Post subject: Re: phpProxy 0.5b2 problem with Abyss X1 v2.5 and default SS Reply with quote

dke,

Abyss Web Server is not involved here. Your script is executed by PHP and it is your script which does the connections to external sites and downloads pages to send them back to people using it. Abyss Web Server (as any Web server) acts as a transport layer and is not involved in the proxying tasks.

So we suggest that you review your script configuration and check the URLs that cause error 404 to be returned by remote servers. Your proxy may be requesting pages that do not exist on remote sites because there is a problem in its interpretation of the paths inside the returned pages.
_________________
Support Team
Aprelium - http://www.aprelium.com
Back to top View user's profile Send private message Send e-mail
firewall
-


Joined: 08 May 2008
Posts: 4

PostPosted: Thu May 08, 2008 7:50 pm    Post subject: HTTPS PHP access Reply with quote

Hi all,

I seem to be experiencing the same problem -- ie unable to access https sites with PHP script.

I wouldn't have though the PHProxy would need to be served as https. I have mine in http and works ok for unsecured sites.. BUT unable to access https..

Have you managed to solve the problem?

Any help welcome ;-)

FireWall
Back to top View user's profile Send private message
rrinc
-


Joined: 24 Feb 2006
Posts: 725
Location: Arkansas, USA

PostPosted: Thu May 08, 2008 10:03 pm    Post subject: Reply with quote

This happens to me as well. It looks like PHProxy can't handle HTTPS, I tried some other HTTPS URLs and the same thing happened.
_________________
-Blake | New Server :D
SaveTheInternet
Soy hispanohablante. Puedes contactarme por mensajes privados.
Back to top View user's profile Send private message Visit poster's website Yahoo Messenger MSN Messenger
firewall
-


Joined: 08 May 2008
Posts: 4

PostPosted: Fri May 09, 2008 12:05 am    Post subject: PHProxy CAN handle HTTPS if allowed to access it...but HOW? Reply with quote

I agree.. The problem is the PHP script can not access https for some reason.. but this is not a problem with phpscript, merely with the setup ?? Abyss...
There are multiple sites out there with phpscript managing to access https (eg http://3x6.nl/proxy/).. In fact, PHProxy is the only script I've seen that appropriately handles facebook...

So, I think it is a matter of setup in allowing the PHP script evoked by Abyss to be able to access HTTPS..

Any ideas anyone?

Thanks

FireWall
Back to top View user's profile Send private message
firewall
-


Joined: 08 May 2008
Posts: 4

PostPosted: Fri May 09, 2008 8:24 pm    Post subject: FIXED IT! Reply with quote

It turns out it did all have to do with PHP being unable to access SSL. Nothing to do with Abyss...

I edited the php.ini file and uncommented the following line:

extension=php_openssl.dll

Now it all works great, including with complex sites like Facebook.

Very pleased ;-)

FireWall
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP 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