<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
span.z-topofformchar
        {mso-style-name:z-topofformchar;
        mso-style-priority:99;
        font-family:"Arial","sans-serif";
        display:none;}
span.z-bottomofformchar
        {mso-style-name:z-bottomofformchar;
        mso-style-priority:99;
        font-family:"Arial","sans-serif";
        display:none;}
span.balloontextchar0
        {mso-style-name:balloontextchar;
        mso-style-priority:99;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle24
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle25
        {mso-style-type:personal;
        font-family:"Arial","sans-serif";
        color:navy;}
span.EmailStyle26
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='color:#1F497D'>I have to plead ignorance on
this and hope for assistance.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>The administrator of the &#8220;virtual
host&#8221; assures me that my physical root should be &#8220;/&#8221;&nbsp; so
that the path to pmwiki is <o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>&nbsp;/httpdocs/pmwiki/<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>The physical path I reported
comes from the pmwiki error message.&nbsp; I don&#8217;t know how to report
better than that since, as I recorded above, I&#8217;m not supposed to see
anything other than &#8220;/&#8221; as my root<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Pmwiki is working fine for
everything except uploads so I&#8217;m hopeful that there&#8217;s a simple
explanation.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Does anyone have experience or
suggestions.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>FYI &#8211; the virtual hosting
software is &#8220;Plesk&#8221;.&nbsp; It&#8217;s set up by my university so I
don&#8217;t have access to it.<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'>Jim Mitchell<o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Curtis, Clayton
[mailto:Clayton.Curtis@va.gov] <br>
<b>Sent:</b> Thursday, November 08, 2007 8:37 AM<br>
<b>To:</b> Mitchell,James; pmwiki-users@pmichaud.com<br>
<b>Subject:</b> RE: [pmwiki-users] Upload setup produces download pmwiki.php
dialogbox<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>How do your logical root (http://</span> mitchell.lamp.drexel.edu<span
style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>) and what
seems to be your physical root (</span>/var/www/vhosts/mitchell.lamp.drexel.edu<span
style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'>)
correspond?<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>Are you sure that the physical path (which $UploadDir needs) is
actually </span>&quot;/var/www/vhosts/mitchell.lamp.drexel.edu/httpdocs/pmwiki/uploads/&quot;<o:p></o:p></p>

<p class=MsoNormal>Looks like you have a &#8220;virtual host&#8221; &#8230; in
which case creating anything like &quot;/httpdocs/pmwiki/uploads&#8221; (much
less &#8230;/uploads/uploads/&#8230;) would be unlikely to work<span
style='font-size:10.0pt;font-family:"Arial","sans-serif";color:navy'><o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'><o:p>&nbsp;</o:p></span></p>

<div>

<p class=MsoNormal><strong><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:teal'>Clayton Curtis MD PhD </span></strong><b><span style='font-size:
10.0pt;font-family:"Arial","sans-serif";color:teal'><br>
</span></b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:navy'>VHA-IHS Interagency Liaison &amp;&nbsp;Informatics<br>
&nbsp;VAMC (00) <br>
&nbsp;150 South Huntington Avenue <br>
&nbsp;Boston, MA 02130 <br>
&nbsp;voice: 857-364-4786&nbsp; cel: 617-794-7151 <br>
&nbsp;fax: 781-687-3470&nbsp;&nbsp;&nbsp; email: </span><span style='color:
navy'><a href="mailto:clayton.curtis@va.gov"><span style='font-size:10.0pt;
font-family:"Arial","sans-serif"'>clayton.curtis@va.gov</span></a></span><span
style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p></o:p></span></p>

</div>

<div>

<div class=MsoNormal align=center style='text-align:center'><span
style='font-size:12.0pt;font-family:"Times New Roman","serif"'>

<hr size=2 width="100%" align=center>

</span></div>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>
pmwiki-users-bounces@pmichaud.com [mailto:pmwiki-users-bounces@pmichaud.com] <b>On
Behalf Of </b>Mitchell,James<br>
<b>Sent:</b> Wednesday, November 07, 2007 5:46 PM<br>
<b>To:</b> pmwiki-users@pmichaud.com<br>
<b>Subject:</b> Re: [pmwiki-users] Upload setup produces download pmwiki.php
dialogbox</span><span style='font-size:12.0pt;font-family:"Times New Roman","serif"'><o:p></o:p></span></p>

</div>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
 style='width:100.0%'>
 <tr>
  <td valign=top style='padding:0in 0in 0in 0in'>
  <table class=MsoNormalTable border=1 cellpadding=0 width="100%"
   style='width:100.0%'>
   <tr style='height:225.0pt'>
    <td width="100%" valign=top style='width:100.0%;background:white;
    padding:4.5pt 4.5pt 4.5pt 4.5pt;height:225.0pt'>
    <p class=MsoNormal>Thanks for the quick response.<br>
    <br>
    I think I did what you suggested - Below is the way the relevant pieces of
    config.php currently read, but I'm getting the following that precedes them.&nbsp;
    I'd note that for me the root is /httpdocs/.....<br>
    <br>
    I checked and have created a path
    &quot;/httpdocs/pmwiki/uploads/uploads/Main<br>
    &nbsp;with the &quot;Main&quot; directory having 777 permissions, but that
    doesn't do the trick.<o:p></o:p></p>
    <p class=MsoNormal><o:p>&nbsp;</o:p></p>
    <p class=MsoNormal>I also tried<o:p></o:p></p>
    <p class=MsoNormal>$UploadDir = &quot;/var/www/vhosts/mitchell.lamp.drexel.edu/httpdocs/pmwiki/uploads/&quot;;<o:p></o:p></p>
    <p class=MsoNormal><o:p>&nbsp;</o:p></p>
    <p class=MsoNormal>And got back an error message again that doubled the
    path.<br>
    <br>
    <br>
    *********<br>
    PmWiki can't process your request<br>
    <br>
    PmWiki needs to have a writable uploads/Main/ directory before it can
    continue. You can create the directory manually by executing the following
    commands on your server:<br>
    <br>
    &nbsp;&nbsp;&nbsp; mkdir
    /var/www/vhosts/mitchell.lamp.drexel.edu/httpdocs/pmwiki/uploads/uploads/Main<br>
    &nbsp;&nbsp;&nbsp; chmod 777
    /var/www/vhosts/mitchell.lamp.drexel.edu/httpdocs/pmwiki/uploads/uploads/Main<br>
    **************<br>
    <br>
    <br>
    &nbsp;$DefaultPasswords['admin'] = crypt('######');<br>
    &nbsp;$DefaultPassword['upload'] = '';&nbsp; #&nbsp; Patrick Michaud
    11/5/2007&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
    <br>
    <br>
    ##&nbsp; If you want uploads enabled on your system, set $EnableUpload=1.<br>
    ##&nbsp; You'll also need to set a default upload password, or else set<br>
    ##&nbsp; passwords on individual groups and pages.&nbsp; For more
    information<br>
    ##&nbsp; see PmWiki.UploadsAdmin.<br>
    &nbsp;$EnableUpload = 1;&nbsp;<br>
    &nbsp;## $DefaultPasswords['upload'] = crypt('sandbox'); # JEM disabled
    because of setting below<br>
    ## $HandleAuth['upload'] = 'edit';&nbsp; # Patrick Michaud says disable
    11/5/2007<br>
    ## The following comes from <a
    href="https://exchangeweb.drexel.edu/exchweb/bin/redir.asp?URL=http://pmwiki.org/wiki/PmWiki/UploadsAdmin"
    target="_blank">http://pmwiki.org/wiki/PmWiki/UploadsAdmin</a> to force
    uploads by page<br>
    ## $UploadDir = &quot;/httpdocs/pmwiki/uploads/&quot;;&nbsp; # Patrick
    Michaud says disable 11/5/2007<br>
    &nbsp;$UploadUrlFmt = &quot;<a
    href="https://exchangeweb.drexel.edu/exchweb/bin/redir.asp?URL=http://mitchell.lamp.drexel.edu/pmwiki/uploads/"
    target="_blank">http://mitchell.lamp.drexel.edu/pmwiki/uploads/</a>&quot;;<br>
    &nbsp;## $UploadPrefixFmt = '/$Group/$Name';&nbsp; # JEM disabled because
    having difficulties with uploads 11/4/2007 didn't help<br>
    &nbsp;## have been sure to make directories writeable 11/4/2007<br>
    &nbsp;$UploadMaxSize = 1000000; # limit upload file size to 1 megabyte<br>
    <br>
    <br>
    -----Original Message-----<br>
    From: Patrick R. Michaud [<a href="mailto:pmichaud@pobox.com"
    target="_blank">mailto:pmichaud@pobox.com</a>]<br>
    Sent: Mon 11/5/2007 1:29 PM<br>
    To: Mitchell,James<br>
    Cc: pmwiki-users@pmichaud.com<br>
    Subject: Re: [pmwiki-users] Upload setup produces download pmwiki.php
    dialog box<br>
    <br>
    On Sun, Nov 04, 2007 at 10:11:41AM -0500, Mitchell,James wrote:<br>
    &gt;&nbsp;&nbsp;&nbsp; config.php<br>
    &gt;&nbsp;&nbsp;&nbsp;&nbsp; $EnableUpload =
    1;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br>
    &gt;&nbsp;&nbsp;&nbsp;&nbsp; $HandleAuth['upload'] = 'edit';<br>
    &gt;&nbsp;&nbsp;&nbsp;&nbsp; $UploadDir =
    &quot;/httpdocs/pmwiki/uploads/&quot;;<br>
    &gt;&nbsp;&nbsp;&nbsp;&nbsp; $UploadUrlFmt = &quot;<a
    href="https://exchangeweb.drexel.edu/exchweb/bin/redir.asp?URL=http://mitchell.lamp.drexel.edu/pmwiki/uploads/"
    target="_blank">http://mitchell.lamp.drexel.edu/pmwiki/uploads/</a>&quot;;<br>
    &gt;&nbsp;&nbsp;&nbsp;&nbsp; $UploadMaxSize = 1000000; # limit upload file
    size to 1 megabyte<br>
    &gt;&nbsp;&nbsp;&nbsp;&nbsp; $ScriptUrl = '<a
    href="https://exchangeweb.drexel.edu/exchweb/bin/redir.asp?URL=http://mitchell.lamp.drexel.edu/pmwiki/pmwiki.php%27;"
    target="_blank">http://mitchell.lamp.drexel.edu/pmwiki/pmwiki.php';</a><br>
    &gt;&nbsp;&nbsp;&nbsp;&nbsp; $PubDirUrl = '<a
    href="https://exchangeweb.drexel.edu/exchweb/bin/redir.asp?URL=http://mitchell.lamp.drexel.edu/pmwiki/pub%27;"
    target="_blank">http://mitchell.lamp.drexel.edu/pmwiki/pub';</a><br>
    <br>
    Unless there's a strong reason for explicitly setting $UploadDir,<br>
    you probably want to leave it alone.&nbsp; PmWiki will generally figure<br>
    out the correct setting.<br>
    <br>
    You also probably don't want to set $HandleAuth['upload'] explicitly;<br>
    if you want uploading to default to edit permissions you can<br>
    more easily do this with<br>
    <br>
    &nbsp;&nbsp;&nbsp; $DefaultPassword['upload'] = '';<br>
    <br>
    Other than that, these settings look okay to me.&nbsp; Let us know if
    you're<br>
    still having trouble and I'll look into it a bit further.<br>
    <br>
    Pm<o:p></o:p></p>
    </td>
   </tr>
  </table>
  </td>
 </tr>
</table>

<p class=MsoNormal>Bottom of Form<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>