Operating System & Version
CentOS 7
cPanel & WHM Version
92.0 (build 11)

Jayvee Sagarino

Registered
Jan 3, 2018
4
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
4,333
540
273
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

Jayvee Sagarino

Registered
Jan 3, 2018
4
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