[Mediawiki-l] Cpanel Add on Domains and Media Wiki

Gary Kirk gary.kirk at gmail.com
Fri May 25 12:13:56 UTC 2007


Set $wgScriptPath in LocalSettings.php to /wiki



On 25/05/07, mediawiki at wpascanner.com <mediawiki at wpascanner.com> wrote:
> On Mon, 21 May 2007 19:53:11 +0100, in alt.software.mediawiki you wrote:
>
> >The .htaccess is in the directory which contains the directory within
> >which MediaWiki's files are - for add-on domains, not *the*
> >public_html itself.
> >
> >Mine is:
> >RewriteEngine On
> >RewriteCond %{REQUEST_FILENAME} !-f
> >RewriteCond %{REQUEST_FILENAME} !-d
> >RewriteRule ^wiki/(.*) w/index.php?title=$1 [PT,L,QSA]
> >RewriteRule ^wiki/*$ wiki/ [L,QSA]
>
> Thanks, but this doesn't resolve my problem.
>
> dir tree:
>
> main domain root
>
>  /public_html/
>    main domains stuff
>      /trunker
>        /wiki
>
> trunker is the directory the add on domain uses.
>
> If I goto http://www.trunker.org/wiki
>
> I can get the main page and any pages under :SpecialPages
>
> Clicking on a link on any thing else trys to go to urls"
>
> http://www.trunker.org/trunker/wiki/......
>
> its the EXTRA /trunker/ fubar'ng things up.
>
> CPanel and/or Apache seems to be adding this in some place for some reason.
>
>
> ----
> Support your LOCAL scanner frequency site and groups!
> http://www.wpascanner.com http://www.tampascanner.info
> http://www.trunker.info - Trunker support
> http://groups.yahoo.com/group/800_MHz_Rebanding_scanners/ - Rebanding for
> SCANNERS ONLY!
> -------------------------------------------------------
> http://www.gulfcoastdish.net
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at lists.wikimedia.org
> http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
>


-- 
Gary Kirk



More information about the MediaWiki-l mailing list