Hello All,
How to Disable Symlinks on linux WHM/cPanel Server ?
Disabling Symlink is not a tough task on WHM/cPanel based servers, however you might not found proper way to do this, here is the quick code for disabling symlinks.
Login to WHM/cPanel server via SSH with root access.
follow this commands.
1. $ wget http://layer1.rack911.com/before_apache_make -O
2. $ /scripts/before_apache_make
3. $ chmod 700/scripts/before_apache_make
And then recompile apache by previous saved profile:
4. $ /scripts/easyapache
That is all, you can also check for any symbolic links already created:
5. $ find /home*/*/public_html -type l
This will output directories and files those are sym linked.
Thanks,
Hostakers.
http://blog.hostakers.com/
How to Disable Symlinks on linux WHM/cPanel Server ?
Disabling Symlink is not a tough task on WHM/cPanel based servers, however you might not found proper way to do this, here is the quick code for disabling symlinks.
Login to WHM/cPanel server via SSH with root access.
follow this commands.
1. $ wget http://layer1.rack911.com/before_apache_make -O
2. $ /scripts/before_apache_make
3. $ chmod 700/scripts/before_apache_make
And then recompile apache by previous saved profile:
4. $ /scripts/easyapache
That is all, you can also check for any symbolic links already created:
5. $ find /home*/*/public_html -type l
This will output directories and files those are sym linked.
Thanks,
Hostakers.
http://blog.hostakers.com/
Comment