Mod_Rewrite SiberianCMS

#1
Hi, i would like to install SiberianCMS, config virtualhost:

VirtualHost:

<Directory [/path/to/siberiancms]>
Options Indexes FollowSymLinks
AllowOverride all
</Directory>

.htaccess:

<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule ^(.*)$ index.php [NC,L]

</IfModule>

How could you configure this in OpenLiteSpeed

Regards,
 

Pong

Administrator
#2
openlitespeed doesn't support .htaccess, you can simple copy the rewrites rules ( rewrite rules only, nothing else ) to the virtual host rewrite section in OpenLiteSpeed Admin Console.

RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule ^(.*)$ index.php [NC,L]
 
Top