[Pmwiki-users] clean PmWiki URL

Patrick R. Michaud pmichaud
Sun Dec 19 22:53:33 CST 2004


Ooops, I thought I had put this in the cookbook already but obviously
I didn't.  Take a look at http://pmichaud.com/pipermail/pmwiki-users_pmichaud.com/2004-December/008473.html  for instructions on using mod_rewrite
to get cleaner URLs.

I'll add this to the cookbook immediately.

Pm


On Mon, Dec 20, 2004 at 03:48:04AM +0100, Sergio Andreozzi wrote:
> Actually I have some problem to solve with this solution.
> 
> View/edit/print of any wiki page causes the view/edit/print of the 
> Main/HomePage.
> 
> Sergio Andreozzi wrote:
> >Hello,
> >
> >I found out several posts and pages about how to get clean urls in 
> >pmwiki.php, but a cookbook page has still to appear for pmwiki 2.
> >
> >I'd like to contribute my experience so far, that is a mixture of the 
> >following links:
> >
> >http://contra.vosn.net/pipermail/pmwiki-users_pmichaud.com/2004-March/003774.html 
> >
> >http://solaroof.org/pmwiki6/pmwiki.php/PmWiki/ChangePmWikiURL
> >
> >This seems to work for pmwiki 2.0beta10:
> >
> >1. Installation directory for pmwiki:
> >
> >/DOCUMENTROOT/home/
> >
> >(therefore I have /DOCUMENTROOT/home/pmwiki.php as the full path)
> >
> >my wiki is accessible at http://mysite.com/home/pmwiki.php
> >
> >2. create .htaccess file in /DOCUMENTROOT/home/ which content is
> 
> this is actually created in /DOCUMENTROOT
> 
> >
> >RewriteEngine on
> >RewriteRule ^([A-Z].*) /home/pmwiki.php/$1 [L]
> >
> >3. change config.php as:
> >
> >$ScriptUrl = 'http://mysite.com';
> >$EnablePathInfo = 1;
> >
> >
> >with this I can see my wiki pages at http://mysite.com/group/name and 
> >edit/print them. To be checked the upload functionality.
> >
> >
> 
> Sergio
> 
> -- 
> Pmwiki-users mailing list
> Pmwiki-users at pmichaud.com
> http://pmichaud.com/mailman/listinfo/pmwiki-users_pmichaud.com



More information about the pmwiki-users mailing list