
05-07-2012, 11:34 AM
|
|
LiteSpeed Staff
|
|
Join Date: Oct 2010
Posts: 2,389
|
|
to troubleshoot rewrite in general, enable rewritelogging (add 'RewriteLogLevel 9' in vhost httpd.conf and restart lsws to make it effective) to check [REWRITE] entries in error_log.
for rules .htaccess, leading '/' in ^/about$ and ^/(.+)$ should be removed as follows:
Quote:
RewriteRule ^about$ /about.php [L]
RewriteRule ^(.+)$ /index.php?id=$1 [QSA,L]
|
|