No such file or directory: mod_concat:file permissions deny server access with rewritten urls
Ya3Sh opened this issue · comments
Yateen Shaha commented
Hi,
Thanks for providing the concat module. It was easy to setup.
I have below rewrite rule configured to map say /html/1.0/cb1234/resources/
url to /html/1.0/resources/
# set mod rewrite for resolving cache buster id
RewriteEngine On
RewriteBase "/html/"
RewriteRule "^(.*/)?cb[0-9]+/resources/(.*)" "$1resources/$2"
I get 403
error when I access resources with path
/html/1.0/cb201706012/resources/??foo.js,foo1.js
It works fine when I access it as
/html/1.0/resources/??foo.js,foo1.js
The error log outputs
No such file or directory: mod_concat:file permissions deny server access: redirect :/html/1.0/resources/foo.js /html/1.0/cb1234/resources/
Thanks in advance.