swashata/wp-webpack-script

403 Forbidden on vendors script file

S4nG0 opened this issue · 1 comments

S4nG0 commented

Hi,

I've been using wpack.io for a couple of months now and it's the first time I'm getting this error.

There seems to be an issue with my build when uploading to production.
The built vendors file gets a 403 Forbidden error. Only that file.

GET https://u-school.fr/wp-content/themes/uschool-new/dist/js/vendors~app-a3f67a33.js net::ERR_ABORTED 403

This does not seem to be a rights issue since all files have the same access rights.

Any clues to what is going on? I have other projects using wpack.io that work completely fine.

S4nG0 commented

This was caused by a custom firewall rule that was blocking specific characters (in that case, ~ was redirected to 403).

All is good now.