[pmwiki-users] lighttpd clean urls
marc
gmane at auxbuss.com
Sun Aug 19 09:56:23 CDT 2007
Hi,
I've been following the instructions to add clean urls to PmWiki running
on lighttpd from here:
http://trac.lighttpd.net/trac/wiki/HowToRewriteForPMWiki
which basically says add
$HTTP["host"] == "wiki.domain.tld" {
index-file.names = ("pmwiki.php")
url.rewrite-once = ( "^/([a-zA-Z0-9]+)/([a-zA-Z=?0-9.&:]+)$" =>
"/pmwiki.php?n=$1.$2","^/([a-zA-Z0-9/]+)$" => "/pmwiki.php?n=Category.
$1" )
}
to the conf file after enabling mod_rewrite.
However, it also states that the recipe is for when PmWiki is in the web
root. In my case, PmWiki is in /root/pmwiki/. Can anyone point me in the
right direction for clean urls in cases like mine? Thanks.
Also, shouldn't the rewrite rule be on index.php, instead of pmwiki.php?
--
Cheers,
Marc
More information about the pmwiki-users
mailing list