Hi all,<br><br>I am trying to enable uploading for the installation of PmWiki I have at my university site. I'm running into difficulty setting the upload directory info.<br><br>in my config.php, I currently have set:
<br><br>$UploadUrlFmt = "<a href="http://www.university.edu/~userid/WikiUploads/">http://www.university.edu/~userid/WikiUploads/</a>";<br>$UploadDir = "WikiUploads";<br><br>When I go to attach a file, PmWiki creates a directory within it's installed directory named WikiUploads, and the file appears within it. PmWiki returns that the file upload is successful, however the image does not display.
<br><br><br>I suspect this may have something to do with the fact that the upload directory "usually must be in a location that is accessible to the web somewhere (e.g., in a subdirectory of <em>public_html</em>)." (according to
<a href="http://www.pmichaud.com/wiki/PmWiki/UploadsAdmin">http://www.pmichaud.com/wiki/PmWiki/UploadsAdmin</a> ) . However, for the life of me, I can't figure out how to point it to create a directory in my public space (listed in the UploadUrlFmt).
<br><br>If I try $UploadDir ="userid\webspace\WikiUploads"; , I will find the file written in those directories written in PmWiki's directory. <br><br>This action takes place regardless of if I include or comment out $UploadUrlFmt
<br><br>I'm not sure if my issue is an incorrect understanding of our server's directory structure, an incorrect usage of the php referring to it, or something else altogether.<br><br>Thank You for your help!<br>