vmin fails to remove vhost from httpd.conf

Hi Jamie.
Another problem of mine, not sure if this is a bug or not as i dont have it on freebsd systems, but here it goes.

Creation of virtual server is just fine, but when i delete it, it fails to remove the virtualhost section from httpd.conf and apache refuses to start afterwards.
My vhost template looks like this:

ServerName ${DOM}
ServerAlias www.${DOM}
DocumentRoot ${HOME}/public_html
ErrorLog ${HOME}/logs/error_log
CustomLog ${HOME}/logs/access_log combined
SuexecUserGroup ${USER} ${USER}
ScriptAlias /cgi-bin/ ${HOME}/cgi-bin/
DirectoryIndex index.php index.html index.htm

Options Indexes IncludesNOEXEC FollowSymLinks ExecCGI
allow from all
AllowOverride All
AddHandler fcgid-script .php
FCGIWrapper ${HOME}/fastcgi-bin/php .php

allow from all

Alias /fastcgi-bin/ ${HOME}/fastcgi-bin/

Options ExecCGI
SetHandler fcgid-script

AllowOverride None
Options +ExecCGI -Includes
Order allow,deny
Allow from all

Redirect permanent /webmail/ http://foobar.com/webmail

the dns zone, emails, sys user etc all gets removed but the vhost section.
any suggestions?

Status: 
Closed (fixed)