Rewrite issues

Discussion in 'General OpenLiteSpeed Discussion' started by jivy26, Aug 12, 2017.

  1. jivy26

    jivy26 New Member

    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
     
  2. lsfoo

    lsfoo Administrator

    Hi @jivy26

    Are you still experiencing these errors?

    Cheers,
    Kevin
     
  3. jivy26

    jivy26 New Member

    Yes but my understanding is they are not supported in OLS.
     

Share This Page