Answers for "change apache to have root access"

2

apache2 change directory root

go to /etc/apache2/sites-available/000-default.conf

Change here:
<Directory /var/www/html/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
Posted by: Guest on July-24-2020
0

bind another path to default apache root

mount -t none -o bind,ro /root/my_folder /var/www/html
Posted by: Guest on September-21-2021

Code answers related to "change apache to have root access"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language