From: Steve W. <sw...@pa...> - 2002-03-22 23:29:19
|
This is also addressed in the FAQ: http://phpwiki.sourceforge.net/phpwiki/PrettyWiki On Thu, 21 Mar 2002, Patrik Wallstrom wrote: > On Thu, 21 Mar 2002, John Kershaw wrote: > > > Hi, > > > > I've can set up my wiki to use URLs of the form: > > > > http://www.somehost.com/wiki/PageName > > > > but I'd like to lose the /wiki and just have; > > > > http://www.somehost.com/PageName > > > > How do I do it? > > I just did that yesterday, you have to use mod_rewrite: > > <VirtualHost 12.34.56.78> > ServerName name.site.com > DocumentRoot /html/name.site.com > CustomLog logs/name.site.com.log combined > #for wiki > RewriteEngine on > RewriteRule (^/themes.*) $1 [L] > RewriteRule (^/.*\.css$) $1 [L] > RewriteRule ^/(.*)$ /index.php?pagename=$1 [QSA,NC,L] > </VirtualHost> > > However, this doesn't work with the form POST methods for the site, > anybody knows how to solve this? > > I used version 1.3.3 for this. > > There are probably other ways of solving this as well. Is this > documented somewhere? > > -- > patrik_wallstrom->foodfight->pa...@bl...->+46-709580442 > > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk > > > > --- http://www.panix.com/~swain/ "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." -- Frank Zappa |