yahaosoft / apjp

Automatically exported from code.google.com/p/apjp
0 stars 0 forks source link

Solved: PHP webhost adds ADs #28

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I installed apjp on a webhost but got attached result when try to access 
twitter. Please help.

Original issue reported on code.google.com by zhengda...@gmail.com on 17 Sep 2011 at 9:26

Attachments:

GoogleCodeExporter commented 9 years ago
Can you start APJP in console (start APJP.bat) and post the console output?
Do you have the same APJP_KEY in APJP.properties, HTTP.properties.php and 
HTTPS.properties.php?
Does your webhosting have OPENSSL and MCRYPT enabled? What is the output of 
attached PHPINFO.php?

Original comment by jeroen.v...@gmail.com on 17 Sep 2011 at 6:25

Attachments:

GoogleCodeExporter commented 9 years ago
KEY没有问题。 附上phpinfo.php.htm

C:\APJP\APJP_LOCAL>java -classpath APJP.jar APJP.Main
*****************************************************************************
***                                                                       ***
***                    Welcome to the IAIK JCE Library                    ***
***                                                                       ***
*** This version of IAIK-JCE is licensed for evaluation, education,       ***
*** research, and use in open-source projects only.                       ***
*** Commercial use of this software is prohibited.                        ***
*** For details please see http://jce.iaik.tugraz.at/sales/.              ***
*** This message does not appear in the registered commercial version.    ***
***                                                                       ***
*****************************************************************************

APJP: START APJP_LOCAL_PROXY_SERVER
APJP_LOCAL_PROXY_SERVER: START_HTTP_PROXY_SERVER
APJP_LOCAL_HTTP_PROXY_SERVER: START_HTTP_SERVER
APJP_LOCAL_HTTP_SERVER: START_HTTP_SERVER
APJP_LOCAL_HTTP_SERVER: START_HTTP_SERVER OK
APJP_LOCAL_HTTP_PROXY_SERVER: START_HTTP_SERVER OK
APJP_LOCAL_HTTP_PROXY_SERVER: START_HTTP_PROXY_SERVER
APJP_LOCAL_HTTP_PROXY_SERVER: START_HTTP_PROXY_SERVER OK
APJP_LOCAL_PROXY_SERVER: START_HTTP_PROXY_SERVER OK
APJP_LOCAL_PROXY_SERVER: START_HTTPS_PROXY_SERVER
APJP_LOCAL_HTTPS_PROXY_SERVER: START_HTTPS_PROXY_SERVER
APJP_LOCAL_HTTPS_PROXY_SERVER: START_HTTPS_PROXY_SERVER OK
APJP_LOCAL_PROXY_SERVER: START_HTTPS_PROXY_SERVER OK
APJP_LOCAL_PROXY_SERVER: START_PROXY_SERVER
APJP_LOCAL_PROXY_SERVER: START_PROXY_SERVER OK
APJP: START APJP_LOCAL_PROXY_SERVER OK
APJP: TEST APJP_LOCAL_HTTP_SERVER
APJP_LOCAL_HTTP_SERVER: TEST
APJP_LOCAL_HTTP_SERVER: START_HTTP_SERVER
APJP_LOCAL_HTTP_SERVER: START_HTTP_SERVER OK
APJP_LOCAL_HTTP_SERVER: BEGIN OUTPUT
APJP_LOCAL_HTTP_SERVER: HEAD http://www.google.com/ HTTP/1.0
HOST: www.google.com

