View previous topic :: View next topic |
Author |
Message |
dke -
Joined: 22 Dec 2007 Posts: 2
|
Posted: Thu Jan 17, 2008 11:40 pm Post subject: phpProxy 0.5b2 problem with Abyss X1 v2.5 and default SSL |
|
|
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 |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Jan 18, 2008 4:38 pm Post subject: Re: phpProxy 0.5b2 problem with Abyss X1 v2.5 and default SS |
|
|
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 |
|
|
firewall -
Joined: 08 May 2008 Posts: 4
|
Posted: Thu May 08, 2008 7:50 pm Post subject: HTTPS PHP access |
|
|
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 |
|
|
rrinc -
Joined: 24 Feb 2006 Posts: 725 Location: Arkansas, USA
|
Posted: Thu May 08, 2008 10:03 pm Post subject: |
|
|
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 |
|
|
firewall -
Joined: 08 May 2008 Posts: 4
|
Posted: Fri May 09, 2008 12:05 am Post subject: PHProxy CAN handle HTTPS if allowed to access it...but HOW? |
|
|
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 |
|
|
firewall -
Joined: 08 May 2008 Posts: 4
|
Posted: Fri May 09, 2008 8:24 pm Post subject: FIXED IT! |
|
|
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 |
|
|
|