Yes it is deployed as root. What redirection?
It has never been behind anything. Any ideas how to fix? -jim On Mar 21, 2015 7:22 AM, "Juan Pablo Santos Rodríguez" < juanpablo.san...@gmail.com> wrote: > Hi Jim, > > Did you have an Apache server in front of your tomcat? Seems you're serving > your tomcat directly from www.ldapwiki.com. Were you deploying JSPWiki as > a > root app? Somehow the redirection from ldapwiki.com to your wiki seems > broken, be it because you deployed as a root app, and now is a normal war, > be it because you had an apache we server which is not visible anymore, be > it because the redirection from ldapwiki.com to your tomcat has changed, > or > something like that. > > As an aside, I'd recommend you to place an Apache server or similar in > front your tomcat so it only receives jspwiki petitions; f.ex., your tomcat > manager is visible from internet, although it asks for user/password. > > > HTH, > juan pablo > > On Sat, Mar 21, 2015 at 10:49 AM, Jim Willeke <j...@willeke.com> wrote: > > > Appears, for some reason, http://ldapwiki.com is not reading the > > jspwiki-custom.properties file > > > > jspwiki.fileSystemProvider.pageDir=/home/tomcat/jspwiki-files/ldapwiki > > > > > jspwiki.basicAttachmentProvider.storageDir=/home/tomcat/jspwiki-files/ldapwiki/attachments > > jspwiki.attachment.forbid=.html .htm .php .asp .exe > > jspwiki.applicationName=ldapwiki > > jspwiki.pageProvider=VersioningFileProvider > > jspwiki.security=jaas > > jspwiki.workDir=/usr/share/tomcat/work/ldapwiki > > jspwiki.baseURL=http//ldapwiki.com/ > > log4j.rootCategory=DEBUG,FileLog > > log4j.appender.Filelog=org.apache.log4j.DailyRollingFileAppender > > log4j.appender.Filelog.DatePattern='.'yyyy-MM-dd > > log4j.appender.Filelog$.Append=true > > log4j.appender.FileLog.File=/usr/share/tomcat/logs/ldapwiki.log > > jspwiki.usePageCache=true > > jspwiki.urlConstructor=ShortViewURLConstructor > > jspwiki.shortURLConstructor.prefix=wiki/ > > jspwiki.translatorReader.inlinePattern.1=*.jpg > > jspwiki.translatorReader.inlinePattern.2=*.png > > jspwiki.translatorReader.inlinePattern.3= > > http://willeke.com/ASSETS/IMAGES/* > > jspwiki.translatorReader.inlinePattern.4= > > http://willeke.com/Family/Photos/* > > > > > > When the page(s) load, they look like: > > > > http://ldapwiki.com/*JSPWiki*/images/out.png Failed to load resource: > the > > server responded with a status of 404 (Not Found) > > http://ldapwiki.com/*JSPWiki*/attach/LeftMenu/donate_button_nocards.png > > Failed to load resource: the server responded with a status of 404 (Not > > Found) > > http://ldapwiki.com/JSPWiki/templates/default/jspwiki.css Failed to load > > resource: the server responded with a status of 404 (Not Found) > > http://ldapwiki.com/JSPWiki/templates/default/jspwiki_print.css Failed > to > > load resource: the server responded with a status of 404 (Not Found) > > > > When I would expect them to be more like: > > http://ldapwiki.com/*ldapwiki*/templates/default/jspwiki.css > > > > I am unaware of anything changes recently that would have caused the > change > > as it was working. But of course something has changed. > > > > > > -- > > -jim > > Jim Willeke > > ᐧ > > > ᐧ