Hi list,

I've discovered an abnormal behaviour in Ax2: In most respects,
uri_to_file does it work. However, in the case of a "dirindex" file
beeing called, $hd->request_uri isn't set to the resolved filename, it's
left at the original request format.

Example: In my present case, my 'dirindex' file is 'index.odt'. When
you call, say, http://axkit:8000/sofus/, $hd->request_uri is left at
'/sofus/', it isn't changed to the resolved filename '/sofus/index.odt'.
The latter is the case with mod_perl and Ax1 - so is this strange
behaviour with Ax2 done on purpose?

I really need the resolved URI a lot of places in my XSLT code to
calculate links etc. I could easily write my own code to bypass the Ax2
headers, but it seems to me that this wouldn't be the correct behaviour?
;-)

Regards,
Lars
-- 

Lars Skjærlund
Consultant
 
Ubiquitech A/S
Lyngby Hovedgade 4,3
2800 Kgs. Lyngby
Denmark
 
Tel: +4570200084
Mobile: +4523457157
 
http://www.ubiquitech.com


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

Reply via email to