How can I edit my httpd.conf file?
        Posted  
        
            by 
                EmmyS
            
        on Ask Ubuntu
        
        See other posts from Ask Ubuntu
        
            or by EmmyS
        
        
        
        Published on 2011-01-11T18:55:29Z
        Indexed on 
            2011/01/11
            18:59 UTC
        
        
        Read the original article
        Hit count: 360
        
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?
© Ask Ubuntu or respective owner