[Pmwiki-users] upload config problem

Bob Dively dive
Wed May 5 07:38:54 CDT 2004


I'm sure that this is going to turn to be some stupid mistake on my part so
I apologize in advance for requiring hand-holding.

I'm trying to enable uploads on a pmwiki 0.6.17 install that's on a website
secured with apache basic http authentication. In my local/config.php I
have the following (I've replace some of the detail to protect the guilty):

$UploadDir = '/home/mysite/public_html/uploads';
$UploadUrlFmt = 'http://www.example.com/~mysite/uploads';
$DefaultPasswords['upload'] = crypt('test');

I've created the uploads directory and chmoded it to 755.

When I try to go to Main/WikiSandbox?action=upload&upname=test.jpg using IE
6.0 on Win2K, the expected password authentication dialog appears. At this
point, I assume that I should enter "upload" and "test" as my id/pwd combo,
but it's rejected. If I try 2 more times, I receive the standard
Authorization Required page. At this point, I can go back and click through
links to other pages in Main/ or PmWiki/ but I get a password
authentication dialog if I try to go to anything in Profiles/.

I know that the uploads functionality should work because I have a nearly
identical install running in the same environment in which uploads work
fine. The only major difference between the two installs is that the
working one only have one line in .htpasswd and the non-working one has
four lines (none of which is "uploads").

Oh yeah, I don't have on the Caps Lock key. :-)

cheers,
-b




More information about the pmwiki-users mailing list