Actually, what I came up with was a version of the last line of the .htaccess file we use for clean urls:<br><br># Send requests ending in .shtml to index.php.<br>RewriteRule ^([A-Z0-9\xa0-\xff].*)\.shtml$&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; index.php?n=$1&nbsp; [QSA,L]<br>
<br>That does it, but it&#39;s still not elegant enough. I&#39;d like to combine that line with the last one, but so far it works. I&#39;ll add this version to the documentation.<br><br>Thanks Peter,<br>Radu<br><br><div class="gmail_quote">
On Wed, Nov 26, 2008 at 6:27 AM, Peter Bowers <span dir="ltr">&lt;<a href="mailto:pbowers@pobox.com">pbowers@pobox.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Tue, Nov 18, 2008 at 10:04 PM, Radu Luchian &lt;<a href="mailto:radu@monicsoft.net">radu@monicsoft.net</a>&gt; wrote:<br>
&gt; I&#39;ve searched both the pmwiki site and the mailing list archive for some<br>
&gt; hint about allowing .shtml extensions to pages.<br>
</div>&gt; ...<br>
<div class="Ih2E3d">&gt; Are there other ways to allow requests to .shtml pages to be redirected to<br>
&gt; the actual wiki page?<br>
&gt;<br>
&gt; Could someone figure out rhe RewriteRule I can use in the .htaccess file for<br>
&gt; the site that would do this at the server level?<br>
<br>
</div>I think the rewrite rule is what you are looking for. &nbsp;Does something<br>
like this work?<br>
<br>
RewriteRule ^(.*)\.shtml$ $1 [QSA,L]<br>
<br>
That&#39;s kind of a shot in the dark in an area I don&#39;t play around with<br>
too much, but it might work. &nbsp;I&#39;ve never bothered to look what the<br>
stuff in the brackets after the search/replace is for, so if that<br>
doesn&#39;t work try just getting rid of the brackets and everything<br>
inside them.<br>
<font color="#888888"><br>
-Peter<br>
</font></blockquote></div><br>