Seperate Clint login screen per domain

Please post here if you have problems in using Wing FTP Server.
Post Reply
serveradmin2233
Posts: 4
Joined: Tue Jun 08, 2021 1:35 pm

Seperate Clint login screen per domain

Post by serveradmin2233 »

Is there a way to customize the client login screen for different domains. Currently I only see a way to customize the client screen for all domains which means they have to share the same logins page branding and design. I'd like to know if there is a way to customize each domain login screen.
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Seperate Clint login screen per domain

Post by FTP »

OK, you can write the html code like this:

Code: Select all

<% if domain == "domain1" then %>
html code for domain1
<% elseif domain == "domain2" then %>
html code for domain2
<% elseif domain == "domain3" then %>
html code for domain3
<% end %>
DomDis
Posts: 33
Joined: Sat Mar 18, 2023 7:44 pm

Re: Seperate Clint login screen per domain

Post by DomDis »

FTP wrote: Thu Dec 15, 2022 3:30 pm OK, you can write the html code like this:

Code: Select all

<% if domain == "domain1" then %>
html code for domain1
<% elseif domain == "domain2" then %>
html code for domain2
<% elseif domain == "domain3" then %>
html code for domain3
<% end %>

Yeah BUT you gotta do after each upgrade - I already have 1/2 a dozen changes that support indicated I could do for the feature I want
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: Seperate Clint login screen per domain

Post by FTP »

Please have a look at this post: viewtopic.php?p=8302
Post Reply