LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Location-based error pages

Reply
 
Thread Tools Display Modes
  #1  
Old 09-12-2008, 03:31 PM
Marcus Marcus is offline
Senior Member
 
Join Date: Feb 2007
Posts: 69
Default Location-based error pages

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.
Reply With Quote
  #2  
Old 09-13-2008, 03:24 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
You should be able to override the error document via .htaccess.
LiteSpeed's .htaccess implement is the most efficient with cache.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 08:05 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.