<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:st2="urn:schemas-microsoft-com:office:smarttags" xmlns:st1="urn:schemas:contacts" xmlns="http://www.w3.org/TR/REC-html40"
xmlns:ns1="http://schemas.microsoft.com/office/2004/12/omml">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (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]--><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="Street"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PostalCode"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="State"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="City"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="address"/>
<o:SmartTagType namespaceuri="urn:schemas:contacts" name="Sn"/>
<o:SmartTagType namespaceuri="urn:schemas:contacts" name="middlename"/>
<o:SmartTagType namespaceuri="urn:schemas:contacts" name="GivenName"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="time"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="phone"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="date"/>
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PersonName"/>
<!--[if !mso]>
<style>
st2\:*{behavior:url(#default#ieooui) }st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--a:link
        {mso-style-priority:99;}
span.MSOHYPERLINK
        {mso-style-priority:99;}
a:visited
        {mso-style-priority:99;}
span.MSOHYPERLINKFOLLOWED
        {mso-style-priority:99;}
p
        {mso-style-priority:99;}
tt
        {mso-style-priority:99;}
p.MSOACETATE
        {mso-style-priority:99;}
li.MSOACETATE
        {mso-style-priority:99;}
div.MSOACETATE
        {mso-style-priority:99;}
span.Z-TOPOFFORMCHAR
        {mso-style-priority:99;}
span.Z-BOTTOMOFFORMCHAR
        {mso-style-priority:99;}
span.BALLOONTEXTCHAR
        {mso-style-priority:99;}
/* Font Definitions */
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:Calibri;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:Calibri;}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p
        {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";}
tt
        {font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:Tahoma;}
span.BalloonTextChar
        {font-family:Tahoma;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.z-TopofFormChar
        {font-family:Arial;
        display:none;}
span.z-BottomofFormChar
        {font-family:Arial;
        display:none;}
span.EmailStyle26
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@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><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>How do your logical root (http://</span></font>
mitchell.lamp.drexel.edu<font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'>) and what seems to be
your physical root (</span></font>/var/www/vhosts/mitchell.lamp.drexel.edu<font
size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:navy'>) correspond?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Are you sure that the physical path (which
$UploadDir needs) is actually </span></font>"/var/www/vhosts/mitchell.lamp.drexel.edu/httpdocs/pmwiki/uploads/"<o:p></o:p></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'>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></font><font size=2 color=navy face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:navy'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<p class=MsoNormal><st2:PersonName w:st="on"><st1:GivenName w:st="on"><strong><b><font
size=2 color=teal face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:teal'>Clayton</span></font></b></strong></st1:GivenName><strong><b><font
size=2 color=teal face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:teal'> <st1:middlename w:st="on">Curtis</st1:middlename> <st1:middlename
w:st="on">MD</st1:middlename> <st1:Sn w:st="on">PhD</st1:Sn></span></font></b></strong></st2:PersonName><strong><b><font
size=2 color=teal face=Arial><span style='font-size:10.0pt;font-family:Arial;
color:teal'> </span></font></b></strong><b><font size=2 color=teal face=Arial><span
style='font-size:10.0pt;font-family:Arial;color:teal;font-weight:bold'><br>
</span></font></b><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>VHA-IHS Interagency Liaison
& Informatics<br>
VAMC (00) <br>
<st2:address w:st="on"><st2:Street w:st="on">150 South Huntington Avenue</st2:Street>
<br>
<st2:City w:st="on">Boston</st2:City>, <st2:State w:st="on">MA</st2:State>
<st2:PostalCode w:st="on">02130</st2:PostalCode></st2:address> <br>
voice: <st2:phone phonenumber="$6364$$$" o:ls="trans" w:st="on">857-364-4786</st2:phone>
cel: <st2:phone phonenumber="$6794$$$" o:ls="trans" w:st="on">617-794-7151</st2:phone>
<br>
fax: <st2:phone phonenumber="$6687$$$" o:ls="trans" w:st="on">781-687-3470</st2:phone>
email: </span></font><font color=navy><span style='color:navy'><a
href="mailto:clayton.curtis@va.gov"><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>clayton.curtis@va.gov</span></font></a></span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
</div>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman"'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'>
pmwiki-users-bounces@pmichaud.com [mailto:pmwiki-users-bounces@pmichaud.com] <b><span
style='font-weight:bold'>On Behalf Of </span></b><st1:GivenName w:st="on">Mitchell</st1:GivenName>,<st1:GivenName
w:st="on">James</st1:GivenName><br>
<b><span style='font-weight:bold'>Sent:</span></b> Wednesday, <st2:date
Year="2007" Day="07" Month="11" ls="trans" w:st="on">November 07, 2007</st2:date>
<st2:time Minute="46" Hour="17" w:st="on">5:46 PM</st2:time><br>
<b><span style='font-weight:bold'>To:</span></b> pmwiki-users@pmichaud.com<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [pmwiki-users] Upload
setup produces download pmwiki.php dialogbox</span></font><font size=3
face="Times New Roman"><span style='font-size:12.0pt;font-family:"Times New Roman"'><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p> </o:p></span></font></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 height=300 style='height:225.0pt'>
<td width="100%" height=300 valign=top bgcolor=white style='width:100.0%;
background:white;padding:4.5pt 4.5pt 4.5pt 4.5pt;height:225.0pt'>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'>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></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'>I
also tried<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'>$UploadDir
=
"/var/www/vhosts/mitchell.lamp.drexel.edu/httpdocs/pmwiki/uploads/";<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'>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/<st2:place w:st="on">Main</st2:place>/
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'] = ''; # <st2:PersonName w:st="on"><st1:GivenName
w:st="on">Patrick</st1:GivenName> <st1:Sn w:st="on">Michaud</st1:Sn></st2:PersonName>
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'; # <st2:PersonName w:st="on"><st1:GivenName
w:st="on">Patrick</st1:GivenName> <st1:Sn w:st="on">Michaud</st1:Sn></st2:PersonName>
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/"; # <st2:PersonName
w:st="on"><st1:GivenName w:st="on">Patrick</st1:GivenName> <st1:Sn w:st="on">Michaud</st1:Sn></st2:PersonName>
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: <st2:PersonName w:st="on"><st1:GivenName w:st="on">Patrick</st1:GivenName>
<st1:middlename w:st="on">R.</st1:middlename> <st1:Sn w:st="on">Michaud</st1:Sn></st2:PersonName>
[<a href="mailto:pmichaud@pobox.com" target="_blank">mailto:pmichaud@pobox.com</a>]<br>
Sent: Mon 11/5/2007 1:29 PM<br>
To: <st1:GivenName w:st="on">Mitchell</st1:GivenName>,<st1:GivenName w:st="on">James</st1:GivenName><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, <st1:GivenName w:st="on">Mitchell</st1:GivenName>,<st1:GivenName
w:st="on">James</st1:GivenName> 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></span></font></p>
</td>
</tr>
</table>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p></o:p></span></font></p>
</td>
</tr>
</table>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'>Bottom
of Form<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Calibri><span style='font-size:11.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>