Open GoogleCodeExporter opened 9 years ago
说错了,是在APPP.ini里填这样
[EXAMPLE]
# These must be defined for each server
HTTP_URL=http://example.appspot.com/HTTP
HTTPS_URL=http://example.appspot.com/HTTPS
Original comment by cik...@gmail.com
on 27 Jul 2012 at 11:58
[deleted comment]
还是失败了。。。
################################################################################
# Values defined in DEFAULT section apply to ALL APPP servers,
# unless they are overridden in server section.
# Modify but do NOT remove any entry.
[DEFAULT]
# This must match the value defined at remote side
APPP_KEY=320w1svKwn6pduV6
# The address and port APPP will be listening on
# Use %% for %, for example: fe80::20c:29ff:fe94:b27e%%eth0
APPP_ADDR=127.0.0.1
APPP_PORT=10000
# Leave this empty to make APPP use Python version string as User-Agent header
APPP_UA=
# Use full header string like: 'Host: myexample.com'
CUSTOM_HEADER1=Host: 203.208.46.240
CUSTOM_HEADER2=
CUSTOM_HEADER3=
CUSTOM_HEADER4=
CUSTOM_HEADER5=
# Leave this empty to make APPP connect directly to APPP server
HTTP_PROXY_ADDR=
HTTP_PROXY_PORT=
HTTP_PROXY_USER=
HTTP_PROXY_PASS=
# By default, http and https proxies use the same setting
HTTPS_PROXY_ADDR=%(HTTP_PROXY_ADDR)s
HTTPS_PROXY_PORT=%(HTTP_PROXY_PORT)s
HTTPS_PROXY_USER=%(HTTP_PROXY_USER)s
HTTPS_PROXY_PASS=%(HTTP_PROXY_PASS)s
# Leave this empty to disable connection tests, as results are not 100% reliable
HTTP_TEST_SITE=www.google.com
HTTPS_TEST_SITE=%(HTTP_TEST_SITE)s
# Increase this value for remote servers whose response is really slow
TIMEOUT=4
################################################################################
# Each APPP server is defined in its own section.
# The section name is used as server name in commandline.
# For example: python appp.py EXAMPLE
#
# Multiple APPP servers can be run simultaneously, as long as they use
# different interfaces/ports for receiving incoming requests
# For example: python appp.py EXAMPLE EXAMPLE-PROXY_HDRS
# Use '-a' in commandline to run all defined servers.
[EXAMPLE]
# These must be defined for each server
HTTP_URL=http://XXX.appspot.com/HTTP
HTTPS_URL=http://XXX.appspot.com/HTTPS
[EXAMPLE-PROXY]
HTTP_URL=http://example.com/APJP/HTTP.php
HTTPS_URL=http://example.com/APJP/HTTPS.php
# These override DEFAULT settings
HTTP_PROXY_ADDR=proxy.example.com
HTTP_PROXY_PORT=3128
HTTP_PROXY_USER=user
HTTP_PROXY_PASS=pass
APPP_PORT=10001
高手帮帮我啊
Original comment by fon...@gmail.com
on 28 Jul 2012 at 11:57
抱歉,弄错了的。
APJP.ini
line 18: # Use full header string like: 'Host: myexample.com'
line 19: CUSTOM_HEADER1=Host: example.appspot.com
line 57: [EXAMPLE]
line 58: # These must be defined for each server
line 59: HTTP_URL=http(s)://Google的IP或Domain/HTTP
line 60: HTTPS_URL=http(s)://Google的IP或Domain/HTTPS
Original comment by goknmuse
on 28 Jul 2012 at 12:30
这次不会有问题的。我将错误的删掉了哈,以免他人看到误��
�耽误时间!
Original comment by goknmuse
on 28 Jul 2012 at 12:37
成功了,谢谢咯。
这回复的速度很赞o(∩_∩)o...
Original comment by fon...@gmail.com
on 28 Jul 2012 at 1:05
Original comment by goknmuse
on 30 Oct 2012 at 1:23
Original issue reported on code.google.com by
cik...@gmail.com
on 27 Jul 2012 at 11:55