Thomas,

I can't fully advise you on the URL-shortening procedure inside XWiki, I've 
never used it.

But it's quite easy to honour more of such URLs by hand if you use mod_rewrite.

Inside Curriki we have such rules as:

## the home page is at /
RewriteRule ^/$  ${servers:xwiki}/xwiki/bin/view/Main/WebHome [P]

....

## Some stuff can be served by apache (js, skins)
RewriteCond /apache2/htdocs/xwiki-static/$2 -s
RewriteRule ^/xwiki(/bin/skin)?/(.*)$ /apache2/htdocs/xwiki-static/$2 [L]

But maybe there's a more XWiki way?

paul


Le 6 mars 2012 à 21:11, Thomas Kratz a écrit :

> Hey Paul,
> 
> thanks for pointing that out. I didn't realize what I was actually getting
> for those requests. for the moment I reverted the URL shortening measures,
> as I think having the action Servlet on /* makes it impossible for tomcat
> to serve the static resources properly, at least I don't know how to do
> that. I event went away from the ROOT context and threw in a second
> redirect, not optimal, but it works at last .
> Its now online on buchmanager.com.
> 
> Once again, thanks for helping me out.
> 
> Thomas
> 
> 2012/3/6 Paul Libbrecht <[email protected]>
> 
>> 
>> Thomas,
>> 
>> I could register and login.
>> But your menus are broken because of javascript errors.
>> 
>> URLs such as http://buchmanager.com/resources/js/prototype/prototype.jsare 
>> missing an xwiki on the front.
>> You can arrange this with another proxypass I think.
>> But I am not sure how to fix it on the wiki (can it be it's a root web-app
>> somewhere?)
>> 
>> paul
>> 
>> 
>> Le 6 mars 2012 à 17:55, Thomas Kratz a écrit :
>> 
>>> Hi Paul,
>>> 
>>> I double checked everything. Have it live now, although it's not really
>>> usable but maybe you can look at it at buchmanager.com. OmniWeb seems
>> to be
>>> for the Mac. I checked with firebug and everything seems to be ok except
>>> for the header.png that must be my configuration fault. But I cannot see
>>> why this shouldn't work.
>>> 
>>> I can see two cookies, with the right domain name in them, but still the
>>> menus are broken.
>>> If you go to wiki.buchmanager.com it works, but I didn't spot a
>> difference.
>>> 
>>> Regards Thomas
>>> 
>>> 
>>> 
>>> 2012/3/6 Paul Libbrecht <[email protected]>
>>> 
>>>> Thomas,
>>>> 
>>>> have you really restarted?
>>>> To debug that you need at least the web-inspector/firebug's network tab.
>>>> My best tool there is OmniWeb's Error-console where you can see a
>>>> Set-Cookie header that would be erroneous.
>>>> 
>>>> hope it helps.
>>>> 
>>>> paul
>>>> 
>>>> PS: I've never used ProxyPreserveHost (I think it was not there at the
>>>> time) but everything still worked fine.
>>>> 
>>>> 
>>>> Le 6 mars 2012 à 17:10, Thomas Kratz a écrit :
>>>> 
>>>>> HI again,
>>>>> 
>>>>> I started my wiki on a subdomain wiki.buchmanager.com. Now I changed
>> the
>>>>> domain plus an alias to www.buchmanager.com and
>>>>> www.book-publishing-software.com. Strange thing is that on the old url
>>>>> wiki.buchmanager.com is everything fine, but on the new ones the menus
>>>> dont
>>>>> work. I don't need mutliple wikis and the instructions I found about
>> the
>>>>> wiki manager seem to be deprecated.
>>>>> 
>>>>> I tried setting wiki.home and cookiedomains but this doesn't seem to be
>>>>> related.
>>>>> 
>>>>> I will appreciate any hint!
>>>>> 
>>>>> My current apache conf is this:
>>>>> 
>>>>> <VirtualHost *:80>
>>>>> ServerName www.buchmanager.com
>>>>> ServerAlias wiki.buchmanager.com buchmanager.com
>>>>> www.book-publishing-software.com book-publishing-software.com
>>>>> ProxyPreserveHost On
>>>>> ProxyPass  /  http://127.0.0.1:8080/
>>>>> ProxyPassReverse  /  http://127.0.0.1:8080/
>>>>> # Local reverse proxy authorization override
>>>>> # Most unix distribution deny proxy by default (ie
>>>>> /etc/apache2/mods-enabled/proxy.conf in Ubuntu)
>>>>> <Proxy *>
>>>>> Order deny,allow
>>>>> Allow from all
>>>>> </Proxy>
>>>>> </VirtualHost>
>>>>> 
>>>>> 
>>>>>                                                            35,0-1
>>>>> Bot
>>>>> _______________________________________________
>>>>> users mailing list
>>>>> [email protected]
>>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>> 
>>>> _______________________________________________
>>>> users mailing list
>>>> [email protected]
>>>> http://lists.xwiki.org/mailman/listinfo/users
>>>> 
>>> _______________________________________________
>>> users mailing list
>>> [email protected]
>>> http://lists.xwiki.org/mailman/listinfo/users
>> 
>> _______________________________________________
>> users mailing list
>> [email protected]
>> http://lists.xwiki.org/mailman/listinfo/users
>> 
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users

_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to