LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   LSWS 4.1 Release (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=26)
-   -   404 Not Found (http://www.litespeedtech.com/support/forum/showthread.php?t=2937)

muiruri 04-29-2009 06:26 AM

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

auser 04-29-2009 06:51 AM

is it this one?

select one Virtual Host->
General->
Customized Error Pages

muiruri 04-29-2009 08:17 AM

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

auser 04-29-2009 08:25 AM

Quote:

Originally Posted by muiruri (Post 14916)
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"

muiruri 05-05-2009 12:08 PM

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"

mistwang 05-05-2009 04:49 PM

If you use LiteSpeed with Apache httpd.conf, you just use the "ErrorDocument" directive to set your error page.

brrr 05-06-2009 10:36 AM

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.

muiruri 05-07-2009 07:04 AM

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

brrr 05-07-2009 01:50 PM

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.

bhanuprasad1981 05-22-2009 09:05 AM

i don't see any virtual host in my configuration ? my litespeed was installed by data center guys any help ?


All times are GMT -7. The time now is 01:46 AM.