I have precisely the same setup. I have the add-on domain set to directory - let's call it /test - and inside test I have /wiki, which contains MediaWiki. /test is treated like public_html so put a .htaccess file there. Works for me (set the rewrite rules & $wgScoiptPath correctly)
On 20/05/07, mediawiki@wpascanner.com mediawiki@wpascanner.com wrote:
I am having problems with the setup of a MediaWiki site
Host: hostgator
I have a main domain and then another domain thats being used as an add on domain since HG allows unlimited domains on one plan.
Installing the wiki to the host all is fine, TILL I try to use the domain for the site.
http://www.addon.invalid (.htaccess redirects to /wiki sub dir)
http://www.addon.invalid/wiki/
Are FINE for the MAIN PAGE and Special Pages, but any thing else on the wiki gets urls like:
http://www.addon.invalid/addon/wiki/.....
Which just FUBAR's things up royally, taking out the extra /addon/ in the URL's things come up fine. And the problem is present with or with out the .htaccess redirect
Using: http://www.maindomain.invalid/addon/wiki
Works for all pages, but has no "skin" to it.
A post on some MW sites mentioned $WScriptPath, but that is set to what the post indicated corrected the problem wiki/
Possibly Mod Rewrites to resolve this? ? ?
Any one else deal with this issue as I think its Apache & CPanel causing this problem of adding in the /addon/ to the links past the main page and special pages.
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l