sub-server bug with apache

removing a sub-domain does not get deleted in apache as a vhost

Status: 
Closed (fixed)

Comments

Works ok for me..

Is this reproducable reliably? If so, can I login to a system that is having this problem and see what is going wrong?

Well its happened twice -- I'll ask Nick if its happened again tonight after he does more housekeeping.

2 more on the same server that did not get deleted....

Warning: DocumentRoot [/home/digit.ch/domains/b2b.digid.ch/htdocs/] does not exist
Warning: DocumentRoot [/home/digit.ch/domains/digid.ch/htdocs] does not exist

b2b.digid.ch and digid.ch did not get deleted.

Did you want me to delete those or leave them for you ?

https://lightning.openstream.ch:10000/ - login already enabled for you.

Ok, I will login and take a look. Can I create a test sub-server and then try deleting it?

Sure but i dont know if it happens if the parent is deleted or just the child.

Ok, I found the cause of this - it is a bug in Virtualmin, triggered only when the rarely-used automatic sub-domain deletion option is enabled. Since this is rarely needed, you should turn it off at Module Config -> Advanced options -> Delete all Apache virtual hosts in domain when deleting?

I will include a fix in the next release though.

Automatically closed -- issue fixed for 2 weeks with no activity.