Foros del Web » Soporte técnico » Ayuda General »

Se produjo un error interno en el servidor y le fue imposible completar su solicitud.

Estas en el tema de Se produjo un error interno en el servidor y le fue imposible completar su solicitud. en el foro de Ayuda General en Foros del Web. Buenas tarde agradezco de ante mano por revisar el post. resulta que estoy trabajando con geoserver y xampp todo funciona perfecto pero al hacer una ...
  #1 (permalink)  
Antiguo 13/10/2014, 18:18
 
Fecha de Ingreso: abril-2013
Ubicación: venezuela
Mensajes: 92
Antigüedad: 11 años
Puntos: 1
Se produjo un error interno en el servidor y le fue imposible completar su solicitud.

Buenas tarde agradezco de ante mano por revisar el post.

resulta que estoy trabajando con geoserver y xampp todo funciona perfecto pero al hacer una peticion de informacion en determinado punto del mapa me arroja el mensaje...

Se produjo un error interno en el servidor y le fue imposible completar su solicitud.

Mensaje de error:
couldn't create child process: 720005: proxy.cgi

este es el código de mi proxy.cgi


#! c: /Python34/python.exe
#! c:/xampp/cgi-bin/proxy.cgi


"""This is a blind proxy that we use to get around browser
restrictions that prevent the Javascript from loading pages not on the
same server as the Javascript. This has several problems: it's less
efficient, it might break some sites, and it's a security risk because
people can use this proxy to browse the web and possibly do bad stuff
with it. It only loads pages via http and https, but it can load any
content type. It supports GET and POST requests."""

import urllib2
import cgi
import sys, os

# Designed to prevent Open Proxy type stuff.

Código :
Ver original
  1. method = os.environ["REQUEST_METHOD"]
  2.  
  3. if method == "POST":
  4. qs = os.environ["QUERY_STRING"]
  5. d = cgi.parse_qs(qs)
  6. if d.has_key("url"):
  7. url = d["url"][0]
  8. else:
  9. url = "http://www.openlayers.org"
  10. else:
  11. fs = cgi.FieldStorage()
  12. url = fs.getvalue('url', "http://www.openlayers.org")
  13.  
  14. try:
  15. host = url.split("/")[2]
  16.  
  17. if url.startswith("http://") or url.startswith("https://"):
  18.  
  19. if method == "POST":
  20. length = int(os.environ["CONTENT_LENGTH"])
  21. headers = {"Content-Type": os.environ["CONTENT_TYPE"]}
  22. body = sys.stdin.read(length)
  23. r = urllib2.Request(url, body, headers)
  24. y = urllib2.urlopen(r)
  25. else:
  26. y = urllib2.urlopen(url)
  27.  
  28. # print content type header
  29. i = y.info()
  30. if i.has_key("Content-Type"):
  31. print "Content-Type: %s" % (i["Content-Type"])
  32. else:
  33. print "Content-Type: text/plain"
  34. print
  35.  
  36. print y.read()
  37.  
  38. y.close()
  39. else:
  40. print "Content-Type: text/plain"
  41. print
  42. print "Illegal request."
  43.  
  44. except Exception, E:
  45. print "Status: 500 Unexpected Error"
  46. print "Content-Type: text/plain"
  47. print
  48. print "Some unexpected error occurred. Error text was _ :", E

method = os.environ["REQUEST_METHOD"]



agradezco de antemano cualquier ayuda
__________________
"Para el logro del triunfo es necesario pasar por las sendas de los sacrificios"

Última edición por elasesino_broly; 14/10/2014 a las 20:12

Etiquetas: completar, fue, imposible, interno, servidor
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 22:52.