Chris,
Thanks for the feedback, what I have is a apache tomcat that is set to
default I haven't changed any configuration,I have uploaded  html webpage
that has embedded java script, the web page suppose to send json data to
another server and return json data back, the problem is the other server is
not responding, somebody told me to set up a reverse proxy rule in the
tomcat apache to avoid the same origin policy violation, to be honest I
don't know how to set up reverse proxy rule and I'm not sure if that will
solve the same origin policy issue, do you  think that will solve it?


On Thu, Jan 13, 2011 at 11:43 AM, Christopher Schultz <
ch...@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Lava,
>
> On 1/13/2011 11:32 AM, Lava Saleem wrote:
> > I have read the following website and to be honest I'm a bit confused
> > about configuring a rule?
>
> One opint of confusion may be that the configuration for a reverse proxy
> must be at the /web server/ level, and not in Tomcat. The configuration
> examples shown in the document you're reading are for Apache httpd (the
> web server) not for Apache Tomcat (the application server).
>
> Are you running Apache httpd? If not, you're reading the wrong HOWTO.
>
> > I'm not quite sure if this is the
> > right thing to do to avoid violating same origin policy
>
> One could argue that subverting the same-origin policy isn't a good
> thing to do :)
>
> > I know both boxes (apache and the other server) are in the same
> > domain, if you have further information please send me your feedback
> > http://tomcat.apache.org/connectors-doc/generic_howto/proxy.html
>
> Some examples of your environment would make it easier to understand
> what you're trying to do, and help us help you.
>
> Thanks,
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAk0vK6oACgkQ9CaO5/Lv0PCZfACdGDqS4IpEMimj2hNn6Q5Y8N3x
> HhoAoKZ3OKr63B2XssBehkPSF94Le/zm
> =6WUi
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to