Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki
Mediawiki on CentOS 5, PHP 5.1.6, MySQL 14.12, not working.
 

Index | Next | Previous | View Flat


paleywiener at yahoo

Jun 11, 2008, 1:53 AM


Views: 745
Permalink
Mediawiki on CentOS 5, PHP 5.1.6, MySQL 14.12, not working.

Hello, I installed MediaWiki using yum. The web based
config gave me no errors and the db was populated just
fine. The problem is that when i browse
http://mail.deathstar.net/wiki/ , my page is broken
with no images and no cool layout. I just get a white
background thing with some formatted text.

I did a view src and:
--------------
<a style="background-image:
url(wiki/skins/common/images/wiki.png);"
href="wiki/index.php/Main_Page" title="Visit the Main
Page
------------------
Note that wiki/skins.. does not lie under my Apache
DocumentRoot. Why is the PHP generating a link like
that?

I have a default apache install with:
LoadModule php5_module modules/libphp5.so
Apache: DocumentRoot "/var/www/"

My /var/www/wiki/LocalSettings.php contains:
if( defined( 'MW_INSTALL_PATH' ) ) {
$IP = MW_INSTALL_PATH;

} else {
$IP = '/usr/share/mediawiki';
}

$wgScriptPath = "wiki"; (because this should be
relative to my Apache DocumentRoot [URL base path])
-------------------------------------------------------

Could someone help me figure out what needs to be done
to gett his to work?? Should i create an Apache Alias
for wiki/skins ??







_______________________________________________
MediaWiki-l mailing list
MediaWiki-l[at]lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Subject User Time
Mediawiki on CentOS 5, PHP 5.1.6, MySQL 14.12, not working. paleywiener at yahoo Jun 11, 2008, 1:53 AM
    Re: Mediawiki on CentOS 5, PHP 5.1.6, MySQL 14.12, not working. dan_the_man at telus Jun 11, 2008, 2:40 AM
        Re: Mediawiki on CentOS 5, PHP 5.1.6, MySQL 14.12, not working. paleywiener at yahoo Jun 11, 2008, 3:46 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.