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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > disabling features

Reply
 
Thread Tools Display Modes
  #1  
Old 09-30-2010, 04:20 AM
sysadm sysadm is offline
Member
 
Join Date: Nov 2009
Posts: 35
Default disabling features

How can I disable CGI, RubyOnRails, Python, ServerSideIncludes, mod_frontpage and Perl? I want to do it because of security reasons, but I haven't found it in options.

I want to disable it permanently, user should not be able to enable these functions in .htaccess.

Last edited by sysadm; 09-30-2010 at 05:00 AM..
Reply With Quote
  #2  
Old 09-30-2010, 06:50 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
do what you usually do with Apache if you are using LiteSpeed with hosting control panel.
Reply With Quote
  #3  
Old 10-01-2010, 04:47 AM
sysadm sysadm is offline
Member
 
Join Date: Nov 2009
Posts: 35
From LS webpage or forum (I don't remember)
Will SSI support be included in beta 4?
reply: Yes, just assign MIME "application/x-httpd-shtml" to suffix
"shtml"

How can I deny set this by users in .htaccess files?

Last edited by sysadm; 10-01-2010 at 06:17 AM..
Reply With Quote
  #4  
Old 10-01-2010, 08:30 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
disable MIME assignment in .htaccess with "AllowOverride"
Reply With Quote
  #5  
Old 10-01-2010, 09:10 AM
sysadm sysadm is offline
Member
 
Join Date: Nov 2009
Posts: 35
When I disable it my users will not be able to add parsing html and htm files with PHP.

How can I disable only SSI? It will be applicable in server configuration (via WebConsole). Is it possible to add this feature in next version of LiteSpeed?
Reply With Quote
  #6  
Old 10-06-2010, 02:11 AM
sysadm sysadm is offline
Member
 
Join Date: Nov 2009
Posts: 35
Using Apache we have total mastery over what it loads.

For example mod_include is active ONLY IN CASE OF we type this in our httpd.conf:
LoadModule include_module modules/mod_include.so

As I understand, Litepeed loads it's mod_include ALWAYS and we haven't any control over it. The same poblem we have with other modules. We don't really need ANY control panel in Litespeed. We can edit raw config files, but we want to decide what features should be loaded or not. That is general security rule: don't need it? Don't install it. Don't risk potential security holes.

My question is: how to disable mod_include and other unnecessary modules in Litespeed?
Are there any undocumented configuration directives to achieve this? In Apache it's enough to NOT type 'LoadModule' and this is my reply to question "what you usually do with Apache".

Last edited by sysadm; 10-06-2010 at 02:16 AM..
Reply With Quote
  #7  
Old 10-09-2010, 04:48 PM
sysadm sysadm is offline
Member
 
Join Date: Nov 2009
Posts: 35
any hints?
Reply With Quote
  #8  
Old 10-09-2010, 06:21 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
For example:

Options -Includes -ExecCGI

to stop mod_include and CGI.
Reply With Quote
  #9  
Old 10-11-2010, 07:19 AM
sysadm sysadm is offline
Member
 
Join Date: Nov 2009
Posts: 35
Quote:
Originally Posted by mistwang View Post
For example:

Options -Includes -ExecCGI

to stop mod_include and CGI.
Any user are able to override the above typing in his .htaccess this:
Options +Includes +ExecCGI


So my question is:

How to (permanently!) disable mod_cgi, mod_includes and others without disallowing user to change "options" directive himself (eg: Options +/-Indexes, Options +/-FollowSymlinks, Options +/-SymLinksIfOwnerMatch).

I'd prefer solution like additional checkbox/radio button (as for frontpage extension) in LS WebConsole.

Last edited by sysadm; 10-11-2010 at 07:27 AM..
Reply With Quote
  #10  
Old 10-11-2010, 10:02 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
It is not possible with LiteSpeed while using Apache httpd.conf. you have to disallow Options override.
Reply With Quote
Reply

Tags
cgi, ssi

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 PM.



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