Hello today i install wordpress with your tutorial.
https://www.digitalocean.com/community/tutorials/how-to-install-mediawiki-on-ubuntu-12-04

I got following error
The requested URL /mediawiki/index.php was not found on this server.

192.168.1.133/mediawiki/index.php - don’t work and i don’t know why.

I was installing media wiki on my debian server jessie.
All was very well except this.

Thank you for your help.

Regards

netsys

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

The tutorial you used is not written for Debian Jesse. As it is geared towards Ubuntu 12.04, the default web root for apache is shown as /var/www. On Ubuntu 14.04 and newer and Debian 8 (jesse) and newer the default web root is now /var/www/html

  • is some way to fix it ?

    • Yes. You will simply need to change the symlink you created while following that tutorial and replace it with an updated one.

      unlink /var/www
      mkdir /var/www
      ln -s /etc/mediawiki /var/www/html
      

      The first line should remove the symlink.
      The second line will make the /var/www directory (that was previously a symlink)
      The third line will create a new symlink using the /var/www/html location instead of the outdated /var/www one.

Submit an Answer