Welcome! Log In Create A New Profile

Advanced

MediaWiki in subdirectory

Posted by LPH 
LPH
MediaWiki in subdirectory
December 17, 2013 12:23AM
Hi,

I'm very new to Nginx - having tried it a few months ago and finally went live this weekend with my first full attempt. Sadly, the server block for the mediawiki portion of the site is not working. The example blocks are for subdomains. I'd like this to work as a subdirectory.

domain.com/alv/index.php/Main_Page loads blank and doesn't roll appropriately when /alv is loaded in the browser.

location /alv/ {
try_files $uri $uri /w/index.php?query_string;
}

Is there sample code somewhere available for subdirectory installations?

Thank you!
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 156
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready