So.. i delete all "Existing virtual hosts" xD

8 posts / 0 new
Last post
#1 Wed, 04/20/2011 - 15:29
unsalkorkmaz

So.. i delete all "Existing virtual hosts" xD

Ok this is funny actually. I am still trying to learn virtualmin and its possibilities..

in "Apache Webserver" section i was checking Global configuration and Existing virtual hosts .. I wanted to change a setting in global and sync all virtual hosts with it. I tho "if i delete Existing virtual hosts, they will re-create automatically (or there is a way to re-create them)" but.. no.. i couldnt find to re-create virtual hosts.. how can i revert it back ?
and next time, how can i sync all domain's host settings in same time?

Wed, 04/20/2011 - 15:37
andreychek

Sorry, once you delete them, they're gone... you'd need to restore them from a backup :-)

I'm not familiar with a way to use Virtualmin to apply a configuration change to all Virtual Servers. To do that, you'd likely need to write a script to update each one.

-Eric

Wed, 04/20/2011 - 15:40
unsalkorkmaz

isnt it a bit weird? i think this is a big issue imo. "You cant change a setting globally".. need to do 1by1? -.-'

Wed, 04/20/2011 - 15:47
unsalkorkmaz

btw i can see domains in virtualmin panel.. there are just in there

Wed, 04/20/2011 - 18:26
Locutus

What exactly do you intend to change for all virtual servers?

Wed, 04/20/2011 - 21:34
unsalkorkmaz

for example: php > Maximum file upload size

Thu, 04/21/2011 - 04:07
Locutus

Where exactly do you see that in Virtualmin?

Fri, 04/22/2011 - 14:57
SeanieB

Just go into all of the hosts in the drop down, go to Edit Virtual Server, uncheck and recheck Apache to recreate the vhosts. You have to do this one vserv at a time, though. But you will get them back.

Topic locked