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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Error 406 After Upgrade to 4.0.1

Reply
 
Thread Tools Display Modes
  #1  
Old 04-11-2009, 12:01 AM
DraCoola DraCoola is offline
Senior Member
 
Join Date: Mar 2009
Posts: 152
Default Error 406 After Upgrade to 4.0.1

After manual upgrade from 4.0 to 4.0.1, I have an error like bellow while execute domain search script :

====================================
406 Not Acceptable

This request is not acceptable
________________________________________
Powered By LiteSpeed Web Server
LiteSpeed Technologies is not responsible for administration and contents of this web site!
=====================================



Switch to mod_suphp and the script just work fine.
Downgrade to 4.0 again still got the same 406 error.
Downgrade to 3.3.24 brought the same error either.
That script has just worked fine before this v4.0.1.





The error log from cpanel is :
----------------------------------------------
[xxx.161.63.xxx:10034-0#APVH_dxxxxx.com] File not found [/home/dxxxxx/public_html/406.shtml]
----------------------------------------------


My external App environment is :
----------------------------------------------
PHP_LSAPI_MAX_REQUESTS=500
PHP_LSAPI_CHILDREN=75
LSAPI_MAX_IDLE=5
LSAPI_PGRP_MAX_IDLE=5
LSAPI_MAX_PROCESS_TIME=300
-----------------------------------------------


Any idea how to fix this?
Reply With Quote
  #2  
Old 04-11-2009, 12:16 AM
DraCoola DraCoola is offline
Senior Member
 
Join Date: Mar 2009
Posts: 152
Update :

SMF login are facing the same error page : 406 not acceptable
All SMF user cannot login to their forum.

Please help me....
Reply With Quote
  #3  
Old 04-11-2009, 12:37 AM
DraCoola DraCoola is offline
Senior Member
 
Join Date: Mar 2009
Posts: 152
Update 2 :

Cannot switch to apache through lsws whm plugin after upgrade to 4.0.1.
I have to start apache manually from console in purpose to switching.
Reply With Quote
  #4  
Old 04-11-2009, 04:13 AM
DraCoola DraCoola is offline
Senior Member
 
Join Date: Mar 2009
Posts: 152
Update 3 :

1. Uninstall v4.0.1 through sh /usr/local/lsws/admin/misc/uninstall.sh
2. Remove lsws directory
3. Installing v4.0 from scratch

Problem solved
Reply With Quote
  #5  
Old 04-11-2009, 07:58 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,603
I think 406 was the result of a mod_security rule.
I could not think of any change in 4.0.1 that can cause this.
maybe I can take a look at your server if you don't mind.
And there is no need to reinstall from scratch, just use /usr/local/lsws/admin/misc/mgr_ver.sh to switch between versions, just make sure to restart LSWS after that.
Reply With Quote
  #6  
Old 04-11-2009, 07:05 PM
DraCoola DraCoola is offline
Senior Member
 
Join Date: Mar 2009
Posts: 152
I have switching between v3.3.24, v4.0, and v4.0.1 on the fly through lsws whm plugin but still resulting error 406 while executing login form on any sites under my server.

But if I switch to apache + suphp, the problem is just dissapear.
The mod_sec2 rules are the same for both apache or litespeed.

I hope you can investigate this issue, check your PM.

Thank you for helps
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 07:13 PM.



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