Hi,

I was trying to write a proxy server in java.

It´s a very simple application that filters the requests to
myproxy.appspot.com, retrieves the  pages itself and then displays
them with the same url.
It´s not the same as seen proxies like http://proxycgi.appspot.com/
(which work really good)

I would like to configure the proxy on my browser and use it to filter
some contents, like images.

I´ve written a proxy before for tomcat, but when trying to  migrate it
to appengine, I get some strange behaviour.
For each url I request I get a google.com page.
If I try to open: http://www.w3schools.com/ I get http://www.google.com/
If I try to open: http://www.w3schools.com/xpath/xpath_functions.asp
It returns:
http://www.google.com/xpath/xpath_functions.asp (which does not exist)
But it works on maps.google.com, enterprise.google.com, google.es,
code.google.com...

It´s the same problem discussed here, but this thread ended without a
conclusion:
http://groups.google.com/group/google-appengine-java/browse_thread/thread/781c9813bd20ac50/9a9b8e50219ed583?lnk=gst&q=write+a+proxy+using+servlet#9a9b8e50219ed583

The code works locally.

Does enyone know where´s the problem?

Best regards,

Crabman
-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to