I'm having a strange problem. After disabling any virtualhost from Virtualmin panel, if I browse that site, getting a "Forbidden" 403 error. It's only happing after upgrading to the latest version of virtualmin (V4.12.gpl GPL). Running on CentOS 5.11. It was working fine for last 3 years. We were using custom html code for Disabled website.
Seems that it's a file permission issue. I checked "/etc/webmin/virtual-server/disabledweb" directory and the file permission for the newly created file was:
-rwxr-x--- 1 root root 6501 Jan 6 02:09 133650911428905.html
But it's suppose to be "-rw-r--r--" as all other previous disabled file are like this. I change the permission of the new file to "-rw-r--r--" and there were no more errors.
From where can I instruct virtualmin to set file permission for disabled website page to "644"?
Thanks & Regards, Saif