[Mediawiki-l] "Missing Image" instead of <img/>
Björn Voigt
bvoigt at hs-harz.de
Thu May 27 11:01:29 UTC 2004
Hello list,
I have installed a mediawiki on my server to mirrow wikipedia.
I am unsing the mysql dump file and I can see all articles, but i
wont serve the images on my server.
Every time I request a Article from my server, I get Missing Image
instead of the <img/> in html code. How can I configure that, there
no Warning?
Im Using mediawiki 1.2.5
Thank you for help
Björn
apache http.conf is
<VirtualHost 192.168.0.103:80>
ServerAlias de.test.org
ServerName de.test.org
DocumentRoot /home/test/sourcen/wikimedia_de
# <Directory /home/test/sourcen/wikimedia_de >
# Order Deny,Allow
# Deny from All
# Allow from 192.168.0.103
# </Directory>
RewriteEngine On
RewriteCond %{REQUEST_URI} !^/(stylesheets|upload)/
RewriteCond %{REQUEST_URI} !^/(redirect|texvc|index)\.php
RewriteCond %{REQUEST_URI} !^/error/(40(1|3|4)|500)\.html
RewriteCond %{REQUEST_URI} !^/favicon\.ico
RewriteCond %{REQUEST_URI} !^/robots\.txt
RewriteRule ^/w/wiki.phtml$ /wiki.phtml [L]
RewriteRule ^/wiki/(.*)$ /wiki.phtml?title=$1 [L]
RewriteRule ^/wiki$ /wiki.phtml
</VirtualHost>
LocalSettings are
$wgSitename = "de.test.org";
$wgScriptPath = "";
$wgScript = "/w/wiki.phtml";
$wgRedirectScript = "/wiki/redirect.php";
$wgArticlePath = "/wiki/$1";
$wgStyleSheetPath = "/style";
$wgStyleSheetDirectory = "{$IP}/style";
$wgUploadPath = "/upload";
$wgUploadDirectory = "{$IP}/upload";
$wgLogo = "{$wgUploadPath}/wiki.png";
$wgStockPath = $wgUploadPath;
More information about the MediaWiki-l
mailing list