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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > LSWS 4.2: cgi-script override is not allowed in .htaccess

Reply
 
Thread Tools Display Modes
  #1  
Old 09-21-2012, 02:13 AM
tina tina is offline
Member
 
Join Date: Feb 2010
Posts: 43
Default LSWS 4.2: cgi-script override is not allowed in .htaccess

We just upgraded to LiteSpeed Web Server from 4.1.13 to 4.2, on a cPanel server, and suddenly we are getting this error for sites that use 'AddHandler cgi-script' in .htaccess files to add their own extensions:

"cgi-script override is not allowed in .htaccess"

The error did not appear in 4.1.13, and we did not change any settings, although we did select 'Re-install' during the upgrade as recommended, in order to run the new PHP SuExec daemon.

How do we fix this error?
Reply With Quote
  #2  
Old 09-21-2012, 09:56 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
you can put "DisableCgiOverride On" in Apache Style Configurations (Admin Console -> Configurations -> Server -> General).
Reply With Quote
  #3  
Old 09-21-2012, 09:11 PM
tina tina is offline
Member
 
Join Date: Feb 2010
Posts: 43
We are using Apache binary wrapper on normal CentOS 6 64-bit running cPanel, and did not put "DisableCgiOverride On" in the httpd.conf file.

It seems that LSWS 4.2 automatically sets "DisableCgiOverride On" on such systems, so it could be a bug.

Can you confirm this?
Reply With Quote
  #4  
Old 09-25-2012, 10:26 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,590
you can put
DisableCgiOverride Off

in httpd.conf .
It is default to "On" with 4.2 release.
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 02:28 AM.



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