vandal
Verified User
Maybe I am doing something wrong but I always have the same problems.
1. Running ./build php n breaks everything, always. It rewrites my conf files and then getting a number of errors including:
Invalid command 'suPHP_UserGroup', perhaps misspelled or defined by a module not included in the server configuration
or
[Wed Aug 13 06:58:00 2008] [error] [client xx.xx.xx.xx] No user or group set - set suPHP_UserGroup
In the custombuild FAQ it just says to rebuild suphp with ./build suphp. This doesn't fix the problem, building as owner and following these steps here does: http://help.directadmin.com/item.php?id=176
A number of times too I have to download the custom.tgz template files and overwrite the ones custombuild is adding just to get apache to start.
2. rebuilding apache erases my httpd.conf. I have custom configs in there (loading coldfusion, and adding index.cfm as a default index) for this I have to edit it every time after a build. I also have a mod_proxy config setup to forward cp.domain.com to DA for clients behind corporate firewalls, I have to follow this every single time I recompile apache, which isn't even accurate for apache2 (this needs to be updated by DA to include custombuild instructions of installing mod_proxy, editing virtual_host2 files instead of regular ones ): http://help.directadmin.com/item.php?id=84
Also following these instructions aboves will also cause the error:
Invalid command 'suPHP_UserGroup', perhaps misspelled or defined by a module not included in the server configuration
because it tells you to cp a bunk virtual host file to custom, breaking everything. Then you have to download the custom.tgz template filepack from DA, extract it overwriting the custom folder and then do the changes ensuring you are editing virtual_host2.conf if you have apache 2.
so if anyone knows how I can avoid these problems please let me know.
Thanks
1. Running ./build php n breaks everything, always. It rewrites my conf files and then getting a number of errors including:
Invalid command 'suPHP_UserGroup', perhaps misspelled or defined by a module not included in the server configuration
or
[Wed Aug 13 06:58:00 2008] [error] [client xx.xx.xx.xx] No user or group set - set suPHP_UserGroup
In the custombuild FAQ it just says to rebuild suphp with ./build suphp. This doesn't fix the problem, building as owner and following these steps here does: http://help.directadmin.com/item.php?id=176
A number of times too I have to download the custom.tgz template files and overwrite the ones custombuild is adding just to get apache to start.
2. rebuilding apache erases my httpd.conf. I have custom configs in there (loading coldfusion, and adding index.cfm as a default index) for this I have to edit it every time after a build. I also have a mod_proxy config setup to forward cp.domain.com to DA for clients behind corporate firewalls, I have to follow this every single time I recompile apache, which isn't even accurate for apache2 (this needs to be updated by DA to include custombuild instructions of installing mod_proxy, editing virtual_host2 files instead of regular ones ): http://help.directadmin.com/item.php?id=84
Also following these instructions aboves will also cause the error:
Invalid command 'suPHP_UserGroup', perhaps misspelled or defined by a module not included in the server configuration
because it tells you to cp a bunk virtual host file to custom, breaking everything. Then you have to download the custom.tgz template filepack from DA, extract it overwriting the custom folder and then do the changes ensuring you are editing virtual_host2.conf if you have apache 2.
so if anyone knows how I can avoid these problems please let me know.
Thanks
Last edited: