[Pmwiki-users] Can't get attachments working
Patrick R. Michaud
pmichaud
Fri Dec 3 08:46:00 CST 2004
On Thu, Dec 02, 2004 at 09:37:03PM -0900, Chris Lott wrote:
> 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 ,qsappend]
Your Rewrite rule is incorrect -- it should rewrite to a url,
not to a filesystem path name. You probably want something like
RewriteRule ^([A-Z].*) pmwiki.php?pagename=$1 [L, qsappend]
Pm
More information about the pmwiki-users
mailing list