Download
Blog
Wiki
Forum
Store
Contact
Home
Products
Web Server
Load Balancer
LiteSpeed SAPI
Solutions
Web Hosting
Online Gaming
PHP Application
Rails Hosting
Case Studies
Resources
Documentation
White Papers
Benchmarks
Testimonials
FAQ
HOW-TOs
Support
Services
Wiki
Forum
Company
About
News
Blog
Management
Partners
Careers
Support
Services
Wiki
Forum
User Name
Password
Remember Me?
Register
FAQ
Members List
Calendar
Search
Today's Posts
Mark Forums Read
LiteSpeed Support Forums
>
LiteSpeed Web Server
>
Install/Configuration
>
[Solved] Custom error page
Thread Tools
Display Modes
#
1
12-15-2010, 02:01 AM
DoM
Senior Member
Join Date: Sep 2010
Posts: 123
[Solved] Custom error page
Hi,
from where i can modify error page like code 403,404,500 and so on ?
Litespeed does not take automatically error page configured from cPanel/WHM ?
Waiting for your reply
Regards
DoM
View Public Profile
Send a private message to DoM
Find all posts by DoM
#
2
12-15-2010, 03:23 AM
NiteWave
LiteSpeed Staff
Join Date: Sep 2009
Posts: 2,218
lsws support ErrorDocument directive.
as long as ErrorDocument in httpd.conf or .htaccess, lsws will pick them up.
NiteWave
View Public Profile
Send a private message to NiteWave
Find all posts by NiteWave
#
3
06-26-2012, 04:55 AM
itdungpt
Member
Join Date: Jun 2012
Posts: 11
i want default for all account. don't want use .htaccess
itdungpt
View Public Profile
Send a private message to itdungpt
Find all posts by itdungpt
#
4
06-26-2012, 11:28 AM
webizen
LiteSpeed Staff
Join Date: Oct 2010
Posts: 2,337
for system wide default, you can configure ErrorDocument in httpd.conf or a conf file included by httpd.conf.
webizen
View Public Profile
Send a private message to webizen
Find all posts by webizen
#
5
06-27-2012, 04:05 PM
bangsters
Member
Join Date: Dec 2011
Posts: 40
webizen, for system wide, does litespeed recognize php files for 404 errordocs?
i have tweaked mine, it takes html files, but not php files.
bangsters
View Public Profile
Send a private message to bangsters
Find all posts by bangsters
#
6
06-27-2012, 05:15 PM
webizen
LiteSpeed Staff
Join Date: Oct 2010
Posts: 2,337
Quote:
Originally Posted by
bangsters
webizen, for system wide, does litespeed recognize php files for 404 errordocs?
i have tweaked mine, it takes html files, but not php files.
It should. what does your php file look like?
webizen
View Public Profile
Send a private message to webizen
Find all posts by webizen
#
7
06-27-2012, 08:33 PM
bangsters
Member
Join Date: Dec 2011
Posts: 40
Quote:
Originally Posted by
webizen
It should. what does your php file look like?
regular php file. the guys at interworx managed to fix it. needed to add the following the the httpd.conf file just above the errordocument line
AddHandler php5-script .php
AddType text/html .php
bangsters
View Public Profile
Send a private message to bangsters
Find all posts by bangsters
«
Previous Thread
|
Next Thread
»
Thread Tools
Show Printable Version
Email this Page
Display Modes
Linear Mode
Switch to Hybrid Mode
Switch to Threaded Mode
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 Rules
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
General
News
Use Cases
LiteSpeed Web Server
General
Install/Configuration
LiteSpeed Cache
Feedback/Feature Requests
Bug Reports
LSWS 4.1 Release
LiteSpeed Load Balancer
General
LiteSpeed Anti-DDoS
Proxy Service
Popular web applications
Word Press
vBulletin Forum
Joomla
Magento
External Applications
Apache Migration/Compatibility
Ruby/Rails
PHP
CGI/Perl/Python
Java JSP/Servlet
All times are GMT -7. The time now is
08:27 AM
.
-
Archive
-
Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved.
Privacy Policy
.