-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

zé,

On 2/17/2010 6:06 AM, zé wrote:
> I'm trying to access a Java web application, hosted on a Tomcat 6.0.20, from
> a PHP application hosted on a Apache, located at the same machine. The PHP
> app must request a Java app with few parameters and, the Java app must
> respond with some data encoded in a JSON response. Perhaps I got a HTTP 403
> error. How to fix this?

HTTP 403 is "Forbidden" which suggests a resource that is not available
to the current user. Are you using any kind of authentication? Are you
trying to access a directory (instead of a file) and do you have
directory indexes disabled?

There are other reasons to get this error but these are the most common
I can think of.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkt8Ba4ACgkQ9CaO5/Lv0PBNRACgockj7LFsG9A/3CiobkxDchcs
r+sAoIZcnWvLW8h8XCFkRWcDdiwblL4u
=aXPj
-----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