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 <<a href="mailto:mwheldon@googlemail.com">mwheldon@googlemail.com</a>> 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>
<?php<br>
include('pmwiki.php');<br>
?><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 <<a href="mailto:wordz2u@gmail.com">wordz2u@gmail.com</a>> wrote:<br>
> I have a root directory, and in it a pmwiki directory that includes<br>
> pmwiki.php and index.php with the line <?php include('pmwiki.php'); in it.<br>
> 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>
> In other words, I have a fully functional pmwiki installation running fine<br>
> as it is.<br>
><br>
> So I thought I would get smart, and in the root directory's include an<br>
> index.php page with the following:<br>
> <?php include('/home/words2u/pmwiki/pmwiki.php');<br>
> or<br>
> <?php include('pmwiki/pmwiki.php');<br>
><br>
> Now I get the following error:<br>
><br>
> Warning: mkdir() [function.mkdir]: Permission denied in<br>
> /home/words2u/pmwiki/pmwiki.php on line 435<br>
><br>
> Can I rectify this situation by changing the include statement? Permission<br>
> and ownership are the same on both index.php and /pmwiki/index.php, so it is<br>
> not a permission issue. I prefer at this time not to copy /pmwiki/* into the<br>
> root directory, and also not to follow the new wiki creation instruction<br>
> (change permissions on wiki.d etc.)<br>
><br>
> Thanks.<br>
><br>
> Z.<br>
><br>
</div></div>> _______________________________________________<br>
> pmwiki-users mailing list<br>
> <a href="mailto:pmwiki-users@pmichaud.com">pmwiki-users@pmichaud.com</a><br>
> <a href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users" target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
><br>
><br>
</blockquote></div><br><br clear="all"><br>-- <br>Check out my web site - <a href="http://www.words2u.net">www.words2u.net</a>