Thanks, that works great. I am not worried about the url, for all I care the whole world can see I am using PmWiki. I am quite proud of this fact...<br><br>Z.<br><br><div class="gmail_quote">On Tue, Apr 8, 2008 at 6:37 AM, Patrick R. Michaud &lt;<a href="mailto:pmichaud@pobox.com">pmichaud@pobox.com</a>&gt; 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 Mon, Apr 07, 2008 at 10:03:10PM -0600, Steven Benmosh wrote:<br>
&gt; &nbsp; &nbsp;I have a root directory, and in it a pmwiki directory that includes<br>
&gt; &nbsp; &nbsp;pmwiki.php and index.php with the line &lt;?php include(&#39;pmwiki.php&#39;); in it.<br>
&gt; &nbsp; &nbsp;It works fine, and/but wiki pages have the url of<br>
&gt; &nbsp; &nbsp;<a href="http://www.mysite.com/pmwiki/." target="_blank">www.mysite.com/pmwiki/.</a>.. In other words, I have a fully functional pmwiki<br>
&gt; &nbsp; &nbsp;installation running fine as it is.<br>
&gt;<br>
&gt; &nbsp; &nbsp;So I thought I would get smart, and in the root directory&#39;s include an<br>
&gt; &nbsp; &nbsp;index.php page with the following:<br>
&gt; &nbsp; &nbsp;&lt;?php include(&#39;/home/words2u/pmwiki/pmwiki.php&#39;);<br>
&gt; &nbsp; &nbsp;or<br>
&gt; &nbsp; &nbsp;&lt;?php include(&#39;pmwiki/pmwiki.php&#39;);<br>
&gt;<br>
&gt; &nbsp; &nbsp;Now I get the following error:<br>
&gt;<br>
&gt; &nbsp; &nbsp;Warning: mkdir() [function.mkdir]: Permission denied in<br>
&gt; &nbsp; &nbsp;/home/words2u/pmwiki/pmwiki.php on line 435<br>
<br>
</div>This is because the system is attempting to run PmWiki from the<br>
root directory, and the needed files aren&#39;t present. &nbsp;Try the<br>
following in your root&#39;s index.php:<br>
<br>
 &nbsp; &nbsp;&lt;?php chdir(&#39;pmwiki&#39;); include(&#39;pmwiki.php&#39;);<br>
<br>
If that doesn&#39;t work, then take a look at<br>
<a href="http://www.pmwiki.org/wiki/Cookbook/CleanUrls" target="_blank">http://www.pmwiki.org/wiki/Cookbook/CleanUrls</a> for some other<br>
approaches to removing the &quot;pmwiki&quot; from the url.<br>
<font color="#888888"><br>
Pm<br>
<br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Check out my web site - <a href="http://www.words2u.net">www.words2u.net</a>