[BlueOnyx:26730] (no subject)
Herbert Rubin
herbr at pfinders.com
Sun Jan 28 12:56:00 -05 2024
Hi,
I am seeing strange behaviour where one of my site files is getting
rewritten improperly and apache will not restart.
This section is rewritten with a bad suPHP line:
<IfModule mod_suphp.c>
suPHP_Engine on
suPHP_UserGroup apache site2
AddType application/ .php
AddHandler .php .php5 .php4 .php3 .phtml
suPHP_AddHandler
suPHP_ConfigPath /home/.sites/site2/wwwroot/
</IfModule>
It should say:
suPHP_AddHandler x-httpd-suphp
My other site files that have the same configuration are fine.
Jan 28 03:34:58 d06 systemd[1]: Starting One-time temporary TLS key
generation for httpd.service...
Jan 28 03:34:58 d06 systemd[1]: httpd-init.service: Deactivated
successfully.
Jan 28 03:34:58 d06 systemd[1]: Finished One-time temporary TLS key
generation for httpd.service.
Jan 28 03:34:58 d06 systemd[1]: Starting The Apache HTTP Server...
Jan 28 03:34:58 d06 cced(smd)[1626586]: client [0:1626582] has admin rights
Jan 28 03:34:58 d06 httpd[1626582]: AH00526: Syntax error on line 46 of
/etc/httpd/conf/vhosts/site2:
Jan 28 03:34:58 d06 httpd[1626582]: suPHP_AddHandler requires at least one
argument, Tells mod_suphp to handle these MIME-types
Jan 28 03:34:58 d06 systemd[1]: httpd.service: Main process exited,
code=exited, status=1/FAILURE
Jan 28 03:34:58 d06 systemd[1]: httpd.service: Failed with result
'exit-code'.
Jan 28 03:34:58 d06 systemd[1]: Failed to start The Apache HTTP Server.
I can hand fix it and start apache myself but it will rewrite the file
improperly again and attempt to restart apache.
Herb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.blueonyx.it/pipermail/blueonyx/attachments/20240128/27e05596/attachment.html>
More information about the Blueonyx
mailing list