TOMCAT help

19 views
Skip to first unread message

Fishstix

unread,
Mar 25, 2020, 11:40:48 PM3/25/20
to jQuery-File-Upload
Hi,

I'm running jQuery on TOMCAT 9. The page loads fine but the upload doesn't work and I just can't figure this out.

When trying to upload, i'll get a "Error: Unknown error".

A quick look at the firefox inspector shows this:

Request URL:http://localhost:8081/webauth/server/php/
Request method:POST
Remote address:127.0.0.1:8081
Status code:
403
Version:HTTP/1.1
Referrer Policy:no-referrer-when-downgrade

Reponse:
timestamp    2020-03-26T03:39:12.939+0000
status    403
error    Forbidden
message    Forbidden
path    /webauth/server/php/

I'm unsure why TOMCAT doesn't have access to that path, since my permissions are good.

Any help would be greatly appreciated!

Thank you!

Fishstix

unread,
Mar 25, 2020, 11:43:11 PM3/25/20
to jQuery-File-Upload
Forgot to put what i'm seeing in the tomcat logs:

127.0.0.1 - - [25/Mar/2020:23:42:21 -0400] "GET /webauth/ HTTP/1.1" 200 14797
127.0.0.1 - - [25/Mar/2020:23:42:21 -0400] "GET /webauth/css/jquery.fileupload.css HTTP/1.1" 200 682
127.0.0.1 - - [25/Mar/2020:23:42:21 -0400] "GET /webauth/css/jquery.fileupload-ui.css HTTP/1.1" 200 1174
127.0.0.1 - - [25/Mar/2020:23:42:21 -0400] "GET /webauth/js/vendor/jquery.ui.widget.js HTTP/1.1" 200 23512
127.0.0.1 - - [25/Mar/2020:23:42:21 -0400] "GET /webauth/js/jquery.fileupload-video.js HTTP/1.1" 200 2969
127.0.0.1 - - [25/Mar/2020:23:42:21 -0400] "GET /webauth/js/jquery.fileupload.js HTTP/1.1" 200 56160
127.0.0.1 - - [25/Mar/2020:23:42:21 -0400] "GET /webauth/js/jquery.fileupload-audio.js HTTP/1.1" 200 2969
127.0.0.1 - - [25/Mar/2020:23:42:21 -0400] "GET /webauth/js/demo.js HTTP/1.1" 200 2221
127.0.0.1 - - [25/Mar/2020:23:42:21 -0400] "GET /webauth/js/jquery.fileupload-ui.js HTTP/1.1" 200 23972
127.0.0.1 - - [25/Mar/2020:23:42:21 -0400] "GET /webauth/js/jquery.fileupload-validate.js HTTP/1.1" 200 3699
127.0.0.1 - - [25/Mar/2020:23:42:21 -0400] "GET /webauth/js/jquery.fileupload-image.js HTTP/1.1" 200 10315
127.0.0.1 - - [25/Mar/2020:23:42:21 -0400] "GET /webauth/js/jquery.fileupload-process.js HTTP/1.1" 200 5307
127.0.0.1 - - [25/Mar/2020:23:42:21 -0400] "GET /webauth/js/jquery.iframe-transport.js HTTP/1.1" 200 8536
127.0.0.1 - - [25/Mar/2020:23:42:21 -0400] "GET /webauth/server/php/ HTTP/1.1" 404 151
127.0.0.1 - - [25/Mar/2020:23:42:21 -0400] "GET /webauth/img/loading.gif HTTP/1.1" 200 3897
127.0.0.1 - - [25/Mar/2020:23:42:29 -0400] "POST /webauth/server/php/ HTTP/1.1" 403 140

Reply all
Reply to author
Forward
0 new messages