It looks like it is impossible to have permalinks (and comment and who knows what else) working in Blojsom, which runs on port 80 through mod_jk on Tomcat 5.5.9 (in my case).
All permalinks work from localhost only when they look like this:
http://localhost/blojsom/blog/kyrylkov/JBuilder/2005/06/21/JBuilder_2006.html
instead of
http://example.com/blojsom/blog/kyrylkov/JBuilder/2005/06/21/JBuilder_2006.html
In this second case I end up with “File not found” Apache error.
I tried to play with a number of things, including changing host name in Tomcat server.xml
, but nothing helped. It looks like either Apache or Tomcat (or mod_jk) fail to pick up the right virtual host name for some reason and settle for localhost instead.
Anyway, in the end I settled for mod_proxy
and left mod_jk
problem be. Of course the question is why would I want mod_jk in the first place…