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

Go Back   LiteSpeed Support Forums > External Applications > Apache Migration/Compatibility > Apache PHP DSO to LSWS migrating

Reply
 
Thread Tools Display Modes
  #1  
Old 03-29-2012, 12:03 AM
bloodyman bloodyman is offline
New Member
 
Join Date: Mar 2012
Posts: 9
Default Apache PHP DSO to LSWS migrating

Hi

I would like to migrate cPanel Apache + PHP as DSO server to LSWS.

The main reason is that I would like to allow users to run their PHP scripts as user:user (instead of nobody:nobody) to have Wordpress and other sites working properly. I would like to know if anyone experienced issues during changing Apache + PHP as DSO to LSWS on cPanel dedicated server with users?
Reply With Quote
  #2  
Old 03-29-2012, 02:52 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
should be ok. you can run LSWS (on port 2080) in paralell and enable PHP suEXEC to test.
Reply With Quote
  #3  
Old 03-29-2012, 03:17 PM
bloodyman bloodyman is offline
New Member
 
Join Date: Mar 2012
Posts: 9
Thanks for reply.

LSWS has many, many, many new settings for me, as *maybe* new user.

I read some part of documetation, but I would like to know if there are any security settings that should be setup after default installation of LSWS on cPanel shared server? I know how to manage and secure Apache, but I don't have any experience with LSWS. Of course after few months of running LSWS I would be able to tell something about LSWS, but I'm looking for any security tutorial for beginers.
Reply With Quote
  #4  
Old 03-29-2012, 07:36 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
LSWS default settings (install from cPanel plugin) should suit for shared hosting need.

here is more details:
http://www.litespeedtech.com/support...ing_securities
Reply With Quote
  #5  
Old 03-30-2012, 01:01 AM
bloodyman bloodyman is offline
New Member
 
Join Date: Mar 2012
Posts: 9
Hi

You refer to:

http://www.litespeedtech.com/support...ing_securities

There is information, that home user directories should be 770 or 750, while using EasyApache with Fileprotect on I have all user directories set to 711. Or article you have provided is not for cPanel Apache migration to Litespeed?

Another question - I have custom settings in httpd.conf:

<Directory "/">
Options -ExecCGI -FollowSymLinks +Includes +IncludesNOEXEC -Indexes -MultiViews +SymLinksIfOwnerMatch
AllowOverride AuthConfig FileInfo Indexes Limit Options=Includes,Indexes,MultiViews,FollowSymLinks ,ExecCGI
</Directory>

<Directory "/usr/local/apache/htdocs">
Options IncludesNOEXEC -Indexes -FollowSymLinks +SymLinksIfOwnerMatch -ExecCGI
AllowOverride None
Order allow,deny
Allow from all
<IfModule mod_access.c>
Order allow,deny
Allow from all
</IfModule>

</Directory>

Are they automatically migrated into Litespeed during cpanel apache migration (via WHM plugin)?

Last edited by bloodyman; 03-30-2012 at 06:06 AM..
Reply With Quote
  #6  
Old 03-30-2012, 11:15 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,337
The document is not for migrating your server in particular but for how shared hosting environment should be in general since you asked for security tutorial. It does *NOT* mean yours (711 permission) will fail under LSWS.

Your custom settings in httpd.conf should be supported in LSWS.

Please note that LSWS reads Apache httpd.conf and behaves the same way as Apache (LSWS is Apache drop-in replacement). LSWS will not modify or create anything for Apache.

As pointed out earlier, you can take 15-day trial and have LSWS run in paralell with Apache and see if there is any issue for your environment.
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 03:16 PM.



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