Location-based error pages

Discussion in 'General' started by Marcus, Sep 12, 2008.

  1. Marcus

    Marcus New Member

    Hi,

    Is it possible to have customized error pages based on the location in Litespeed? By this I mean e.g.

    /search > 404=/errors/search_error.php
    404=/errors/general_error.html

    Is this possible through .htaccess files? What is the typical performance penalty for using .htaccess files? Is there a way to load the .htaccess files just once, and not check them each time a page is requested?

    Thanks.
  2. mistwang

    mistwang LiteSpeed Staff

    You should be able to override the error document via .htaccess.
    LiteSpeed's .htaccess implement is the most efficient with cache.

Share This Page