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.
I have an .htaccess file there to point to the wiki using a Redirect.
Redirect /index.html http://www.trunker.org/wiki/
Should it be something else?
Works for me (set the rewrite rules & $wgScoiptPath correctly)
$wgScriptPath is set to "wiki/"
$wgScriptPath = "/wiki";
What rewrite rules are you using? ---- 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
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]
On 21/05/07, mediawiki@wpascanner.com mediawiki@wpascanner.com wrote:
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.
I have an .htaccess file there to point to the wiki using a Redirect.
Redirect /index.html http://www.trunker.org/wiki/
Should it be something else?
Works for me (set the rewrite rules & $wgScoiptPath correctly)
$wgScriptPath is set to "wiki/"
$wgScriptPath = "/wiki";
What rewrite rules are you using?
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!
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
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
Set $wgScriptPath in LocalSettings.php to /wiki
On 25/05/07, mediawiki@wpascanner.com mediawiki@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!
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l
On Fri, 25 May 2007 13:13:56 +0100, in alt.software.mediawiki you wrote:
Set $wgScriptPath in LocalSettings.php to /wiki
Already set to that:
$wgScriptPath = "/wiki";
---- 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@lists.wikimedia.org