Apache & mod_wsgi issue working together

1 post / 0 new
#1 Wed, 09/05/2018 - 16:19
NikosGr

Apache & mod_wsgi issue working together

httpd-vhosts.conf

ServerName superhost.gr ServerAdmin nikos@superhost.gr

WSGIDaemonProcess public_html user=nikos group=nikos processes=1 threads=5 WSGIScriptAlias / /home/nikos/public_html/app.py

WSGIProcessGroup public_html WSGIApplicationGroup %{GLOBAL} WSGIScriptReloading On

AllowOverride None Require all granted

ErrorLog /home/nikos/public_html/logs/error.log

[root@superhost BACKUP]# chmod -R 755 /home/nikos/ chmod: changing permissions of ‘/home/nikos/fcgi-bin/php7.3.fcgi’: Operation not permitted

[root@superhost BACKUP]# ls -ld /home/nikos/ drwxr-xr-x 13 nikos nikos 4096 Sep 5 15:31 /home/nikos/

[root@superhost BACKUP]# chmod -R 755 /home/nikos/ chmod: changing permissions of ‘/home/nikos/fcgi-bin/php7.3.fcgi’: Operation not permitted [root@superhost BACKUP]# ls -ld /home/nikos/ drwxr-xr-x 13 nikos nikos 4096 Sep 5 15:31 /home/nikos/

I Removed both mod_wsgi and python36u-mod_wsgi as well. I installed yum install httpd-devel to get rid of the 'apsx' issue. Here is the results of the express install.

[root@superhost public_html]# mod_wsgi-express install-module LoadModule wsgi_module "/usr/lib64/httpd/modules/mod_wsgi-py36.cpython-36m-x86_64-linux-gnu.so" WSGIPythonHome "/usr"

Do you make anyhting out of it as to why still cannot load my wsgi file? I'm still getting the forbidden error.... :-(