• I installed the plugin. I activated the AlterHTML. It probably works well. But how can I overwrite your Apache rules for lighttpd?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter border

    (@border)

    url.rewrite-if-not-file = (
     "^/(wp-.+).*/?" => "$0",
     "^/images/.*/?" => "$0",
     "^/temp/.*/?" => "$0",
     "^/keyword/([A-Za-z_0-9\-]+)/?$" => "/index.php?keyword=$1",
     "^/.*?(\?.*)?$" => "/index.php$1"
     )
    
    server.modules += ( "mod_expire" )
    $HTTP["url"] =~ "\.(jpe?g|gif|png|webp|css|js)$" {
         expire.url = ( "" => "access 180 days" )
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Lighttpd rewrite rules’ is closed to new replies.