[EMAIL PROTECTED] writes:

| As for solutions, some are described here
>
|       http://www.pmwiki.org/wiki/Cookbook/CleanUrls
>
| The solution I wrote about uses the 'RewriteEngine' to remap URIs by 
| adding the following to .htaccess
>
|   RewriteEngine on
|   RewriteBase /
|   RewriteRule ^([A-Z].*) /home/lyx/www/pmwiki/pmwiki.php?pagename=$1 
[L,qsappend]
|   RedirectMatch 301 ^/$ http://wiki.lyx.org/pmwiki.php

These just didn't work...

What I did:

Added two aliases:

        Alias /pub/ /home/lyx/www/pmwiki/pub/
        Alias / /home/lyx/www/pmwiki/pmwiki.php/

And modified the $PubDirUrl in pmwiki.php from:

$PubDirUrl = preg_replace("#/[^/]*\$#","/pub",$ScriptUrl,1);

to 

$PubDirUrl = $ScriptUrl . "/pub";

Is it now working as you want it to?

-- 
        Lgb

Reply via email to