From: Patrik W. <pa...@bl...> - 2002-03-21 13:51:52
|
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 |