Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

MediaWiki in subdirectory

$
0
0
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!

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>