<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> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>The administrator of the “virtual
host” assures me that my physical root should be “/” so
that the path to pmwiki is <o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'> /httpdocs/pmwiki/<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>The physical path I reported
comes from the pmwiki error message. I don’t know how to report
better than that since, as I recorded above, I’m not supposed to see
anything other than “/” as my root<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'>Pmwiki is working fine for
everything except uploads so I’m hopeful that there’s a simple
explanation.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </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 – the virtual hosting
software is “Plesk”. It’s set up by my university so I
don’t have access to it.<o:p></o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </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> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:#1F497D'><o:p> </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> </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>"/var/www/vhosts/mitchell.lamp.drexel.edu/httpdocs/pmwiki/uploads/"<o:p></o:p></p>
<p class=MsoNormal>Looks like you have a “virtual host” … in
which case creating anything like "/httpdocs/pmwiki/uploads” (much
less …/uploads/uploads/…) 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> </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 & Informatics<br>
VAMC (00) <br>
150 South Huntington Avenue <br>
Boston, MA 02130 <br>
voice: 857-364-4786 cel: 617-794-7151 <br>
fax: 781-687-3470 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> </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.
I'd note that for me the root is /httpdocs/.....<br>
<br>
I checked and have created a path
"/httpdocs/pmwiki/uploads/uploads/Main<br>
with the "Main" directory having 777 permissions, but that
doesn't do the trick.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I also tried<o:p></o:p></p>
<p class=MsoNormal>$UploadDir = "/var/www/vhosts/mitchell.lamp.drexel.edu/httpdocs/pmwiki/uploads/";<o:p></o:p></p>
<p class=MsoNormal><o:p> </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>
mkdir
/var/www/vhosts/mitchell.lamp.drexel.edu/httpdocs/pmwiki/uploads/uploads/Main<br>
chmod 777
/var/www/vhosts/mitchell.lamp.drexel.edu/httpdocs/pmwiki/uploads/uploads/Main<br>
**************<br>
<br>
<br>
$DefaultPasswords['admin'] = crypt('######');<br>
$DefaultPassword['upload'] = ''; # Patrick Michaud
11/5/2007 <br>
<br>
<br>
## If you want uploads enabled on your system, set $EnableUpload=1.<br>
## You'll also need to set a default upload password, or else set<br>
## passwords on individual groups and pages. For more
information<br>
## see PmWiki.UploadsAdmin.<br>
$EnableUpload = 1; <br>
## $DefaultPasswords['upload'] = crypt('sandbox'); # JEM disabled
because of setting below<br>
## $HandleAuth['upload'] = 'edit'; # 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 = "/httpdocs/pmwiki/uploads/"; # Patrick
Michaud says disable 11/5/2007<br>
$UploadUrlFmt = "<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>";<br>
## $UploadPrefixFmt = '/$Group/$Name'; # JEM disabled because
having difficulties with uploads 11/4/2007 didn't help<br>
## have been sure to make directories writeable 11/4/2007<br>
$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>
> config.php<br>
> $EnableUpload =
1; <br>
> $HandleAuth['upload'] = 'edit';<br>
> $UploadDir =
"/httpdocs/pmwiki/uploads/";<br>
> $UploadUrlFmt = "<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>";<br>
> $UploadMaxSize = 1000000; # limit upload file
size to 1 megabyte<br>
> $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>
> $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. 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>
$DefaultPassword['upload'] = '';<br>
<br>
Other than that, these settings look okay to me. 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> </o:p></p>
</div>
</body>
</html>