ips.conf template

timouk

Verified User
Joined
Feb 1, 2005
Messages
10
Hi,
Does anyone know the location of the file from which this file (ips.conf - in /etc/httpd/conf) is generated from?

Thanks,
Tim
 
DirectAdmin generates it from the list of available/assigned IP#s; see your admin control panel.

Jeff
 
That is clear, but I need to remove an option (SuexecUserGroup) from it each time it is changed. How can I do that?
 
Thats exactly the same problem I have ^. Each time the file is generated the SuexecUserGroup line appears, and apache doesn't start.

What is SuexecUserGroup?
 
Hello,

SuexecUserGroup is the same as the 2 User and Group commands for apache 1.3.

I don't believe there is a template for the ips.conf, so at the moment, what you'd need to do is:
Code:
cd /etc/httpd/conf
cp ips.conf ips2.conf
perl -pi -e 's/ips.conf/ips2.conf/' httpd.conf
Then edit the ips2.conf however you want, removing the SuexecUserGroup if needed. Then restart apache.

John
 
Thanks, it works as expected.

It is not a real solution but it's a solid work around to keep things running which is very valuable for me.

T.
 
Back
Top