RewriteRule config does not inherit so don't put these config options in the global config if you are using a VirtualHost.I'm trying to run a simple CGI perl script (see below) using Apache on my Macbook running OS X Lion and I'm having difficulty getting it to run even the simplest of scripts. If you do have one then that is the location where your rewrite rules will go. In an Apache config file you will likely have a VirtualHost block containing your wiki. Note that it used to be named nf, if you have a nf and no nf then nf is the one you want to edit. It is disabled by default in Ubuntu 12.04 and Ubuntu 12.10.
If you haven't set one up and are using the default /var/www for your wiki setup then you can edit /etc/apache2/sites-available/default. The correct config file to edit is the one in /etc/apache2/sites-available/ where the configuration for your wiki has been setup. htaccess files is less efficient and doesn't give you as much control when it comes to fancy setups with multiple domains but they are powerful enough to set up most short url configurations. If you are on a shared host, you most likely don't and will need to use a. This requires that you have access to the server configuration. If you don't know what webserver you're using since you're using some sort of web hosting service, it's very likely that your host is using Apache.
For information on what Short URLs are or to get instructions on configuration for other servers see Руководство:Удобные URL-адреса. The LiteSpeed webserver is Apache compatible and can be configured in relatively the same way.