I got this to work as
#Redirect all pages that are requested from http://answerweb.mysite.com/XYZ # to http://answerweb.mysite.com/wiki/index.php?title=XYZ
RewriteCond %{SERVER_NAME} answerweb.mysite.com [I] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^/(.*)$ /wiki/index.php?title=$1 [R=301,U,I,L]
Here is the part that is not working, Any ideas?
#Redirect all pages that are requested from http://answerweb.mysite.com/ # to http://answerweb.mysite.com/wiki/index.php?title=Main_Page
RewriteCond %{SERVER_NAME} answerweb.mysite.com [I] RewriteRule ^/$ /wiki/index.php?title=$1 [R,U,I,L]
-----Original Message----- From: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] On Behalf Of Shah, Nikhil Sent: Tuesday, November 13, 2007 10:48 To: MediaWiki-l@lists.wikimedia.org Subject: [Mediawiki-l] Need help with writing rule for Iconics Isapi rewriteFilter
I need help with wriing rule for Iconics Isapi rewrite Filter
I want to write a rule:
http://answerweb.mysite.com/Main_Page translates to http://mainsite/Wiki/index.php?title=Main_Page
(FYI, I have another web page at http://mainsite )
Appreciate your help. You don't have to write it for me ;-) feel free to give me pointers.
Thanks you,
Nikhil _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l