Rewrite issues

#1
Hi so I have my site running fine, but I am getting some errors that I am not sure why they are popping and one I am not sure how to address since I have used it when I have dealt with apache.

1st ReWrite error. Wordpress site is running fine with LSWS Cache installed, but getting these two errors in WebAdmin.

2017-08-12 15:14:29.447 ERROR Invalid rewrite directive: CacheLookup Public on
2017-08-12 15:14:29.447 ERROR Invalid rewrite directive: RewriteBase /

2nd ReWrite error. So what I am trying to do with these is secure my /phpmyadmin . The below has worked fine on apache. What I did in this instance to implement it was on Virtual Host I set a static for /phpmyadmin and then set rewrite rules on and then referenced location of .htaccess in phpmyadmin folder. I am getting the below errors.

2017-08-12 15:14:29.447 ERROR Invalid rewrite directive: AuthType Basic
2017-08-12 15:14:29.447 ERROR Invalid rewrite directive: AuthName "Restricted Files"
2017-08-12 15:14:29.447 ERROR Invalid rewrite directive: AuthUserFile /etc/phpmyadmin/.htpasswd
2017-08-12 15:14:29.447 ERROR Invalid rewrite directive: Require valid-user
 
Top