On Wed, Dec 28, 2011 at 4:48 PM, Wade Lee Hudson <[email protected]>wrote:
> Concerning http://obtcc.org/pmwiki/pmwiki.php, as instructed, I created > an index.php file that contains this single line > <?php include_once('pmwiki.php'); > and uploaded it to /public_html > check for cleanurls for more info http://www.pmwiki.org/wiki/Cookbook/CleanUrls#index_php_note the only thing needed in index.php file is the line <?php include_once('pmwiki.php'); as you mentioned before. place the index.php in /pmwiki not in / Although, are you planning to run pmwiki from root folder or from /pmwiki? > > But in response to the question, "How do I make pmwiki.php the default > page for a website?" the documentation > says<http://www.pmwiki.org/wiki/PmWiki/Installation> > : > > Create an index.php file that runs PmWiki from a subdirectory (pmwiki/ for > example) and place it in the site's web document root (the main directory > for the website). > > <?php chdir('pmwiki'); include_once('pmwiki.php'); > > Note: You will also need to explicitly set the $PubDirUrl variable (e.g. > to "http://example.com/pmwiki/pub" <http://example.com/pmwiki/pub>) in > local/config.php . > > Does that mean that I should add a line that reads > <?php chdir('pmwiki'); include_once('pmwiki.php'); > to that index.php file on /public_html/ > > Do I need to make it the default page? Isn't it already the default page? > > Thanks, > Wade > > _______________________________________________ > pmwiki-users mailing list > [email protected] > http://www.pmichaud.com/mailman/listinfo/pmwiki-users > >
_______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
