<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2800.1479" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>In the <A
href="http://www.pmwiki.org/wiki/Cookbook/CleanUrls">http://www.pmwiki.org/wiki/Cookbook/CleanUrls</A> example,
how would one eliminate the /pmwiki/ or modify the /pmwiki/ within the URL to
show something else?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In my case, the example matches perfectly up to
this point. I create an .htaccess with this content...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV><FONT face=Arial size=2><FONT
size=2>
<DIV>RewriteEngine on</DIV>
<DIV>RewriteRule ^([A-Z].*) /pmwiki/pmwiki.php?n=$1 [L,qsappend]</DIV>
<DIV>RewriteRule ^$ /pmwiki/pmwiki.php [L,qsappend]</DIV>
<DIV> </DIV>
<DIV>Then I add this to my config.php</DIV>
<DIV> </DIV>
<DIV>## for clean URL<BR> $EnablePathInfo = 1;<BR> $PubDirUrl =
'http://undertheoak.net/pmwiki/pub/';<BR> $ScriptUrl =
'http://undertheoak.net/pmwiki';<BR> $UploadUrlFmt =
'http://undertheoak.net/pmwiki/uploads';</DIV>
<DIV> </DIV>
<DIV>This gives me <A
href="http://undertheoak.net/pmwiki/Main/HomePage">http://undertheoak.net/pmwiki/Main/HomePage</A> as
a URL. However, I used to just have <A
href="http://undertheoak.net/wiki/">http://undertheoak.net/wiki/</A> working
(by using aliases... which I can use... but I'm following the instructions with
the new upgrade to pmwiki v2+). How can I use the .htaccess method to get
back to that point? I also have access to root and would love it if I
could bring the Group name all the way to the left and bump it up next to the
root domain.</DIV>
<DIV> </DIV>
<DIV>But, on the page, <A
href="http://www.pmwiki.org/wiki/Cookbook/CleanUrls">http://www.pmwiki.org/wiki/Cookbook/CleanUrls</A>,
I haven't been able to figure out the logic for doing that. Can anyone
help?</DIV>
<DIV> </DIV>
<DIV>Thanks,</DIV>
<DIV>Matt Simpson - matthew@undertheoak.net</DIV></FONT></FONT></BODY></HTML>