Graham Dumpleton
Graham Dumpleton
Should also talk about how to add host aliases in ``/etc/hosts`` of the pod.
The recommendations in the first StackOverflow post are still valid. As to Thomas Ward's post, do keep in mind that that post relates to static HTML or maybe PHP code....
If when you say "non-admin" you mean a user that does not have "sudo" access, then yes. It should not be a user that has any extra privileges. As to...
You don't need a separate Apache/httpd installation or instance. When `systemd` starts Apache/httpd, it starts it as `root`, but after initial configuration and forking of child processes it drops privileges...
See https://www.geeksforgeeks.org/python-os-getuid-and-os-setuid-method/
You definitely do not need `Add Handler wsgi-script .wsgi`. What do you get when you run: ``` ls -alsd /home/djangouser ``` The safest way is NOT to have `WSGIScriptAlias` directly...
When the home directory is not readable to others like that, the Apache user cannot serve static files out of there when using `Alias` directive. The `WSGIScriptAlias` would also likely...
You also should not need: ``` Options ExecCGI MultiViews Indexes MultiViewsMatch Handlers ``` in the `Directory` block when using `WSGIScriptAlias`.
Also a bad idea to use `maximum-requests=10000`. If you site experiences very high throughput then this only serves to cause the processes to restart more often, which is bad when...
Not much else I can tell you. There is no ideal folder structure as each has it's own pros and cons. Opening up permissions for the home directory of the...