Hi,

I'm running Centos 8 with Apache and mod_wsgi. For a couple of months it 
has been fine. I saved my install checklist, but when I tried to reinstall 
on a different machine carefully using my checklist, I got this error 
below. I installed mod_wsgi easily with "pip3 install mod_wsgi". Thank you.


********************************************

-- Unit httpd.service has begun starting up.
Jun 26 08:05:00 localhost.localdomain httpd[9221]: AH00526: Syntax error on 
line 51 of /etc/httpd/conf/httpd.conf:
Jun 26 08:05:00 localhost.localdomain httpd[9221]: Invalid command 
'WSGIDaemonProcess', perhaps misspelled or defined by a module not inclu>
Jun 26 08:05:00 localhost.localdomain systemd[1]: httpd.service: Main 
process exited, code=exited, status=1/FAILURE
Jun 26 08:05:00 localhost.localdomain systemd[1]: httpd.service: Failed 
with result 'exit-code'.
Jun 26 08:05:00 localhost.localdomain systemd[1]: Failed to start The 
Apache HTTP Server.


************************************I have the following section in my 
httpd.conf file. The httpd dies on the first WSGI command.

#
#Listen 12.34.56.78:80
Listen 80
<VirtualHost *:80>
        
    ServerName localhost:80
    
    
    WSGIDaemonProcess jsss processes=2 threads=2 display-name=%{GROUP} 
user=jsssuser group=jsssgroup
    WSGIProcessGroup jsss
    
    WSGIScriptAlias / /var/www/jsss/jsss.wsgi

    <Directory /var/www/jsss>        
            Options All
            Require all granted
    </Directory>
    
    <Files ".ht*">
        Require all denied
    </Files>
    
    SecAuditEngine On
    SecAuditLog /var/www/jsss/audit_log


#    <Directory /AME>        
#            
#            Require all granted
#    </Directory>

    
</VirtualHost>


WSGIRestrictStdin On
WSGIRestrictStdout On

    

#






-- 
You received this message because you are subscribed to the Google Groups 
"modwsgi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to modwsgi+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/modwsgi/4da87109-dd7e-4559-85eb-dd111bfe115eo%40googlegroups.com.

Reply via email to