Language prefix with private file serving #69

Open
dstotijn opened this Issue Oct 17, 2012 · 2 comments

3 participants

@dstotijn

In drupal.conf, the location directive for private file serving doesn't match requests with a language prefix. I've fixed this by changing:

location ^~ /system/files/ {

to:

location ~* /system/files/ {

@tcarmona

This one also solved the problem for me.

1 year is quite some time for an one line issue. Is there something wrong with this regex change? Or should this be patched on your branch?

@siax84

It also solved my problems. Thanks a lot for the hint!

Adding a few keywords: i18n locale regex internationalization

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment