Trying to share a file in Apache fails (saved to //var/www/html/somefile.txt
I can't use the command 'cat somefile.txt', it just doesn't work in any directory and throws a cat: no such file or directory error
I can touch the file, but then I can't modify it even as root because it throws an access denied error
With Apache2 running I can't access the file from my local machine using http://127.0.0.1/somefile.txt (having changed permissions to it and edited it), I get Forbidden
I can't use the command 'cat somefile.txt', it just doesn't work in any directory and throws a cat: no such file or directory error
I can touch the file, but then I can't modify it even as root because it throws an access denied error
With Apache2 running I can't access the file from my local machine using http://127.0.0.1/somefile.txt (having changed permissions to it and edited it), I get Forbidden