User:Dantman/Server Config Notes

Apache

 * RewriteRules support a useful %{DOCUMENT_ROOT} variable.
 * Alias does not support %{DOCUMENT_ROOT}.
 * Need to double check whether RewriteRule supports %{DOCUMENT_ROOT} when in Apache config instead of .htaccess.

Basic .htaccess base:

Line to redirect the root to the wiki (if it's blank):

Case needed for root urls:

Doesn't work with root ruls, you'll need to use rewrite rules in-config.

Nginx

 * Don't know how to efficiently reproduce the Apache IE6 fix in Nginx.