Page 1 of 1

SWA Logo Modification in Scalix 10

Posted: Sat Feb 18, 2006 7:43 pm
by jpkovacic
I've installed Scalix 10 (upgrade from 9.4.2) for my company's Enterprise E-mail system. I've been asked to change the Scalix logo to my company's logo on the SWA login page. Another forum posting specified that this could be changed via the "index.jsp" in the tomcat /webapps/webmail directory. However, I was unable to locate this file in that directory of Scalix's tomcat version (/opt/scalix-tomcat). Is there a different approach that needs to be taken for SWA logo modification in Version 10? Is the index.jsp file located somewhere different with the "scalix-tomcat" version?

Thanks,
Joe K

Posted: Sat Feb 18, 2006 7:55 pm
by mephisto

Posted: Mon Feb 20, 2006 1:10 am
by jpkovacic
Problem fixed via The Dude's solution described in the link: http://www.scalix.com/community/viewtopic.php?t=1410.

Posted: Thu Feb 23, 2006 12:29 am
by ScalixSupport
The file /opt/scalix-tomcat/webapps/webmail/WEB-INF/web.xml contains a section marked <welcome-file-list>.

To use index.html or index.htm as the default page, you need to change it to read:

Code: Select all

<welcome-file-list>
  <welcome-file>index.jsp</welcome-file>
  <welcome-file>index.html</welcome-file>
  <welcome-file>index.htm</welcome-file>
</welcome-file-list>

and restart tomcat with

Code: Select all

/etc/init.d/scalix-tomcat restart


Cheers

Dave

Posted: Thu Feb 23, 2006 1:34 am
by mabadjiev
Where would be index.html or index.htm located after restarting tomcat.
Also the following line:
<welcome-file>index.htmls</welcome-file>
shouldn't it be:
<welcome-file>index.html</welcome-file>

And finally how/where is /webmail alias created?
I don't think that posting the custom 'index.html' in DocumentRoot is the greatest idea, it's a patch of the problem not a solution, and what if we run other stuff then Scalix only under Apache?

Any comments /suggestions are greatly appreciated.

Posted: Thu Feb 23, 2006 1:38 am
by ScalixSupport
I had already edited htmls to read html before you posted.

index.html should be placed in /opt/scalix-tomcat/webapps/webmail

Cheers

Dave

Posted: Thu Feb 23, 2006 4:24 am
by mabadjiev
I assumed that still when it's posted in:
/opt/scalix-tomcat/webapps/webmail
the index.html is not disolayed it picks up the old one after restarting tomcat of course.
here are the files:

/opt/scalix-tomcat/webapps/webmail
[root@ns webmail]$ ls -al
total 100
drwxr-xr-x 11 root root 4096 Feb 23 00:21 .
drwxr-xr-x 13 root root 4096 Feb 20 00:26 ..
-rw-r--r-- 1 root root 4490 Feb 20 00:26 3e17213dc3f9ea4a.js
-rw-r--r-- 1 root root 16070 Feb 20 00:26 b6be00688ca77af0.js
drwxr-xr-x 2 root root 4096 Feb 20 00:26 css
-rw-r--r-- 1 root root 2413 Feb 20 00:26 debugWindow.html
-rw-r--r-- 1 root root 17074 Feb 20 00:26 f53092882b4ea77d.js
drwxr-xr-x 3 root root 4096 Feb 20 00:26 img
-rwxr--r-- 1 root root 8161 Feb 20 20:31 index.html
drwxr-xr-x 3 root root 4096 Feb 20 00:26 js
drwxr-xr-x 2 root root 4096 Feb 20 00:26 META-INF
drwxr-xr-x 2 root root 4096 Feb 20 00:26 snd
drwxr-xr-x 2 root root 4096 Feb 20 00:26 spell
drwxr-xr-x 4 root root 4096 Feb 20 00:26 WebHelp
drwxr-xr-x 7 root root 4096 Feb 22 20:45 WEB-INF
drwxr-xr-x 2 root root 4096 Feb 20 00:26 xml

Any suggestions?

Posted: Thu Feb 23, 2006 2:18 pm
by ScalixSupport
I made a slight mistake. The web.xml file needs to be order-specific so, you need to move the index.jsp line to below the index.htm/l lines and restart tomcat. Everything should work.

Cheers

Dave

Posted: Fri Feb 24, 2006 1:36 am
by mabadjiev
This time it works, thanks for your help.
BTW where is the configuration for that alias /webmail, since we don't want to run apache on port 80 (http) but 443 (https) only it will be nice to know the specifics for that alias.
Thanks again.

Posted: Mon Feb 27, 2006 2:47 pm
by ScalixSupport
As this post is being referenced in response to the same question from other users, I need to add the following caveat.

If you upgrade or re-install SWA for any reason, the modifications you make to index.html and web.xml will not be retained.

So, prior to an update of any sort, please take a copy of those files and make the changes again once the update has completed successfully.

Cheers

Dave

Posted: Wed Mar 21, 2007 11:49 am
by yuceli
I guess a lot of things have been changed with new version. The directory structure has changed considerably and I guess some XML files also changed. I can't find "<welcome-file-list>" in web.xml file. Could someone write down how to change Scalix logo to the company logo please? Thanks in advance...

Posted: Wed Mar 21, 2007 5:27 pm
by jeffs
Hi yuceli:

The SWA path changes in version 11. Look for web.xml in

Code: Select all

/var/opt/scalix/XX/tomcat/webapps/webmail/WEB-INF

where XX = the name of the Scalix instance, which defaults to the first and last letter of the host name. Then specify your custom login page at the end of the file in this stanza:

Code: Select all

    <welcome-file-list>
        <welcome-file>index.html</welcome-file>
        <welcome-file>index.htm</welcome-file>
        <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>

if you use index.html inside the /webmail folder.
hth
Jeff

Posted: Thu Mar 22, 2007 12:55 pm
by yuceli
Jeff, thanks a lot!

Yucel

Posted: Mon Jul 16, 2007 2:56 am
by massspec
Here's a write up on how to change the webmail login page in the wiki that was helpful.

http://www.scalix.com/wiki/index.php?ti ... LOGIN_PAGE