Topic on Project:Support desk

Asking help for understanding Manual:Short URL to get rid of another 404 page not found

4
Yolo33s (talkcontribs)

Hello,

I'm migrating a 1.21 mediawiki version to a ubuntu 16.04 LTS server with apache2.

In my LocalSettings.php, the $wgScriptPath variable is set to "/var/www/wiki" which is actually the good path to mediawiki installation folder and the $wgArticlePath variable is set to '$wgScriptPath/$1' accordingly to what I saw on other topics.

My apache sites-available conf file has the good path to /var/www/wiki.

Note that I don't have .htaccess file but it works well on the server from which I copied sources.

However, when I write the website URL in my browser, I get a 404 error telling me the home page is not found.

So I tried to follow the process of URL rewriting explained in the Manual:Short URL but the newbie I am did not succeed.

Can you help me setting this up ?

Thx.

AhmadF.Cheema (talkcontribs)
Swennet (talkcontribs)
Yolo33s (talkcontribs)

Thank you for replying, Ahmad and Swennet. As I wrote in the title, I tried Manual:Short URL/Apache but don't succeed at properly configure my settings. The redwerks tool seems cool but I'm working on a localhost website. Anyway, I finally got help from more experience people and I'm experiencing new problems with upgrade now :).