Re: [webmin-l] Server Template Wishlist

John Hinton <[email protected]>
Newsgroups gmane.comp.web.webmin.general
Message-ID <[email protected]>

On 2/9/2017 12:16 AM, Jamie Cameron wrote:
> On 08/Feb/2017 20:52 John Hinton <[email protected]> wrote ..
>>
>> On 2/8/2017 10:20 PM, Jamie Cameron wrote:
>>> On 07/Feb/2017 21:58 John Hinton <[email protected]> wrote ..
>>>> Hi Jamie,
>>>>
>>>> I'm working through the server template, in particular the "Mail for
>>>> domain" section. I would like to be able to set a https address...
>>>> something like a ${DOMSSL} slug.
>>>>
>>>> I need to play more with adding these scripts so I might be all wet
>>>> here, but as some folks will have Squirrelmail, some folks Roundcube, it
>>>> would be nice to have an if webmail and a way to get those into the
>>>> signup email.
>>> Are you looking for a way to specify the HTTPS address for a domain? If so,
>>> why not just use https://${DOM}/ ?
>>>
>>>
>> I was thinking on that, but the only way I can think of to do it is
>> duplicate the Default template and make sure I switch to that template
>> and use https instead of http in the alternate template. This might be
>> best anyway as other things may need the change, too. I guess I'll make
>> a DefaultSSL server template.
>>
>> I guess I was thinking of an if(SSL) print https://{$DOM}/ else print
>> http://{$DOM}/ sort of thing.
> You can do that though, with code in the template like :
>
> ${IF-SSL}https://${DOM}/${ELSE-SSL}http://${DOM}/{$ENDIF-SSL}
>
>   - Jamie
>
>
OH!!! Awesome! I looked at the help file and didn't see those mentioned. 
I guess I didn't get the memo. LOL!!! I suppose I should look for a list 
of these somewhere.

Thanks!
John Hinton

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
-
Forwarded by the Webmin mailing list at [email protected]
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.