These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Disabled Servers on the new forum.
When a server is disabled, and the website displays the "Website Disabled" message it would be good if there was a way to customize this.
I realise that i can manually edit /etc/webmin/virtual-server/disabled.html, but it might be a nice idea for non technical users to get a form where they can simply upload a custom file.
Also is there any way to use images in this file? As it stands the AliasMatch directive will break any images in the html. I suppose diabled.html could just be a frameset displaying a nicer page, but can't think of a more elegant method
I'll file a wish in the bug-tracker--this is pretty easy to add. Customization and branding is always a good thing.
As for images, there's no need for a frameset, just put the images into one of your own domains and use absolute URLs rather than relative URLs. There are negatives to using absolute URLs in some circumstances but this isn't one of them.
--
Check out the forum guidelines!
sometimes the obvious answer is the best :)
full domain paths will work fine unless its an ssl connection, which wont be often
Ah, yes, an SSL page would cause a security popup. I didn't think of that. That's what we we keep you customers around for. ;-)
Hmmm...seems like maybe a RedirectMatch would solve that problem, but introduce the new one of sending folks to a different URL. This is common practice for a lot of hosts, but might annoy your clients...but then, if your client is disabled, they're deadbeats, so what do we care?
This can probably be made an option in the Server Templates or in the Module Config. I'll create a new wish. Jamie's gonna start to feel like a genie.
--
Check out the forum guidelines!