<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Yes, I know about clean urls. Thanks for making sure.<br>
    I have no plan concerning whether to run pmwiki from root folder  or
    from /pmwiki.<br>
    What difference does it make? Which do you recommend?<br>
    <br>
    <br>
    On 12/28/2011 1:14 PM, Edwin Marte wrote:
    <blockquote
cite="mid:CAMxMCtuRVoFj6xHmcWja_ybEVJ2F9rmnLJH+qWW9nyuf96Q7Zg@mail.gmail.com"
      type="cite"><br>
      <br>
      <div class="gmail_quote">On Wed, Dec 28, 2011 at 5:08 PM, Edwin
        Marte <span dir="ltr"><<a moz-do-not-send="true"
            href="mailto:edwin.marte@leidba.com">edwin.marte@leidba.com</a>></span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div><br>
          </div>
          <br>
          <div class="gmail_quote">
            <div class="im">On Wed, Dec 28, 2011 at 4:48 PM, Wade Lee
              Hudson <span dir="ltr"><<a moz-do-not-send="true"
                  href="mailto:wade@wadehudson.net" target="_blank">wade@wadehudson.net</a>></span>
              wrote:<br>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div bgcolor="#FFFFFF" text="#000000"> Concerning <a
                    moz-do-not-send="true"
                    href="http://obtcc.org/pmwiki/pmwiki.php"
                    target="_blank">http://obtcc.org/pmwiki/pmwiki.php</a>,
                  as instructed, I created an index.php file that
                  contains this single line<br>
                  <?php include_once('pmwiki.php');<br>
                  and uploaded it to /public_html<br>
                </div>
              </blockquote>
              <div><br>
              </div>
            </div>
            <div>check for cleanurls for more info  <a
                moz-do-not-send="true"
                href="http://www.pmwiki.org/wiki/Cookbook/CleanUrls#index_php_note"
                target="_blank">http://www.pmwiki.org/wiki/Cookbook/CleanUrls#index_php_note</a></div>
            <div><br>
            </div>
            <div>the only thing needed in index.php  file is the line   <span
                style="background-color:rgb(247,247,247);font-family:'Lucida
                Console','Andale Mono','Courier
                New',Courier,monospace;font-size:0.9em;line-height:1.2em"><?php
                include_once('pmwiki.php');  as you mentioned before.</span></div>
            <div><font face="'Lucida Console', 'Andale Mono', 'Courier
                New', Courier, monospace"><span
                  style="font-size:12px;line-height:14px"><br>
                </span></font></div>
            <div>place the index.php in /pmwiki not in / </div>
            <div><br>
            </div>
            <div>Although, are you planning to run pmwiki from root
              folder  or from /pmwiki?</div>
            <div class="im">
              <div><br>
              </div>
              <div><br>
              </div>
              <div> </div>
              <blockquote class="gmail_quote" style="margin:0 0 0
                .8ex;border-left:1px #ccc solid;padding-left:1ex">
                <div bgcolor="#FFFFFF" text="#000000"> <br>
                  But in response to the question, "How do I make
                  pmwiki.php the default page for a website?" <a
                    moz-do-not-send="true"
                    href="http://www.pmwiki.org/wiki/PmWiki/Installation"
                    target="_blank">the documentation says</a>:<br>
                  <blockquote>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).<br>
                    <br>
                    <?php chdir('pmwiki');
                    include_once('pmwiki.php');<br>
                    <br>
                    Note: You will also need to explicitly set the
                    $PubDirUrl variable (e.g. to <a
                      moz-do-not-send="true"
                      href="http://example.com/pmwiki/pub"
                      target="_blank">"http://example.com/pmwiki/pub"</a>)
                    in local/config.php .<br>
                  </blockquote>
                  Does that mean that I should add a line that reads<br>
                  <?php chdir('pmwiki'); include_once('pmwiki.php');<br>
                  to that index.php file on /public_html/ </div>
              </blockquote>
            </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div class="im">
                <div bgcolor="#FFFFFF" text="#000000"> <br>
                  Do I need to make it the default page? Isn't it
                  already the default page?<br>
                  <br>
                  Thanks,<br>
                  Wade<br>
                </div>
                <br>
              </div>
              _______________________________________________<br>
              pmwiki-users mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:pmwiki-users@pmichaud.com" target="_blank">pmwiki-users@pmichaud.com</a><br>
              <a moz-do-not-send="true"
                href="http://www.pmichaud.com/mailman/listinfo/pmwiki-users"
                target="_blank">http://www.pmichaud.com/mailman/listinfo/pmwiki-users</a><br>
              <br>
            </blockquote>
          </div>
          <br>
        </blockquote>
      </div>
      <br>
      <div>just adding to previous question: if  you are planning to
        have pmwiki installation on /pmwiki and the main page will be on
        server root / then probably what you need is to use .htacces
        file like <a moz-do-not-send="true"
          href="http://www.pmwiki.org/wiki/Cookbook/CleanUrls#docroot">http://www.pmwiki.org/wiki/Cookbook/CleanUrls#docroot</a> 
        , you can ignore cleanurl part if you are not interested on
        that, of course it is more elegant and it would be my choice.</div>
      <div><br>
      </div>
      <div>hope it helps,</div>
      <div><br>
      </div>
      <div>Edwin</div>
    </blockquote>
  </body>
</html>