actually, didn't solve it

RewriteRule ^([A-Z0-9\xa0-\xff].*)/$ wiki/pmwiki.php?n=$1 [QSA,L] (notice the /$)

only works on the odd pages that were resulting in odd urls
but it breaks all other pages

: (




On 18 Jan 2010, at 1:05 AM, adam overton wrote:


i think i solved it
i'm not sure i understand it, but it works

seems like changing
   RewriteRule ^([A-Z0-9\xa0-\xff].*)$ wiki/pmwiki.php?n=$1  [QSA,L]
to
RewriteRule ^([A-Z0-9\xa0-\xff].*)/$ wiki/pmwiki.php?n=$1 [QSA,L] (notice the /$)

... works

puzzled but happy,
a


hi
i need some quick help.
i'm trying to convert a site from

http://myurl.com/wiki/My/Wiki

to

http://myurl.com/My/Wiki

i've set up my .htaccess in my root folder and everything works great - except in a few cases.

in most cases, urls like
   http://myurl.com/My/Wiki
... resolve correctly

however, in a few cases, urls like this:
   http://myurl.com/Resources/Unix
result in:
   http://myurl.com/Resources/Unix/?n=Resources/Unix

however, if i type in the url as
   http://myurl.com/Resources/Unix/   (with a slash on the end)
... it then resolves correctly.

and if i respell the page names they don't seem to have the same problem. for instance, this works:
   http://myurl.com/Resources/Unixx

right now there appear to be only a handful of pages that are exhibiting this odd behavior.

very frustrating. any ideas of what might be going on and how i could alleviate this? is it an .htaccess problem?

many thanks!
a

ps - my .htaccess is below:
RewriteEngine On
RewriteBase /

RewriteRule ^$           wiki/pmwiki.php  [L]
RewriteRule ^index\.php$ wiki/pmwiki.php  [L]

#RewriteRule ^(.*)$ wiki/pmwiki.php?n=$1 [QSA,L] # same thing here...
RewriteRule ^([A-Z0-9\xa0-\xff].*)$ wiki/pmwiki.php?n=$1  [QSA,L]



_______________________________________________
pmwiki-users mailing list
[email protected]
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to