<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.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.z-TopofFormChar
        {mso-style-name:"z-Top of Form Char";
        mso-style-priority:99;
        mso-style-link:"z-Top of Form";
        font-family:"Arial","sans-serif";
        display:none;}
span.z-BottomofFormChar
        {mso-style-name:"z-Bottom of Form Char";
        mso-style-priority:99;
        mso-style-link:"z-Bottom of Form";
        font-family:"Arial","sans-serif";
        display:none;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@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>
<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>
<p class=MsoNormal><o:p></o:p></p>
</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>