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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > LSWS 4.1 Release > 404 Not Found

Reply
 
Thread Tools Display Modes
  #1  
Old 04-29-2009, 06:26 AM
muiruri muiruri is offline
Member
 
Join Date: Jun 2008
Posts: 32
Default 404 Not Found

Hi George,

I believe sometime back you said LSWS version 4.x would have some menu option to customize error page displayed when URL or link is not found showing following which also displays "litespeed technologies"

---

404 Not Found
The resource requested could not be found on this server! Powered By LiteSpeed Web Server
LiteSpeed Technologies is not responsible for administration and contents of this web site!

---


Regards, Sam
Reply With Quote
  #2  
Old 04-29-2009, 06:51 AM
auser auser is offline
Senior Member
 
Join Date: Mar 2009
Posts: 119
is it this one?

select one Virtual Host->
General->
Customized Error Pages
Reply With Quote
  #3  
Old 04-29-2009, 08:17 AM
muiruri muiruri is offline
Member
 
Join Date: Jun 2008
Posts: 32
Not sure I can find this menu option. If I understand correctly, when I go to LSWS control panel, I select

Configuration -> General -> ?

Is this the place? Do not seem to see "Custom Error Pages" menu option

Regards, Sam
Reply With Quote
  #4  
Old 04-29-2009, 08:25 AM
auser auser is offline
Senior Member
 
Join Date: Mar 2009
Posts: 119
Quote:
Originally Posted by muiruri View Post
Not sure I can find this menu option. If I understand correctly, when I go to LSWS control panel, I select

Configuration -> General -> ?

Is this the place? Do not seem to see "Custom Error Pages" menu option

Regards, Sam
Configuration -->Virtual Hosts-->select one host
then configure it. through its General tab, can see "Customized Error Pages"
Reply With Quote
  #5  
Old 05-05-2009, 12:08 PM
muiruri muiruri is offline
Member
 
Join Date: Jun 2008
Posts: 32
Where do you see "Customized Error Pages" ?

When I go to "Configuration" menu option, there're two menu-rows, the second starts with "General" TAB

Which one specifically do you mean?

I believe or looking for one simple place where we can put something or dissable Litespeed from showing on error "404 not found"
Reply With Quote
  #6  
Old 05-05-2009, 04:49 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
If you use LiteSpeed with Apache httpd.conf, you just use the "ErrorDocument" directive to set your error page.
Reply With Quote
  #7  
Old 05-06-2009, 10:36 AM
brrr brrr is offline
Senior Member
 
Join Date: Aug 2007
Posts: 94
Really, it's very simple to find.

Login to your LSWS Admin page.

Go, using the top menu:
Configuration > Virtual Hosts.

A list of the current Virtual Hosts you have configured on your system comes up.

Find the name of the virtual host (eg Example.com) you want to configure the custom 404 for, then click the 'View/Edit' link on the right hand side of the virtual host's name.

Then you will see a page called 'Virtual Hosts - Example.com' that has about 11 horizontal tabs on it like so:

Basic - General - Log - Security - etc etc

Select the 'General' tab.

There you will then see a section that says: "Customized Error Pages".

Click the 'Add' link to create your own customized error pages (404, 403 etc).

You will need to repeat this procedure for each virtual host.

Last edited by brrr; 05-06-2009 at 10:41 AM..
Reply With Quote
  #8  
Old 05-07-2009, 07:04 AM
muiruri muiruri is offline
Member
 
Join Date: Jun 2008
Posts: 32
Hi George,

When I add following in httpd.conf

Include "/usr/local/apache/conf/includes/errordocument.conf"

So that any site on the server loaded with wrong folder, displays errors from this doc that comes with cpanel

I then restarted both Apache & LSWS

But not picking & still showing;

404 Not Found
The resource requested could not be found on this server! Powered By
-------
LiteSpeed Web Server
LiteSpeed Technologies is not responsible for administration and contents of this web site!

What I'm I missing?

Regards, Sam
Reply With Quote
  #9  
Old 05-07-2009, 01:50 PM
brrr brrr is offline
Senior Member
 
Join Date: Aug 2007
Posts: 94
If you want to specify your error document using Apache http.conf, you need to check the documentation of Apache how to do it properly.

Otherwise, do it via LSWS as indicated in the post above.
Reply With Quote
  #10  
Old 05-22-2009, 09:05 AM
bhanuprasad1981 bhanuprasad1981 is offline
Senior Member
 
Join Date: Apr 2009
Posts: 160
i don't see any virtual host in my configuration ? my litespeed was installed by data center guys any help ?
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 06:36 AM.



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