Details
-
Bug
-
Resolution: Duplicate
-
Major
-
None
-
5.1
-
Unknown
-
N/A
-
N/A
-
Description
The following Apache configuration was used together with the settings for xwiki.cfg and web.xml on 3.1 and it was working (see platform.xwiki.org/xwiki/bin/view/Main/ShortURLs) but it does not work anymore on 4.5.4 and 5.1:
Alias /skins /usr/local/xwiki/skins Alias /resources /usr/local/xwiki/resources RewriteEngine on RewriteRule ^/+skins - [L] RewriteCond %{REQUEST_URI} !\.gwtrpc$ RewriteRule ^/+resources($|/.*) - [L] RewriteRule .* http://localhost:8080%{REQUEST_URI} [P,L] ProxyPassReverse / http://localhost:8080/
So we used Rewrite mod to enable reverse proxying, instead of the conventional ProxyPass and it then worked on 4.5.4 and 5.1.
Attachments
Issue Links
- duplicates
-
XWIKI-9376 Short URL don't work anymore
- Closed