Hi Jim, I'm not sure why you are getting the "*" prefixing and suffixing the context path (ldapwiki). This is most likely an apache /etc/httpd/conf/ *httpd.conf* file setting. i.e. This works: http://www.ldapwiki.com/ldapwiki/templates/default/jspwiki.css This doesn't: http://www.ldapwiki.com/*ldapwiki*/templates/default/jspwiki.css
As for my settings I'm using: jspwiki.applicationName=testwiki jspwiki.baseURL=http://digitalspider.com.au/testwiki/ Not sure if the baseURL has to contain the application name in it or not. Cheers, David V On Sun, Mar 22, 2015 at 8:35 AM, Juan Pablo Santos Rodríguez < juanpablo.san...@gmail.com> wrote: > context root meaning context path, actually (typing on mobile) > > br, > juan pablo > El 21/3/2015 21:59, "Juan Pablo Santos Rodríguez" < > juanpablo.san...@gmail.com> escribió: > > > Hi Jim, > > > > The fact that you're getting the context-root on your urls suggests your > > tomcat is reading from a normal-deployed war. > > > > Would you mind deleting your tomcat's work folder so you can see which > app > > is being readen/deployed? > > > > br, > > juan pablo > > El 21/3/2015 18:09, "Jim Willeke" <j...@willeke.com> escribió: > > > >> 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 > >> > > ᐧ > >> > > > >> > > >> ᐧ > >> > > >