Website configuration option in server template

Hi!

I would be able to configure, in a template, some options that we find under:

Services / Configure website / Path Directory options / Home/virtualserver/Public_Html

Is it possible somehow to automate it or to achieve the same thing in a template, so, i can have this done automaticaly when i create a virtual server.

Thanks in advance for your help!

Status: 
Closed (fixed)

Comments

sorry, stupid question. better to just write it in an htacces file.

Howdy -- yeah, using the .htaccess is my favorite way of doing that.

However, you can also do it in Virtualmin by going into Server Configuration -> Website Redirects. In there, check out the "Enable redirect for" option (if you click that text, you'll see a help popup with additional informaiton).