APJP_LOCAL_HTTP_SERVER: END OUTPUT
APJP_LOCAL_HTTP_SERVER: BEGIN INPUT
APJP_LOCAL_HTTP_SERVER: END INPUT
APJP_LOCAL_HTTP_SERVER: STOP_HTTP_SERVER
APJP_LOCAL_HTTP_SERVER: STOP_HTTP_SERVER OK
APJP_LOCAL_HTTP_SERVER: TEST OK
APJP: TEST APJP_LOCAL_HTTP_SERVER OK
APJP: TEST APJP_LOCAL_HTTPS_SERVER
APJP_LOCAL_HTTPS_SERVER: TEST
APJP_LOCAL_HTTPS_SERVER: START_HTTPS_SERVER
APJP_LOCAL_HTTPS_SERVER: START_HTTPS_SERVER OK
APJP_LOCAL_HTTPS_SERVER: BEGIN OUTPUT
APJP_LOCAL_HTTPS_SERVER: HEAD https://www.google.com/ HTTP/1.0
HOST: www.google.com

APJP_LOCAL_HTTPS_SERVER: END OUTPUT
APJP_LOCAL_HTTPS_SERVER: BEGIN INPUT
APJP_LOCAL_HTTPS_SERVER: END INPUT
APJP_LOCAL_HTTPS_SERVER: STOP_HTTPS_SERVER
APJP_LOCAL_HTTPS_SERVER: STOP_HTTPS_SERVER OK
APJP_LOCAL_HTTPS_SERVER: TEST OK
APJP: TEST APJP_LOCAL_HTTPS_SERVER OK

Original comment by zhengda...@gmail.com on 18 Sep 2011 at 2:00

Attachments:

GoogleCodeExporter commented 9 years ago
What is the output of attached TEST.php script?

Original comment by jeroen.v...@gmail.com on 18 Sep 2011 at 7:33

Attachments:

GoogleCodeExporter commented 9 years ago
TEST PHP
OK

TEST MCRYPT
OK

TEST HTTP
OK

TEST HTTPS
OK

崩溃。你有teamviewer的话,我可以共享我桌面你看看。

Original comment by zhengda...@gmail.com on 18 Sep 2011 at 8:21

GoogleCodeExporter commented 9 years ago
As far as I can see, everything works as it should work. Can you email me 
APJP.properties, HTTP.properties.php and HTTPS.properties.php so I can test 
your APJP installation? I do not have TeamViewer :(

Original comment by jeroen.v...@gmail.com on 18 Sep 2011 at 8:40

GoogleCodeExporter commented 9 years ago
teamviewer portable. http://portableapps.com/apps/utilities/teamviewer_portable

Original comment by zhengda...@gmail.com on 18 Sep 2011 at 8:43

Attachments:

GoogleCodeExporter commented 9 years ago
I have reproduced the problem, and found the solution :)
You can not use http://pandaface.axfree.com because axfree.com adds 
advertisements (encrypted output (APJP) + unencrypted output (axfree.com) = 
garbage output).
I do not know why http://www.pandaface.freehst.com does not work, but 
http://pandaface.instantfreesite.com works with no problems :))

Can you test attached APJP.properties?

Original comment by jeroen.v...@gmail.com on 18 Sep 2011 at 9:16

Attachments:

GoogleCodeExporter commented 9 years ago
working now. seems i forgot to set http and https same server. Thanks. 

Original comment by zhengda...@gmail.com on 18 Sep 2011 at 9:56

GoogleCodeExporter commented 9 years ago
A question: what if i set several proxy here. 
APJP_LOCAL_HTTP_SERVER_REQUEST_URL_1=
APJP_LOCAL_HTTP_SERVER_REQUEST_URL_2=

How is it supposed to work here? One failed, try another? Please remove the 
apjp.properties. :D

Original comment by zhengda...@gmail.com on 18 Sep 2011 at 10:04

GoogleCodeExporter commented 9 years ago
You can install APJP_REMOTE or APJP_REMOTE_APPENGINE on up to 10 servers. APJP 
will then load balance requests over all available servers. Each server will 
have to do less work (= less upload/download on that server).

NOTE: All servers have to be online, APJP does not add/remove online/offline 
servers automatically.

Original comment by jeroen.v...@gmail.com on 18 Sep 2011 at 10:22

GoogleCodeExporter commented 9 years ago

Original comment by goknmuse on 31 Oct 2012 at 4:31