In the description of the changes in httpd.conf, the following sequence of characters appear:
DOCUMENT_ROOT
Is it somehow related with variable $wg used in the LocalSetting.php? Should this sequence of characters be replaced to something specific for my computer or it should be copypasted as is?
As I understand, in order to provide the Short URL, the following lines should be added to httpd.conf
## http://www.mediawiki.org/wiki/Manual:Short_URL/Apache # Enable the rewrite engine RewriteEngine On # Short url for wiki pages RewriteRule ^/?wiki(/.*)?$ %{DOCUMENT_ROOT}/w/index.php [L] # Redirect / to Main Page RewriteRule ^/*$ %{DOCUMENT_ROOT}/w/index.php [L]
Should I add these lines at the end of file httpd.conf ? Domitori (talk) 12:40, 12 April 2013 (UTC)
P.S.: 'DOCUMENT_ROOT' is The document root directory under which the current script is executing, as defined in the server's configuration file.