[pmwiki-users] Installation question by newbie
Doug O'Harra
doharra at gci.net
Fri Dec 1 13:51:18 CST 2006
Thank you Hagan!
After reading the cookbook at:
http://www.pmwiki.org/wiki/Cookbook/CleanUrls#index_file
I added this:
<?php chdir('pmwiki');
to the include in the index.php in the www directory. It now reads, in full,
<?php chdir('pmwiki'); include_once('/big/dom/xsite/www/pmwiki/pmwiki.php');
I also made sure the $ScriptUrl matched.
It works! Everything loads.
Now to tackle a new skin.... :>
Doug
The new index include then On 12/1/06 9:38 AM, "Hagan Fox"
<haganfox at users.sourceforge.net> wrote:
> Doug O'Harra <doharra <at> gci.net> writes:
>>
>
>> I installed pmwiki on my website in its own pmwiki directory/folder inside
>> the www folder. It appears to work great and I started to customize. I can
>> load my nascent pmwiki homepage from www.mywebsite.com/pmwiki/pmwiki.php
>> with no problem.
>>
>> Then, following installation directions, I created an index.php file with
>> the code:
>>
>> <?php include_once("pmwiki.php");
>> ?>
>>
>> If I keep file index.php inside the www.mywebsite.com/pmwiki folder and
>> enter url www.mywebsite.com/pmwiki/index.php, it loads the newest version of
>> the homepage with the latest customized configuration. Identical to what
>> gets loaded by www.mywebsite.com/pmwiki/pmwiki.php. Just as you'd expect. (I
>> think.)
>>
>> However, if I move that index.php file inside the www directory/folder where
>> it can serve as a default for my website[...]
>
> It sounds like what your are trying to do is:
>
> Shortening or Altering the Path and Eliminating "pmwiki.php"
>
> See http://www.pmwiki.org/wiki/Cookbook/CleanUrls#index_file .
>
> Hagan
>
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
More information about the pmwiki-users
mailing list