Hi,
I used to be able to add an include file for an individual account in the httpd.conf, and then lock it in with:
/scripts/ensure_vhost_includes --user=(account user id)
But these days the above command just removed the custom include line that I just inserted.
In the individual vsite areas of the httpd.conf file, we have this:
# DO NOT EDIT. AUTOMATICALLY GENERATED. IF YOU NEED TO MAKE A CHANGE PLEASE USE THE INCLUDE FILES.
That's fine, but none of the include lines in the vsite area are account specific. So if I included, in this case, the mod_security exception rule needed for this particular site. This rule would apply to every account on the server, which is not what we need here:
Include "/usr/local/apache/conf/userdata/*.conf"
Include "/usr/local/apache/conf/userdata/*.owner-root"
Include "/usr/local/apache/conf/userdata/std/*.conf"
Include "/usr/local/apache/conf/userdata/std/*.owner-root"
Include "/usr/local/apache/conf/userdata/std/2/*.conf"
Include "/usr/local/apache/conf/userdata/std/2/*.owner-root"
So how can I put up a custom include rule just for one particular vsite?
Thanks much.



LinkBack URL
About LinkBacks
Reply With Quote





