Hello
Johny,
I'm really intrigued. I did not know of this
option and it looks
like it could solve a large amount of iURLs I have seen here and there.
Googling about it was absolutely helpless, e.g. I wanted to know if it works with
mod_rewrite.
Sorry, I dont know anything about mod_rewrite
Can you detail a little bit what you have achieved
with this added attribute?
I create page with cyrillic name "Проверка" in space Sandbox. This page
has URL
http://server:9080/xwiki/bin/view/Sandbox/%D0%9F%D1%80%D0%BE%D0%B2%D0%B5%D1…
where D0...B0 - utf-8 representation of word "Проверка"
This URL is direct to Tomcat, without any proxy and it works well.
When I try to open it, in tomcat access log I see:
192.168.0.59 - - [16/Mar/2012:14:43:09 +0300] "GET
/xwiki/bin/view/Sandbox/%D0%9F%D1%80%D0%BE%D0%B2%D0%B5%D1%80%D0%BA%D0%B0 HTTP/1.1"
200 39588
Now I try open this page through apache as proxy
(
ProxyPass /xwiki
http://localhost:9080/xwiki
ProxyPassReverse /xwiki
http://localhost:9080/xwiki
)
with URL
http://server/xwiki/bin/view/Sandbox/%D0%9F%D1%80%D0%BE%D0%B2%D0%B5%D1%80%D…
This method dont work - xwiki responds "Page not found". In tomcat
access.log I see:
127.0.0.1 - - [16/Mar/2012:14:43:23 +0300] "GET
/xwiki/bin/view/Sandbox/?????????µ?????%B0 HTTP/1.1" 404 24749
Looks like apache substitute ASCII letters with codes 0xD0, ... 0xB0
Now if I add option nocanon in httpd.conf:
(
ProxyPass /xwiki
http://localhost:9080/xwiki nocanon
ProxyPassReverse /xwiki
http://localhost:9080/xwiki
)
all works fine - I can view and edit this page. In tomcat access.log I
see:
127.0.0.1 - - [17/Mar/2012:12:50:14 +0300] "GET
/xwiki/bin/view/Sandbox/%D0%9F%D1%80%D0%BE%D0%B2%D0%B5%D1%80%D0%BA%D0%B0 HTTP/1.1"
200 42387
Are XWiki pages with a doc-name and space-name with
cyrillic characters now fully working?
Yes