How can I use Multiviews with LiteSpeed web server?

Multiviews is a webserver option directly supported by Apache, but not supported by LiteSpeed. However, you can easily use RewriteCond / RewriteRule to ahieve the same functionality as Multiviews.

If you have a URI that uses PATHINFO, here's how the redirection should work:
/topic/Office/Work ==> /topic.php/Office/Work
/update/Office/Work ==> /update.php/Office/Work/topic-> /topic.php

Here's a code example to implement Multiviews that uses PATHINFO:

# Multiviews example code...use this in a .htaccess file
RewriteEngine On
RewriteCond %{REQUEST_URI} !.+php*
RewriteCond %{DOCUMENT_ROOT}/$1\.php -f
RewriteRule ^([^/]+)/?(.*)$ $1.php/$2 [L]

For more examples on how to do it, please check the following links...

Was this answer helpful?

Also Read
Can I switch between PHP-4 and PHP-5?

Yes, you can easily switch between PHP-4 & PHP-5 anytime you wish. To see how, see the...

What's the Hostname & Port for MySQL?

When configuring any of your scripts on the server, use the following connection info to...

Do you support GD & ImageMagick?

Yes, we do support GD & ImageMagick modules.The module-binaries are located in under this...

Do you have Linux or Windows servers?

All servers at GigaPros run on CentOS Linux. All servers use high performance Intel(R) Xeon(R) 24...

How do I create an Addon Domain?

An Addon Domain is similar to a subdomain and created in much the same way. An Addon Domain has...