I lost my harddrive on my little personal webserver that only serves some private files from my userdir.
So I am trying to build this from notes on a new CentOS7.3 installation
(well really CentOS7.3-arm, but supposedly same sources).
Right now the server is running on a test subnet, not the production, but I have set up the hostname and my standard httpd edits. I have enabled userdir and setup my /home/rgm/public_html directory with 711
I can display the /home/rgm/public_html/index.html file that only has
“Hello World’ in it (to prevent anyone from walking my file tree from the root).
But when I try to display the files in a subdir with ipaddr/~rgm/mydir
You don’t have permission to access /~rgm/mydir/ on this server.
So obviously I have forgotten something that I did not put into my notes, or something has changed from CentOS6.
I have tried both:
AllowOverride FileInfo AuthConfig Limit Indexes
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Require method GET POST OPTIONS
which is what the current /etc/httpd/conf.d/userdir.conf has, and what I
have in my notes:
# AllowOverride FileInfo AuthConfig Limit
# Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
Allow from all
Deny from all
Neither seems to make a difference.
thank you for your assistance.