Wildfly return 403 forbidden page after accessing a nonexistence page

1,222 views
Skip to first unread message

Hiep Thai

unread,
Mar 8, 2021, 6:38:44 AM3/8/21
to WildFly
Hello everyone

I am running Wildfly version wildfly-14.0.1.Final, and geting 403 forbidden page after accessing a nonexistence page .

For detail:
1. Access a nonexistence page  Ex:"localhost:8080/mysite/test"
   -> get 404 error because no resource 'test'

2. Upload folder 'test" that have "index.html" (without re-deployment) on 'mysite'

3. Access "localhost:8080/mysite/test" again
   -> get 403 forbidden error

But access "localhost:8080/mysite/test/" or "localhost:8080/mysite/test/index.html" -> it works.

It seem that is a bug of Wildfly.
Does anyone have idea ?
Thanks !!!

Hiep Thai

unread,
Mar 8, 2021, 6:38:44 AM3/8/21
to WildFly
Reply all
Reply to author
Forward
0 new messages