Thread:Extension talk:Simple Farm/Modifying .htaccess

The extension page lists this as the content for .htaccess

RewriteEngine on RewriteCond %{REQUEST_FILENAME} wiki$ RewriteRule ^/?wiki/(.*)$ - [E=REQUEST_FILENAME_W:%{DOCUMENT_ROOT}/w/$1] RewriteCond %{ENV:REQUEST_FILENAME_W} -d [OR] RewriteCond %{ENV:REQUEST_FILENAME_W} -f RewriteRule ^/?wiki/(.*)$ /w/$1 [PT,L,QSA] RewriteRule ^/?wiki/[Ii]ndex\.php/(.*)$ /w/index.php?title=$1 [PT,L,QSA,B] RewriteRule ^/?wiki/(.*)$ /w/index.php?title=$1 [PT,L,QSA,B] RewriteRule ^/?wiki$ /w/index.php [PT,L,QSA,B] RewriteRule ^/?images/(.*)$ /w/images/$1 [PT,L,QSA,B] RewriteRule ^wiki/images/(.*)$ /w/images/$1 [PT,L,QSA,B] RewriteCond %{REQUEST_URI} ^/$ RewriteRule ^/?$ /w/index.php
 * 1) (c) 2011-2012 by Stephan Jauernick (http://stejau.org)
 * 2) Distributed under ISC license
 * 1) crazy magic:
 * 2) this piece checks if we have mess with wiki stuff
 * 1) next rule sets a env var to a value which can be used to check if files are in shared code base
 * 1) check if file is existent in shared code base
 * 1) if so: rewrite
 * 1) standard rewrite magic:

And I have the domain.tld/pagename setup. (yourwiki.mywiki.ssu.lt)

I changed it to this but it doesn't work.

RewriteEngine on
 * 1) (c) 2011-2012 by Stephan Jauernick (http://stejau.org)
 * 2) Distributed under ISC license

RewriteCond %{REQUEST_FILENAME} wiki$ RewriteRule ^/?(.*)$ - [E=REQUEST_FILENAME_W:%{DOCUMENT_ROOT}/$1] RewriteCond %{ENV:REQUEST_FILENAME_W} -d [OR] RewriteCond %{ENV:REQUEST_FILENAME_W} -f RewriteRule ^/?(.*)$ /$1 [PT,L,QSA]
 * 1) crazy magic:
 * 2) this piece checks if we have mess with wiki stuff
 * 1) next rule sets a env var to a value which can be used to check if files are in shared code base
 * 1) check if file is existent in shared code base
 * 1) if so: rewrite

RewriteRule ^/?[Ii]ndex\.php/(.*)$ /index.php?title=$1 [PT,L,QSA,B] RewriteRule ^/?(.*)$ /index.php?title=$1 [PT,L,QSA,B] RewriteRule ^/?$ /index.php [PT,L,QSA,B] RewriteRule ^/?images/(.*)$ /images/$1 [PT,L,QSA,B] RewriteRule ^wiki/images/(.*)$ /images/$1 [PT,L,QSA,B] RewriteCond %{REQUEST_URI} ^/$ RewriteRule ^/?$ /index.php
 * 1) standard rewrite magic:

Do you know what I should change it to?