Martin,<br><br>Good advice. I have those too, and they work. What I want to accomplish is this:<br><br>my site is <a href="http://www.words2u.net">www.words2u.net</a>, with a link to a wiki at /pmwiki, and also a vhost, <a href="http://gps.words2u.net">gps.words2u.net</a> which directs to the same place. <br>
<br>Since the wiki is the heart of the site, at least at this moment, I would like to have it come up when people access <a href="http://www.words2u.net">www.words2u.net</a>, or the root directory, but without moving the pmwiki files and directories.<br>
<br>Z.<br><br><br><div class="gmail_quote">On Tue, Apr 8, 2008 at 1:59 AM, Martin Wheldon &lt;<a href="mailto:mwheldon@googlemail.com">mwheldon@googlemail.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;">
Hi,<br>
<br>
Here is a copy of my index.php<br>
<br>
&lt;?php<br>
include(&#39;pmwiki.php&#39;);<br>
?&gt;<br>
<br>
It lives in the pmwiki directory. In addition I have an Apache vhost<br>
with a document root of that points to my pmwiki directory<br>
<br>
Hope this helps<br>
<br>
Martin<br>
<div><div></div><div class="Wj3C7c"><br>
On 4/8/08, Steven Benmosh &lt;<a href="mailto:wordz2u@gmail.com">wordz2u@gmail.com</a>&gt; wrote:<br>
&gt; I have a root directory, and in it a pmwiki directory that includes<br>
&gt; pmwiki.php and index.php with the line &lt;?php include(&#39;pmwiki.php&#39;); in it.<br>
&gt; It works fine, and/but wiki pages have the url of <a href="http://www.mysite.com/pmwiki/." target="_blank">www.mysite.com/pmwiki/.</a>..<br>
&gt; In other words, I have a fully functional pmwiki installation running fine<br>
&gt; as it is.<br>
&gt;<br>
&gt; So I thought I would get smart, and in the root directory&#39;s include an<br>
&gt; index.php page with the following:<br>
&gt; &lt;?php include(&#39;/home/words2u/pmwiki/pmwiki.php&#39;);<br>
&gt; or<br>
&gt; &lt;?php include(&#39;pmwiki/pmwiki.php&#39;);<br>
&gt;<br>
&gt; Now I get the following error:<br>
&gt;<br>
&gt; Warning: mkdir() [function.mkdir]: Permission denied in<br>
&gt; /home/words2u/pmwiki/pmwiki.php on line 435<br>
&gt;<br>
&gt; Can I rectify this situation by changing the include statement? Permission<br>
&gt; and ownership are the same on both index.php and /pmwiki/index.php, so it is<br>
&gt; not a permission issue. I prefer at this time not to copy /pmwiki/* into the<br>
&gt; root directory, and also not to follow the new wiki creation instruction<br>
&gt; (change permissions on wiki.d etc.)<br>
&gt;<br>
&gt; Thanks.<br>
&gt;<br>
&gt; Z.<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; pmwiki-users mailing list<br>
&gt; <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
&gt; <a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br><br clear="all"><br>-- <br>Check out my web site - <a href="http://www.words2u.net">www.words2u.net</a>