Hello
I just installed the trial version of the enterprise product. My organization is looking for an efficient way to run both PHP4 and PHP5 sites on a single server, and Litespeed allows us to do this easily, with additional performance and security.
Upon installation, however, we've noticed some of our custom mod_rewrite rules are no longer functioning:
Explained quickly: If a URL is accessed that doesn't have a an existing file, it's handled by index.php in the root folder.
All seems to be working, except for the /index.php call at the end of the DirectoryIndex directive. On Apache, when a URL that ends with a / slash is requested, and no index file is found, the index.php script in the root folder is called.
As I mentioned, this works well with Apache, but doesn't seem to work with Litespeed.
Any advice is appreciated.
I just installed the trial version of the enterprise product. My organization is looking for an efficient way to run both PHP4 and PHP5 sites on a single server, and Litespeed allows us to do this easily, with additional performance and security.
Upon installation, however, we've noticed some of our custom mod_rewrite rules are no longer functioning:
Code:
RewriteEngine On
RewriteBase /
DirectoryIndex index.php index.html index.htm default.htm default.html /index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php [L]
All seems to be working, except for the /index.php call at the end of the DirectoryIndex directive. On Apache, when a URL that ends with a / slash is requested, and no index file is found, the index.php script in the root folder is called.
As I mentioned, this works well with Apache, but doesn't seem to work with Litespeed.
Any advice is appreciated.