[pmwiki-users] Change PMWIKI folder and default file name?
H. Fox
haganfox at gmail.com
Sun Feb 27 00:11:38 CST 2005
On Sat, 26 Feb 2005 18:55:31 -1000, Sivakatirswami <katir at hindu.org> wrote:
> If, after installation of PMWIKI, one were to change the folder name
> of /pmwiki/ to "/wiki/"
>
> and the file "pmwiki.php" to simply "index.php"
>
> will it still work?
Yes, but read below...
> I always prefer very simple nomenclature where possible
>
> /www.himalayanacademy.com
> /wiki
> index.php
>
> where the url:
>
> http://www.himalayanacademy.com/wiki/
>
> will work and not affect the pmwiki operations. I do intend to keep
> some "PMWiki" branding on the pages of the wiki themselves, of course!
>
> If this is a bad idea, I can also set up a redirect in my redirect
> scripts, but the few of these the better for long term site
> maintenance.
I see your server is running Red Hat Linux. A better idea wold be to
leave the pmwiki.php file as-is and create a symbolic link to it.
ln -s pmwiki.php index.php
The reason is because when you upgrade PmWiki a new pmwiki.php file
will be copied to the directory. If you have renamed pmwiki.php to
index.php you'll be using the "pmwiki.php" from the old release with
other files from the new one. Creating a symlink avoids that problem.
Hagan
> Thanks
> Sivakatirswami
>
> _______________________________________________
> pmwiki-users mailing list
> pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users
>
More information about the pmwiki-users
mailing list