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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > [solved] custom global 404 error with interworx

Reply
 
Thread Tools Display Modes
  #1  
Old 06-14-2012, 05:00 PM
bangsters bangsters is offline
Member
 
Join Date: Dec 2011
Posts: 40
Default [solved] custom global 404 error with interworx

Hi.

We are using litespeed with interworx. We can change the 404 error document from within each end user.

How do we change it globally? We want to replace the default 404 page? The end users will still have the option of customizing their 404 via .htaccess. Globally though, how?

EDIT:

by the way, already came across this post, but I cannot find an errordocument.conf. We are using interworx with cloudlinux, and litespeed i using httpd.conf:

http://www.litespeedtech.com/support...80&postcount=4

Last edited by NiteWave; 06-21-2012 at 05:59 PM..
Reply With Quote
  #2  
Old 06-15-2012, 07:40 PM
bangsters bangsters is offline
Member
 
Join Date: Dec 2011
Posts: 40
bump please.

thanks!!
Reply With Quote
  #3  
Old 06-19-2012, 11:33 AM
bangsters bangsters is offline
Member
 
Join Date: Dec 2011
Posts: 40
bump again please. trying to set a default global 404 for our server running litespeed.

how can we accomplish this
Reply With Quote
  #4  
Old 06-20-2012, 02:54 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
/usr/local/interworx/etc/httpd/httpd-custom.conf

ErrorDocument 404 /path/to/custom404.html
Reply With Quote
  #5  
Old 06-20-2012, 12:31 PM
bangsters bangsters is offline
Member
 
Join Date: Dec 2011
Posts: 40
Thanks as always!!
Reply With Quote
  #6  
Old 06-23-2012, 01:15 PM
bangsters bangsters is offline
Member
 
Join Date: Dec 2011
Posts: 40
@webizen: Can Litespeed use php as an errordocument?

I added a custom 404 in the httpd.conf file. If I use filename.php it doesn't get recognized, but if I use filename.html it works just fine.

I want to use PHP so I can put custom php coding.

Please advice.

Thanks
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 01:34 PM.



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