[wplug] Apache Redirects / Rewrites

Jerod Lycett arenlor at ptd.net
Sun Nov 11 23:28:53 EST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I'm sorry I can't give you the code but I know what you have to do, a .htaccess
in the root of domain.tld using the mod_rewrite to do so, I think basically
along the line of making it pretty like you already do.

Michael Semcheski wrote:
> Hey Everybody,
> 
> I'm trying to setup Apache2 and Mediawiki.  The wiki is to be accessible at:
> domain.tld/wiki/WikiPage
> 
> To do this, I've got some rewrite rules that rewrite
> domain.tld/wiki/WikiPage to domain.tld/wiki/index.php?title=WikiPage
> 
> That seems to be working, and provided it is and everybody's happy,
> then life is good.
> But of course, I want to do a little more.
> 
> What I want to do is redirect requests that aren't to the wiki -
> anything not of the form domain.tld/wiki/(.*)$ to a wiki page of the
> same name.  In other words:
> domain.tld/lists  --> domain.tld/wiki/lists
> 
> Can anyone tell me how to do this, and save me some time?
> 
> Thanks,
> 
> Mike
> _______________________________________________
> wplug mailing list
> wplug at wplug.org
> http://www.wplug.org/mailman/listinfo/wplug
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHN9aE+qUDts/tbJYRAo9JAJ9VRrIk0RKZGGi2hF5a2+qGKpvynwCfXOFj
FsXOujvlTGBoYsrgMXv7Cpc=
=cgW4
-----END PGP SIGNATURE-----


More information about the wplug mailing list