[pmwiki-users] How do you creating one, wiki-wide, Upload Directory on Local Site, not remote site?

Al Louis Ripskis ripskis at sprynet.com
Thu May 17 12:57:38 CDT 2012


May 17, 2012 8:57 AM a.sonderhoff at gassi-tv.de; Josh wrote:
$UploadDir = "C:/public_html/pmwiki/uploads";
$UploadUrlFmt = "http://www.politicaltransformation.org/htdocs/pmwiki/uploads";
>Did you put these lines in your local or remote site’s local/config.php?
>Can you clarify what your local and remote sites actually are?
The remote site is my politicaltransformation.org PmWiki and that's the config.php file that I inserted the above two lines of script.
Now my local site is the computer I'm operating from that has Windows XP Home OS.
Thanks again,
Al

>On May/17, 2012, at 1414 , Al Louis Ripskis wrote:
>
>> May 16, 2012 10:11 PM Tamouse wrote: Do I understand this correctly.Let me know if that's the situation so I can respond:
>> >a) politicaltransformation.org is hosted on a remote site? YES
>> >b) you are expecting the remote site to understand a path on your local machine? YES
>> >c) you are further expecting the wiki software to deliver a file to a user by cross-loading it from your local machine? NO. Deliver the user uploaded files to Local Upload directory so they can be checked out by my AVG virus program for viruses, etc..If this is not possible, is there another way to check out automatically whether the uploaded files are infected?
>> Thanks very much,
>> Al
>> 
>> -----Original Message-----
>> >From: tamouse mailing lists 
>> >Sent: May 16, 2012 10:11 PM
>> >To: Al Louis Ripskis 
>> >Cc: pmwiki-users 
>> >Subject: Re: [pmwiki-users] How do you creating one, wiki-wide, Upload Directory on Local Site, not remote site?
>> >
>> >On Wed, May 16, 2012 at 1:43 PM, Al Louis Ripskis wrote:
>> >> According to PmWiki Upload Administration instructions all you suppose to do
>> >> is put this or equivalent in you Config file::
>> >>
>> >> $UploadDir = "/home/foobar/public_html/uploads";
>> >> $UploadUrlFmt = "http://example.com/~foobar/uploads";
>> >>
>> >> When I translate the above to my Windows XP OS needs, I come with this:
>> >>
>> >> $UploadDir = "C:/public_html/pmwiki/uploads";
>> >> $UploadUrlFmt =
>> >> "http://www.politicaltransformation.org/htdocs/pmwiki/uploads";
>> >>
>> >> But all this does is create another upload directory on the remote site.
>> >> I would like to create one, site-wide directory on the local site.
>> >> How do I do that?
>> >
>> >Do I understand this correctly:
>> >
>> >a) politicaltransformation.org is hosted on a remote site?
>> >b) you are expecting the remote site to understand a path on your local machine?
>> >c) you are further expecting the wiki software to deliver a file to a
>> >user by cross-loading it from your local machine?
>> >
>> >Let me know if that's the situation so I can respond.
>> _______________________________________________
>> pmwiki-users mailing list
>> pmwiki-users at pmichaud.com
>> http://www.pmichaud.com/mailman/listinfo/pmwiki-users
>




More information about the pmwiki-users mailing list