Disabled Servers

4 posts / 0 new
Last post
#1 Fri, 11/25/2005 - 09:25
ChrisBlackwell

Disabled Servers

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

Fri, 11/25/2005 - 11:25
Joe
Joe's picture

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!

Fri, 11/25/2005 - 13:10
ChrisBlackwell

sometimes the obvious answer is the best :)
full domain paths will work fine unless its an ssl connection, which wont be often

Sat, 11/26/2005 - 14:19
Joe
Joe's picture

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!

Topic locked