Re: [modwsgi] mod_wsgi permission error on activate file

2023-04-17 Thread Graham Dumpleton
For the database, just make sure not using a relative path to its location. Calculate an absolute path as otherwise it placement will be dictated what the current working directory Apache runs as, which may not be a desirable location. See:

[modwsgi] Re: mod_wsgi permission error on activate file

2023-04-17 Thread Harald Fontius
Now I removed the virtual environment and change wsgi-file to this: [image: Screenshot 2023-04-17 170647.png] and the config file accordingly and the application starts! Now I am struggeling with my sqlite db. Obviously it not enough to just have in the document root like in the test system. If

[modwsgi] Re: mod_wsgi permission error on activate file

2023-04-17 Thread Harald Fontius
Hi Graham, thank you very much for your comments and recommendations. 1. I do not have AppArmor enabled - at least I am not aware of 2. I have checked my installation implementing the suggested test applicationn "myapp" described here