I have XAMPP installed, and need to edit my
httpd.conf file to add a virtual host block. If I right-click on the file in Nautilus and open with gedit, I can see all the content, but it's read-only.
If I try to open it via terminal, like this:
esther@estherLinuxSony:~$ sudo gedit opt/lampp/etc/extra/httpd-vhosts.conf
It opens the root version of gedit, but there's no content in the file.
How can I edit this file?