Htaccess File

roblillack/php-liki-server/master/SAMPLE.htaccess

REQUEST_FILENAME
<IfModule mod_rewrite.c>
RewriteEngine on

RewriteBase /liki
RewriteCond %{REQUEST_FILENAME} -f 
RewriteRule ^.*$ - [L]

RewriteRule ^([^/]*)/?$ liki.php?page=$1 [QSA]
RewriteRule ^([^/]*)/legacy/?$ liki.php?page=$1&legacymode=true [QSA]
RewriteRule ^permalink/([0-9]+)/?$ index.php?action=permalink&revision=$1 [QSA]
</IfModule>
Exit mobile version