Desperados
Verified User
- Joined
- Jan 2, 2017
- Messages
- 37
Hello, I Need Disable Some Options On Apache and also disable Override by users
for example : FollowSymLinks , Includes , .....
on cPanel Servers i add this code :
" <Directory "/"> Options +ExecCGI -FollowSymLinks -Includes +IncludesNOEXEC +Indexes -MultiViews +SymLinksIfOwnerMatch AllowOverride All Options=ExecCGI,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch </Directory> "
on in /usr/local/apache/conf/includes/pre_virtualhost_global.conf
and restart apache.
then users can not enable options by .htaccess or override setting.
how i can do this on DirectAdmin ?
Best Regards,
for example : FollowSymLinks , Includes , .....
on cPanel Servers i add this code :
" <Directory "/"> Options +ExecCGI -FollowSymLinks -Includes +IncludesNOEXEC +Indexes -MultiViews +SymLinksIfOwnerMatch AllowOverride All Options=ExecCGI,IncludesNOEXEC,Indexes,MultiViews,SymLinksIfOwnerMatch </Directory> "
on in /usr/local/apache/conf/includes/pre_virtualhost_global.conf
and restart apache.
then users can not enable options by .htaccess or override setting.
how i can do this on DirectAdmin ?
Best Regards,