rewrite for missing files

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

  1. ofsen

    ofsen New Member

    Hi,

    I have a rewrite rule for missing files like:

    RewriteCond %{SCRIPT_FILENAME} !-f
    RewriteCond %{SCRIPT_FILENAME} !-d
    RewriteRule (.*) http://www.xxxxx.com/system_scripts/missingImage.php?ft=$1 [L]

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

    mistwang LiteSpeed Staff

    The same rule works with LSWS.

Share This Page