Operating System & Version
CentOS 7
cPanel & WHM Version
92.0 (build 11)
Jan 3, 2018
6
1
3
Cebu
cPanel Access Level
Root Administrator
Hi,

I need to modify the vhosts for a specific domain.
Need to add the below:
Code:
<Directory "/">
   Order allow,deny
   Allow from all
      Require all granted
</Directory>
I tried reading some documentation but can't seem to achieve it.

Any help is highly appreciated.
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
14,227
2,217
363
cPanel Access Level
Root Administrator
Hey there! The best way (and only supported way) to modify vhosts in cPanel is to use the include system that is outlined here:


Can you try working through that to see if that gets things working how you expect?
 
  • Like
Reactions: Jayvee Sagarino
Jan 3, 2018
6
1
3
Cebu
cPanel Access Level
Root Administrator
Hey there! The best way (and only supported way) to modify vhosts in cPanel is to use the include system that is outlined here:


Can you try working through that to see if that gets things working how you expect?
Cool. Working on my use case.

Thank you.
 
  • Like
Reactions: cPRex