[pmwiki-users] Re: Clean URIs and conflicts with other uses of $ScriptUrl

Robin robin at kallisti.net.nz
Tue Jan 25 09:30:44 CST 2005


On Wednesday 26 January 2005 04:06, chr at home.se wrote:
> Thanks for the tip. I added the following
>
>  RedirectMatch 301 ^/$ http://mydomain.se/wiki/pmwiki.php
>
> instead and also made a not of this tip here:
Err, a bit I missed, in my httpd.conf I have:
AliasMatch ^/([A-Z].*) /var/www/wiki/pmwiki.php/$1

So the result is that anyone going to http://www.kallisti.net.nz gets 
redirected to ...net.nz/Main/HomePage, and the alias silently maps that onto 
the pmwiki.php script. This way no reference to pmwiki.php is seen. If you do 
the redirect you mention, people will end up at 
mydomain.se/wiki/pmwiki.php/Main/HomePage or similar (at least, I think so)

-- 
Robin <robin at kallisti.net.nz>             JabberID: <eythian at jabber.org>

Hostes alienigeni me abduxerunt. Qui annus est?

PGP Key 0xA99CEB6D = 5957 6D23 8B16 EFAB FEF8  7175 14D3 6485 A99C EB6D
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : /pipermail/pmwiki-users/attachments/20050126/be2990ea/attachment.bin 


More information about the pmwiki-users mailing list