rewrite for missing files

Discussion in 'Install/Configuration' started by ofsen, Jul 28, 2008.

  1. ofsen

    ofsen New Member


    I have a rewrite rule for missing files like:

    RewriteCond %{SCRIPT_FILENAME} !-f
    RewriteCond %{SCRIPT_FILENAME} !-d
    RewriteRule (.*)$1 [L]

    This means that if the file or directory is not valid redirect to Is there way to achive this in litespeed?
  2. mistwang

    mistwang LiteSpeed Staff

    The same rule works with LSWS.

Share This Page