Re: wsgi on RedHat 9
Ralf Schlatterbeck <[email protected]> Tue, 6 Feb 2024 19:14:24 +0100
| Newsgroups | gmane.comp.bug-tracking.roundup.user |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Feb 06, 2024 at 11:17:28AM -0600, Tonu Mikk via Roundup-users wrote:
> <Directory /opt/trackers/classic>
> Require all granted
> </Directory>
Looks good to me, but I have the wsgi file mentioned explicitly
<Directory /path/to/tracker>
Require all granted
<Files wsgiscript.wsgi>
</Files>
</Directory>
Also all the permissions seem far too open, rwxrwxrwx is never a good
idea for a web server. The files should not be writeable *and*
executable by the web server user.
And I have application groups defined in the wsgi config, but it looks
like you're not getting that far currently.
Ah and you may want to consider switching to uwsgi, this is the more
modern version of a wsgi daemon.
Ralf
--
Dr. Ralf Schlatterbeck Tel: +43/2243/26465-16
Open Source Consulting www: www.runtux.com
Reichergasse 131, A-3411 Weidling email: [email protected]