[Pmwiki-users] Can't get attachments working

Chris Lott chris.lott
Thu Dec 2 23:37:14 CST 2004

I can't seem to get attachments to work. I can use the Attach:xxx.gif
(for example) tag and I get an upload link taking me to a form... but
when I submit the form I just get bounced back to the home page (no
matter which page I am trying to add an image to):

Here is the relevant info from .htaccess:
RewriteEngine on
RewriteBase /pmwiki
RewriteRule ^([A-Z].*) /home/chrisl/public_html/pmwiki/pmwiki.php?pagename=$1 [L

And here is my config.php info:

$ScriptUrl = 'http://www.chrislott.org/pmwiki';
$PageUrlFmt = 'http://www.chrislott.org/pmwiki/$Group/$Title_';
$PubDirUrl = 'http://www.chrislott.org/pmwiki/pub';
$UploadUrlFmt = 'http://www.chrislott.org/pmwiki/uploads';
$EnableUpload = 1;
$DefaultPasswords['upload'] = crypt('xxx');

Any ideas what might be causing the problem here?

Chris Lott

More information about the pmwiki-users mailing list