<!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&nbsp;<A 
href="http://www.pmwiki.org/wiki/Cookbook/CleanUrls">http://www.pmwiki.org/wiki/Cookbook/CleanUrls</A>&nbsp;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>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>In my case, the example matches perfectly up to 
this point.&nbsp; I create an .htaccess with this content...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV>Then I add this to my config.php</DIV>
<DIV>&nbsp;</DIV>
<DIV>## for clean URL<BR>&nbsp; $EnablePathInfo = 1;<BR>&nbsp; $PubDirUrl = 
'http://undertheoak.net/pmwiki/pub/';<BR>&nbsp; $ScriptUrl = 
'http://undertheoak.net/pmwiki';<BR>&nbsp; $UploadUrlFmt = 
'http://undertheoak.net/pmwiki/uploads';</DIV>
<DIV>&nbsp;</DIV>
<DIV>This gives me <A 
href="http://undertheoak.net/pmwiki/Main/HomePage">http://undertheoak.net/pmwiki/Main/HomePage</A>&nbsp;as 
a URL.&nbsp; However, I used to just have <A 
href="http://undertheoak.net/wiki/">http://undertheoak.net/wiki/</A>&nbsp;working 
(by using aliases... which I can use... but I'm following the instructions with 
the new upgrade to pmwiki v2+).&nbsp; How can I use the .htaccess method to get 
back to that point?&nbsp; 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>&nbsp;</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.&nbsp; Can anyone 
help?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks,</DIV>
<DIV>Matt Simpson - matthew@undertheoak.net</DIV></FONT></FONT></BODY></HTML>