how to un-password protect all of the /stats directories?

Setting up our latest server and I have two questions -

Where can you set virtualmin to force it to use the full domain name as the default Admin name..?

i.e. mydomain.com instead of just mydomain

Second question -

I've already set up 20 virtual servers before I realised that the /stats directory was set to be password protected in the server templates file.

How can I now unprotect all these /stats directories now that they have been set up..?

I really don't want to have to delete them all and start again. :)

I've checked the password protected directories section for each website and there's nothing listed there for the /stats directory so don't know where else to look.

Many thanks in advance for your help on these two current virtualmin conundrums.

All the best

Pete...

After much searching I eventually found it under:

System Settings-->Module Config-->-[ Defaults for new domains ]....

....Domain name style in username [x] Full domain name

But am still stuck on how to un-password protect all of the /stats directories.

Even now I have switched that option off in the server template settings the new servers that I am adding still have the /stats password protected so there must be some more global override setting somewhere..?

Thanks,

Pete...

Status: 
Active

Comments

One quick way would be to delete the .htaccess files that do the protection. You could use commands like :

cd /home
rm \*/public_html/stats/.htaccess
rm \*/domains/\*/public_html/stats/.htaccess