Hi there

I have a problem with URLs generated from lenya after
upgrade from 1.2.4 to 1.2.5. I have tried finding a solution for a few
days now, and probably dont use the right search words
- so please give me a quick pointer


Setup:
I have Apache HTTPD+Tomcat+Lenya running on the same host.
Lenya 1.2.4 was installed and worked fine. I upgraded and a
problem reappeared - I remember solving this problem once,
but dont remember how and I dont seem to be able to locate
the right file to edit :-((

Problem - menus include "pub-id/live":
Since I have multiple publications for my sites, www.kramse.dk,
www.inet6.dk and www.security6.net to name a few, I have changed
Lenya 1.2.4 somehow to generate URLs like:
http://www.kramse.dk/cool.html instead of the long ones
http://www.kramse.dk/www.kramse.dk/live/cool.html

and then when requested the Apache HTTPD using rewrites like:
  RewriteRule ^/$ /www.kramse.dk/live/index.html [L,PT]
  RewriteRule ^/www.kramse.dk/live/css(.*) /www.kramse.dk/live/css$1 [L,PT]
works nicely - giving some clean URLs for reference and proxies
the requests into Tomcat/Lenya

This worked fine, but after upgrading returned to the "long ones"
(actually both the "long format" and "short format" URLs work
due to the rewriting so site is usable, but I hate the ugly URLs)


I tried messing with
lenya/pubs/www.kramse.dk/xslt/page2xhtml.xsl

inserting some stuff worked partially, like:
<!-- root hack Henrik, is set to EMPTY by the >< -->
<xsl:variable name="root"></xsl:variable>

which makes the css reference change from the "long format"
into /page/page.css - but still the menu parts are generated
with the looong urls.

I dont really mess a lot with Lenya and would hate to
go back to 1.2.4 backup. Any ideas for making this change
happen - and in the right way is appreciated.


Best regards

Henrik


-- 
Henrik Lund Kramshøj, Follower of the Great Way of Unix
[EMAIL PROTECTED], +45 2026 6000 cand.scient CISSP CEH
http://www.security6.net - IPv6, sikkerhed, netværk
http://e-learning.security6.net - gratis kursusmateriale

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to