Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm thinking about developing a MediaWiki site. I want to start at localhost. I've never done any web-dev in my life. So I've installed mediawiki thru a synaptic (I'm on Kubuntu 11.10). If I understand it right I has to open index.php in localhost. How can I do it? I tried


but it says "Not found".

P.S. When I open localhost - it says "It works!" and nothing else. I thought it should give me an index of home folder or something like that.

share|improve this question
You don't really expect to be able to access your whole file system via http, do you? – glglgl Nov 14 '11 at 0:04

Your media wiki URL starts from the path specified in your web server configuration, not your file path. In this case, the info is found in mediawiki.conf under /etc/apache2/conf.d directory.

On my own ubuntu server, it looks like I would have to uncomment out this alias in the file:

Alias /mediawiki /var/lib/mediawiki

Which allows me to access the URL from here:

elinks http://localhost/mediawiki

That is probably what you have to do to get it running. Note that it will probably ask you to set it up from that page, so you'll need to review the MediaWiki documentation on how to get that setup from that point on.

share|improve this answer

Oh, I'm stupid, I found the page which explains how this should be done. I wonder we mediawiki docs have skipped these details.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.