Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MediaWiki
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
M1Sports20
Apprentice
Apprentice


Joined: 25 Mar 2004
Posts: 194
Location: Chicago, IL

PostPosted: Wed Jan 26, 2005 2:37 am    Post subject: MediaWiki Reply with quote

I have installed media wiki on my server. I have php, apache, mod_php, mysql, and mediawiki installed and working. I have tested them. mediawiki sends me to a first time config setting to create a file called LocalSettings.php, well this all works(creates files, and db) except no when i try to visit my wiki site and it just times out. Here are my configs

the wiki is installed in /var/www/localhost/htdocs/mediawiki
(this is not public to apache.

my documentroot in apache is
/serv/http/

i created a symbolic link
/serv/http/spradlm/wiki that links to where the wiki is install, (/var/www/.....)

please help... Thank you very much

LocalSettings.php
Code:
}


<?php

# This file was automatically generated by the MediaWiki installer.
# If you make manual changes, please keep track in case you need to
# recreate them later.

$IP = "/var/www/localhost/htdocs/mediawiki";
ini_set( "include_path", ".:$IP:$IP/includes:$IP/languages" );
require_once( "DefaultSettings.php" );

# If PHP's memory limit is very low, some operations may fail.
# ini_set( 'memory_limit', '20M' );

if ( $wgCommandLineMode ) {
        if ( isset( $_SERVER ) && array_key_exists( 'REQUEST_METHOD', $_SERVER ) ) {
                die( "This script must be run from the command line\n" );
        }
else {
        ## Compress output if the browser supports it
        if( !ini_get( 'zlib.output_compression' ) ) @ob_start( 'ob_gzhandler' );
}

$wgSitename         = "MichaelWiki";

$wgScriptPath       = "/spradlim/wiki";
$wgScript           = "$wgScriptPath/index.php";
$wgRedirectScript   = "$wgScriptPath/redirect.php";

## If using PHP as a CGI module, use the ugly URLs
$wgArticlePath      = "$wgScript/$1";
# $wgArticlePath      = "$wgScript?title=$1";

$wgStylePath        = "$wgScriptPath/stylesheets";
$wgStyleDirectory   = "$IP/stylesheets";
$wgLogo             = "$wgStylePath/images/wiki.png";

$wgUploadPath       = "$wgScriptPath/images";
$wgUploadDirectory  = "$IP/images";

$wgEmergencyContact = "spradlim@msoe.edu";
$wgPasswordSender       = "spradlim@msoe.edu";

$wgDBserver         = "localhost";
$wgDBname           = "michaelwiki";
$wgDBuser           = "spradlim";
$wgDBpassword       = "ball38";

## To allow SQL queries through the wiki's Special:Askaql page,
## uncomment the next lines. THIS IS VERY INSECURE. If you want
## to allow semipublic read-only SQL access for your sysops,
## you should define a MySQL user with limited privileges.
## See MySQL docs: http://www.mysql.com/doc/en/GRANT.html
#
# $wgAllowSysopQueries = true;
# $wgDBsqluser        = "sqluser";
# $wgDBsqlpassword    = "sqlpass";

$wgDBmysql4 = $wgEnablePersistentLC = true;

## To enable image uploads, make sure the 'images' directory
## is writable, then uncomment this:
# $wgDisableUploads             = false;
$wgUseImageResize               = true;
# $wgUseImageMagick = true;
# $wgImageMagickConvertCommand = "/usr/bin/convert";

## If you have the appropriate support software installed
## you can enable inline LaTeX equations:
# $wgUseTeX                     = true;
$wgMathPath         = "{$wgUploadPath}/math";
$wgMathDirectory    = "{$wgUploadDirectory}/math";
$wgTmpDirectory     = "{$wgUploadDirectory}/tmp";

$wgLocalInterwiki   = $wgSitename;

$wgLanguageCode = "en";
$wgUseLatin1 = false;


$wgProxyKey = "06b91b5c58b28221e9f8b1a78ee681a759abd6e502f80eaad98dcdbebf5969e8";

## Default skin: you can change the default skin. Use the internal symbolic
## names, ie 'standard', 'nostalgia', 'cologneblue', 'monobook':
# $wgDefaultSkin = 'monobook';

## For attaching licensing metadata to pages, and displaying an
## appropriate copyright notice / icon. GNU Free Documentation
## License and Creative Commons licenses are supported so far.
# $wgEnableCreativeCommonsRdf = true;
$wgRightsPage = ""; # Set to the title of a wiki page that describes your license/copyright
$wgRightsUrl = "";
$wgRightsText = "";
$wgRightsIcon = "";
# $wgRightsCode = ""; # Not yet used

?>

Back to top
View user's profile Send private message
M1Sports20
Apprentice
Apprentice


Joined: 25 Mar 2004
Posts: 194
Location: Chicago, IL

PostPosted: Mon Jan 31, 2005 9:19 pm    Post subject: Reply with quote

I fixed it, my apache config file didn't know the domainname since i didn't have it set. So i added ServerName = www.spradlinghome.cjb.net to my apache config file
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum