Hi, this is my first post, thank you for looking.
I have uploaded the wikimedia 1.3.11 installation files to my server and chmodded my config directory to 777. I access my site:
However, when I click the link to the config page I am taken to here:
http://www.paperheadache.com:2222/
I suppose this might not be much of a problem except that I am using virtual web hosting and that latter address takes me to my DirectAdmin site log-in.
Forgive me if this is an easy question, but I am at a loss how to circumvent this or if I will not be able to use the Wikimedia installer. I appreciate any insight.
Pieter Konink wrote:
However, when I click the link to the config page I am taken to here:
http://www.paperheadache.com:2222/
I suppose this might not be much of a problem except that I am using virtual web hosting and that latter address takes me to my DirectAdmin site log-in.
If your hosting takes over the /config directory and you can't prevent this, you can rename it to another directory. You'll have to make a couple tweaks to config/index.php to change 'config' to the new dir:
index.php:318:$conf->ScriptPath = preg_replace( '{^(.*)/config.*$}', '$1', $_SERVER["REQUEST_URI"] ); index.php:411: chdir( "config" ); index.php:515: chdir( "config" ); index.php:677: $exit = urlencode( "$wgServer{$conf->ScriptPath}/config/index.php?License=cc&RightsUrl=[license_url]&RightsText=[license_name]&RightsCode=[license_code]&RightsIcon=[license_button]" );
-- brion vibber (brion @ pobox.com)
Thank you very much, it worked perfectly!
Brion Vibber wrote:
Pieter Konink wrote:
However, when I click the link to the config page I am taken to here:
http://www.paperheadache.com:2222/
I suppose this might not be much of a problem except that I am using virtual web hosting and that latter address takes me to my DirectAdmin site log-in.
If your hosting takes over the /config directory and you can't prevent this, you can rename it to another directory. You'll have to make a couple tweaks to config/index.php to change 'config' to the new dir:
index.php:318:$conf->ScriptPath = preg_replace( '{^(.*)/config.*$}', '$1', $_SERVER["REQUEST_URI"] ); index.php:411: chdir( "config" ); index.php:515: chdir( "config" ); index.php:677: $exit = urlencode( "$wgServer{$conf->ScriptPath}/config/index.php?License=cc&RightsUrl=[license_url]&RightsText=[license_name]&RightsCode=[license_code]&RightsIcon=[license_button]"
);
-- brion vibber (brion @ pobox.com)
Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
wikitech-l@lists.wikimedia.org