httpd rewrite rule
There is an old application out there with a link to what used to be a wiki, https://server1.domian/wiki/index.php server1 no longer hosts the wiki, so I added a statement to httpd.conf:
Redirect permanent /wiki https://server2.domain/wiki/index.php/New_Wiki
That gets me to a URL:
So I added a second rule:
Redirect permanent /wiki/index.php https://server2.domain/wiki/index.php/New_Wiki
But I'm still being redirected to https://server2.domain/wiki/index.ph...Wiki/index.php I would prefer to handle this correctly on server1 rather than adding a rule on server2 to redirect /wiki/index.php/New_Wiki/index.php to /wiki/index.php/New_Wiki
is there another rewrite rule or something that appends on the index.php? you may have something weird inside your config, usually has something to do with trailing slashes. its kind of hard to tell without looking at the configs.