[Pmwiki-users] ReWrite Rule breaks Uploads?
J. Perkins
jason
Sat Mar 6 11:07:05 CST 2004
I use:
RewriteEngine on
RewriteRule ^([A-Z].*) /public/wiki/pmwiki.php/$1 [L]
Then in config.php, I think you need (I'm guessing at your document root):
$PageUrlFmt = '/wiki/$Group/$Title_';
Don't change $ScriptUrl. The original instructions said you should, but
that was what broke uploads for me. Leave $ScriptUrl at the default and
change $PageUrlFmt instead.
I don't know if that helps you any, but it is working for me. I had t
Jason
Roy wrote:
> I seem to recall someone else having this issue. I was doing the tricks, to make "Pretty URLS". Here's my .htaccess file...
>
> [snip]
> DirectoryIndex pmwiki.php
>
> RewriteEngine on
> RewriteBase /
> RewriteRule ^([A-Z].*) /public/wiki/pmwiki.php?pagename=$1&%{QUERY_STRING} [L]
>
> [end snip]
>
> Everything works great, except you can't upload files (for Attach tags). I put the directory into 777 mode, but still no-go.
>
> Can I assume the upload path is getting confused?
>
> Roy
>
>
More information about the pmwiki-users
mailing list