By: Chance Anderson user 29 Sep 2016 at 10:42 a.m. CDT

2 Responses
Chance Anderson gravatar
> Customizing Pages > > A new location is added inside the Gluu Server chroot to make the customizations easy. The /var/gluu/webapps/ folder contains the oxauth and oxtrust folder which contains the libs, pages and resources folder where the customized pages can be placed to overwrite the default pages. I can override the login.xhtml by placing the login.xhtml in the pages directory. I also managed to get the template.html layout to work as well. But I have also modified the stylesheet/theme.css and added an image to the img directory. Can I use the /var/gluu/webapps/ directories to over ride the CSS and add an img? If I change the tomcat file manually I can get the css and img to work but not from the /var/gluu/webapps/ customization approach? I read about the .jar approach but not sure where to find that file. Seems like using apt-get all I see is the installed gluu server files? And the .jar approach mentions 'static' files, so I assume the html files cannot be packaged in the .jar file? (I am not a java programmer) Please advise the best way to customize the CSS and add images. Thanks ### Post answer response: The quote at the top of the page came from the linked document - so no help to me. So are you saying I can put the stylesheets/theme.css in the pages/resources directory? As I could not get that to work either. The login page and the template work fine in the pages directory. • What kind of things should go into the libs directory and • what kind of things should go into the resources directory? Your link went to the 'customizing-pages' page anchor but in the 'style customizations' it does mention pointing the config at a different path. Is this what you are trying to suggest? Need more input... ### More problems for this issue: Another engineer on our team reported the following: "Part of our automation script was copying a CSS and a PNG file into the exploded oxauth WAR directory (because putting them in the /var/gluu/webapps path isn't working as advertised). After copying the PNG and CSS file into that path I was restarting the gluu-server which caused tomcat to restart and explode the oxauth WAR file (initial run). Well.. since we had an existing directory structure with files tomcat was failing to explode the oxauth WAR file. I am surprised I didn't see ANY errors in the catalina logs about it." **I think the main issue we are trying to figure out now is why the PNG and CSS files aren't being picked up by Tomcat/Gluu/Oxauth when we place them under /var/gluu/webapps) **

By Sahil Arora user 10 Nov 2016 at 7:46 p.m. CST

Sahil Arora gravatar
we have created a [github](https://github.com/GluuFederation/oxAuth/issues/365) issue where you can track it: