SoreGUms
08-02-2007, 08:00 PM
http://www.litespeedtech.com/support/wiki/doku.php?id=litespeed_wiki:security:shared_hosting _securities
That article is a bit airy fairy. Its not concrete enough in what is being put across.
What are the exact configurations required?
So in apache using MPM-ITK I would do the following.
System Accounts (user/group)
user1/user1
apache01/apache01
user1 member of apache01
VHost-config
specify user/group to run as "apache01/apache01"
File System permissons
VHOST/:
drwxr-x--- 4 user1 apache01 4096 May 16 13:41 .
drwxr-x--- 7 user1 apache01 4096 Aug 2 14:17 ..
drwxr-x--- 8 user1 apache01 4096 Jun 28 13:49 html
drwxrwx--- 2 user1 apache01 4096 May 16 13:41 logs
VHOST/html:
drwxr-x--- 8 user1 apache01 4096 Jun 28 13:49 .
drwxr-x--- 4 user1 apache01 4096 May 16 13:41 ..
-rw-r----- 1 user1 apache01 284 May 16 13:41 index.html
As can be clearly seen here only user1 has full access and the apache/vhost user only has read access except for the logs dir so it can write logs etc. Everyone else has zero access.
So what is the equivalent setup for LSWS please?
Thanks :D
That article is a bit airy fairy. Its not concrete enough in what is being put across.
What are the exact configurations required?
So in apache using MPM-ITK I would do the following.
System Accounts (user/group)
user1/user1
apache01/apache01
user1 member of apache01
VHost-config
specify user/group to run as "apache01/apache01"
File System permissons
VHOST/:
drwxr-x--- 4 user1 apache01 4096 May 16 13:41 .
drwxr-x--- 7 user1 apache01 4096 Aug 2 14:17 ..
drwxr-x--- 8 user1 apache01 4096 Jun 28 13:49 html
drwxrwx--- 2 user1 apache01 4096 May 16 13:41 logs
VHOST/html:
drwxr-x--- 8 user1 apache01 4096 Jun 28 13:49 .
drwxr-x--- 4 user1 apache01 4096 May 16 13:41 ..
-rw-r----- 1 user1 apache01 284 May 16 13:41 index.html
As can be clearly seen here only user1 has full access and the apache/vhost user only has read access except for the logs dir so it can write logs etc. Everyone else has zero access.
So what is the equivalent setup for LSWS please?
Thanks :D