I did what you asked and it showed me nothing realted to that particular rewrite rule.
Originally Posted by webizen
pls enable rewrite logging in httpd.conf by adding following in the vhost section
Then do 'grep "REWRITE" /usr/local/apache/logs/error_log' to see if it is the case.
AFAIR on DirectAdmin based servers LSWS was accepting rewrite rules only in two places:
Nowhere in between.
AFAIS the case is that when user has his own rules in public_html,
any other rewrite rules ( like the one above GEOIP based which we use ) placed in /home/username/.htaccess
doesn't work - although you may still insert for ex. deny/allow rules there and they will be taken into consideration.
Moving users .htaccess file outside public_html ( just for testing ) resolves this issue and this rewrite rule start beeing debuged ( and in fact triggered ) correctly by LSWS.
Last edited by poirot; 06-09-2013 at 04:49 PM..