The only other problem I see is potentially the leading "/" on the rewritten address. In other words, all the "/singles" below should probably be "singles" instead (assuming "singles" is not actually at the root of your hard disk).
<div><br class="webkit-block-placeholder"></div><div>Really, to debug this would require more detailed information using only full paths.</div><div><br class="webkit-block-placeholder"></div><div>What is the full path of your pmwiki install?
</div><div>(for example "/home/efc/www/pmwiki/pmwiki.php")</div><div><br class="webkit-block-placeholder"></div><div>What is the URL you would like to be "home" for your wiki?</div><div>(for example "
<a href="http://mydomain.org/Main/HomePage">http://mydomain.org/Main/HomePage</a>")</div><div><br class="webkit-block-placeholder"></div><div>What is the full path of your ".htaccess" file?</div><div>(for example "/home/efc/www/.htaccess")
</div><div><br class="webkit-block-placeholder"></div><div>Assumption: your server is configured so that a request of a page from your domain actually reaches your .htaccess file.</div><div><br class="webkit-block-placeholder">
</div><div>...Eric</div><div><br><div><span class="gmail_quote">On 12/4/07, <b class="gmail_sendername">Sameer Kumar</b> <<a href="mailto:skumar@eharch.com">skumar@eharch.com</a>> wrote:</span><blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p><span style="font-size:10.0pt;color:#215868"> </span></p>
<div>
<div>
<p style="margin-left:.5in"><span><span style="color:#215868"><Snip></span></span><span class="q"><br>
Following the directions in the clean URL cookbook I set up my .htaccess<br>
file in /website as follows:<br>
<br>
# Use mod_rewrite to enable "Clean URLs" for a PmWiki installation.<br>
RewriteEngine On <br>
# The rewrite base will be the document root.<br>
RewriteBase /website<br>
# Send requests without parameters to pmwiki.php.<br>
RewriteRule ^$
/singles/pmwiki.php [L]<br>
# Send requests for index.php to pmwiki.php .<br>
RewriteRule ^index\.php$ /singles/pmwiki.php [L]<br>
# Don't rewrite requests for any files, directories, or symbolic<br>
# links (shortcuts) that exist on the filesystem.<br>
# RewriteCond %{REQUEST_FILENAME} !-f<br>
# RewriteCond %{REQUEST_FILENAME} !-d<br>
# RewriteCond %{REQUEST_FILENAME} !-l # Send requests to pmwiki.php,<br>
appending the query string part.<br>
RewriteRule ^([A-Z0-9\xa0-\xff].*)$ /singles/pmwiki.php?n=$1 [QSA,L]<br>
<br>
I set up my /website/singles/local/config.php file as follows:<br>
<br>
<?php if (!defined('PmWiki')) exit();<br>
## Use "Clean URLs".<br>
$EnablePathInfo = 1;<br>
$ScriptUrl = "<a href="http://localhost" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://localhost</a>";<br>
## more configuration settings...<br>
<br></span>
<span style="color:#215868"><snip></span></p><span class="q">
<p style="margin-left:1.0in">I believe you want the RewriteBase
to be the root as served rather than the root as stored. Try "RewriteBase
/" instead.</p>
<p style="margin-left:1.0in">Note, the should also allow "<a href="http://localhost" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)"> http://localhost</a>" without the
"index.php" to bring up your site.</p>
<p style="margin-left:1.0in">Also, for this to work your Apache
server on the localhost must have mod_rewrite activated. You might want to
check to be sure this is the case. </p>
<p style="margin-right:0in;margin-bottom:12.0pt;margin-left:1.0in">...Eric</p></span>
<p style="margin-right:0in;margin-bottom:12.0pt;margin-left:.5in"><snip></p>
<p style="margin-bottom:12.0pt">Eric,</p>
<p>I have exactly the same situation as Tom's description
above and I have the .htaccess file in my root directory. I have followed all
the instructions that I have found (my htaccess file looks exactly the same as
above) and can also confirm that mod_rewrite is also activated for my Apache
install.</p>
<p>However, I cannot get rid of a "?n=" from my
URLs. For example, my URLs read as:</p>
<p><a href="http://hip.eharch.com/?n=Materials/Materials" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://hip.eharch.com/?n=Materials/Materials</a></p>
<p>instead of </p>
<p><a href="http://hip.eharch.com/Materials/Materials" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://hip.eharch.com/Materials/Materials</a></p>
<p>which I would prefer.</p>
<p>Would you have any ideas or suggestions regarding getting
rid of the "?n=" ?</p>
<p>Thanks. Sameer</p>
<p style="margin-left:.5in"> </p>
</div>
</div>
</div>
</div>
</blockquote></div><br> </div>