Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
litespeed_wiki:cloudlinux:cagefs [2017/04/21 13:06] Michael Alegre [Preamble] Updated cageFS install link. |
litespeed_wiki:cloudlinux:cagefs [2018/09/19 18:11] (current) Michael Alegre [5. Verify CageFS setup] |
||
---|---|---|---|
Line 92: | Line 92: | ||
- | To enable in LSWS, go to WebAdmin Console -> Configuration -> Server -> General -> CloudLinux and set CloudLinux to "CageFS" or "CageFS without suEXEC". | + | To enable in LSWS, go to **Configuration > Server > General > CloudLinux** and set **CloudLinux** to ''CageFS'' or ''CageFS without suEXEC''. |
Line 168: | Line 168: | ||
Create a test file under the document root as follows: | Create a test file under the document root as follows: | ||
<code> | <code> | ||
- | test1@cptest [~]# cat test.php | + | test1@cptest [~]# vi test.php |
<?php | <?php | ||
$passwd=`cat /etc/passwd`; | $passwd=`cat /etc/passwd`; | ||
Line 175: | Line 175: | ||
</code> | </code> | ||
- | Pointing the browser to http://test1.example.com/test.php should show the following: (Only the user's own /etc/passwd is visible to the jailed vhost.) | + | Pointing the browser to ''<nowiki>http://test1.example.com/test.php</nowiki>'' should show the following: (Only the user's own ''/etc/passwd'' is visible to the jailed vhost.) |
<code> | <code> |