It shouldn't use wheel, unless your OS is FreeBSD(?).
I'm using it on a production server, so far no fatal problem.
Then contact DirectAdmin support with that information.
etc/init.d/httpd restart
Stopping httpd:
Starting httpd: Syntax error on line 31 of /usr/local/directadmin/data/users/plaah/httpd.conf:
Invalid command 'php_admin_flag', perhaps mis-spelled or defined by a module not included in the server configuration
ALso more problems, when add users, and try restart httpd got more problems:
/
but is this script coming to default installation script to DA on 3rd party script ?
And if you are making this script, why you not contact to DA support ? you have server information and change to test/debug this problem to out.
You know much better what we are talked and explain to john ...
ALso more problems, when add users, and try restart httpd got more problems:
/
- overwrite the current virtualhost template (depending on the options -> http://help.directadmin.com/item.php?id=2)
No need to owerwite them. As as I said (4th time now), new templates are made and they are included in the new version of DirectAdmin, which is not released yet (1.295).
# Deflate module settings
Include conf/extra/directadmin-vhosts.conf
# Directadmin virtualhosts
Include conf/extra/directadmin-vhosts.conf
No need to owerwite them. As as I said (4th time now), new templates are made and they are included in the new version of DirectAdmin, which is not released yet (1.295).
Thank you for your answer, and for the answer to my PM.
It is not that much important to rewrite the apache templates, but at least in the current httpd.conf (standard file) change this :
to :
And why to use and external page to include for those virtualhost ? What is the goal ? The current DA system is able to write in when you ADD a new user, but is not able to remove from this file when you remove an user since it will look inside httpd.conf and not in the include file (for a strange reason)...
Thank you.
What's the goal? Firstly, if you don't want to use any virtualhosts - you can just use "echo > /etc/httpd/conf/extra/directadmin-vhosts.conf". Secondly, if you want to rewrite all the virtualhosts, you don't need to manually remove all the "Include" lines from httpd.conf and then use http://help.directadmin.com/item.php?id=121. Moreover, httpd.conf file is much smaller without these include lines and from apache 2.2 virtualhosts are included by default into the separate file (not httpd.conf).
Mh, I guess you missunderstood.
When you add a new user, the include line to the precise httpd.conf is duplicated.
1. Add a user
2. Check httpd.conf and directadmin-vhosts.conf BOTH contain it.
3. Check apache statut
4. Delete the user.
5. Check httpd.conf and directadmin-vhosts.conf only ONE got it deleted.
6. Check apache statut.
Why to include this in a separated file if it is anyway duplicated ?
# Deflate module settings
Include conf/extra/directadmin-vhosts.conf
# Directadmin virtualhosts
Include conf/extra/directadmin-vhosts.conf