Is it possible to change the default page shown when virtual site are disabled

5 posts / 0 new
Last post
#1 Fri, 06/17/2011 - 07:47
-eclipse-

Is it possible to change the default page shown when virtual site are disabled

Hi All

Does any1 know if it possible to change the default "Website Disabled" text. Is it possible to create a more dynamic page which will be shown when and if we deactivate a virtual site, just like the default files in the skel folder when creating a new virtual site?

Looking forward to hear from you.

  • Tim Nielsen
Fri, 06/17/2011 - 08:40
Locutus

Yep, you can configure that quite in detail in the Server Template, section "Apache Website". Look for the two last options:

Disabled website HTML

This field can be used to customize the message that appears when connecting to a website for a disabled Virtual server. The default message simply states Website Disabled.

Disabled website URL

This option can be used to re-direct browsers connecting to the website of a disabled virtual server to a completely different URL, rather than simply displaying a locally served HTML message.

Fri, 06/17/2011 - 09:08
-eclipse-

Hi Locutus

Thanks for your answer, just what I searched for. :) I can see that under the "disabled website URL" there an option called "None (local HTML)". But where is this "local HTML" file located on the server, are you aware of that?

Thanks in advance.

  • Tim Nielsen
Fri, 06/17/2011 - 10:52
Locutus

I suppose "Local HTML" refers to what you selected in the option above that... either the Virtualmin default, or the HTML code you entered in the box.

Mon, 06/20/2011 - 05:43
-eclipse-

Hi Lotcutus

Super, I wasn't aware that the text box could understand HTML code. :)

Do you know if it is possible to change the " virtual site created message" to use HTML as well?

Thanks in advance.

  • Tim Nielsen
Topic locked