aha!
my server admin just noticed that:
1. i'm using lower-case names, i.e. http://myserver.com/wiki/group/page
&
2. the rewriteRule was only looking for a capital first letter

so, changing my RewriteRule from:
RedirectMatch ^/([A-Z0-9]+)/?$ /$1/Index
 to
RedirectMatch ^/([a-zA-Z0-9]+)/?$ /$1/Index

... sort of works - it allows the mod_rewrite to finally execute (thank goodness; i thought i was going crazy for awhile) - only problem is that all pages were missing their css formatting. turns out calls to /wiki/pub were probably getting rewritten too, so i changed it further to:

RewriteRule ^([^/(pub)].*) pmwiki.php?n=$1  [QSA,L]

and now it seems to work fine!!!

in anycase, thanks for the quick help and moral support. i appreciate it
best,
adam



hi Derek, Dave
thanks for the responses

Derek Keller wrote:
maybe make sure permissions are correct for .htaccess and that allowoverride is properly specified for the directory in the second apache virtual host config.

the permissions for /wiki/.htaccess and /pmwiki/.htacess are both set to 644
how do i tell if allowoverride is specified?

DaveG wrote:
Where are the .htaccess files stored? It might help to know the *paths* that you installed pmwiki under rather than the domain- names, but reading the .htaccess it seems it should be stored in the root -- ie, above where pmwiki is stored. This would be tricky if you have something like this (which I suspect you do):
\
|--->pmwiki
|--->wiki


in my case, it's
/pmwiki
&
/wiki

with '/' meaning '/home/username/public_html/'

each of those folders holds its own .htaccess file, which i believe is what's specified on CleanUrls

note that the code in both .htaccess files is exactly the same, except that /wiki/.htaccess contains RewriteBase /wiki instead of RewriteBase /pmwiki.

also note that i can successfully access http://firstWiki.com via:
http://myserver.com/pmwiki/Main/Page
but i cannot successfully access:
http://myserver.com/wiki/Main/Page - it still wants the traditional url

ideas?
thanks
adam


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

Reply via email to