I work for a hosting company where we have lots of accounts on our servers. Sometimes when terminating accounts the httpd.conf doesn't get updated correctly, and we need to fix the problem manually.
The problem is that the terminated user VH isn't removed from the Apache config file.
Ex:
(A common VirtualHost).
Is there a script or a way so you can put for example: /scripts/removevh USER and it removes all the virtualhost instances for that user on the httpd.conf ?
Thanks,
Fed.
The problem is that the terminated user VH isn't removed from the Apache config file.
Ex:
Code:
<VirtualHost *.*.*.*:80 >
ServerName........
ServerAlias..........
.............
Is there a script or a way so you can put for example: /scripts/removevh USER and it removes all the virtualhost instances for that user on the httpd.conf ?
Thanks,
Fed.