rewrite

  1. S

    Rewrite Map config appears in Rewrite Rules once saved

    v1.4.30. When I add something to the Rewrite Map field and save it, appears in Rewrite Rules section. I guess this is happening because the rewrite rules are not being saved in correct format?
  2. S

    rewrite Rules creates malformed config

    v1.4.30. In admin panel, Virtual Host > Rewrite, when I add Rewrite Rules, it creates malformed rules in vhconf.conf. For example, when I add "rewriteFile /vagrant/.htaccess" to the admin ui interface and save, then it creates: rewrite { enable 1 logLevel...
  3. A

    Context help needed

    I've recently installed OpenLiteSpeed and have been trying to transfer everything over from a shared host. I'm trying to turn my .htaccess files into working contexts but haven't been able to work out how to do so, if I visit my website it always returns a 404. Is anyone able to point me in the...
  4. tjk

    Moving from nginx, have some questions

    Hey All, Coming from the nginx world, I've been playing with OLS due to the faster php processing. Two questions: 1. One of the apps I am testing, uses a .htaccess in a ton of directories that simply has "deny from all" in it. Where/what is the proper way through OLS to protect these...
  5. Mohsen Ghiasi

    How to block access to xmlrpc.php file?

    Hello I use this code in httpd.conf to block access to xmlrpc.php file that kills many wordpress based websites every day ;-) <FilesMatch "^(xmlrpc\.php|wp-trackback\.php)"> Order Deny,Allow Deny from all </FilesMatch> Is it possible to add a rewrite rule to block access to some files like...
Top