Access issue denied while trying to access shared drive from Django running in Apache

This is the error message I get in Django. I am running an Apache server hosted on Windows NT.

[Error 5] Access is denied: u'Shared drive path'. 

I think this is because the Apache service is running as a different user.

+4
source share
1 answer

You answered yourself. The service works as another user, so the drive is not mounted, for example. "G: \"

You need to pass the full UNC paths and provide access to the www-user. It worked for me.

0
source

Source: https://habr.com/ru/post/1394606/


All Articles