As part of that it seems mod_autoindex.so is not loaded anymore, which leads to a 404 on /pub/ because there is nothing providing an directory index. That’s why you can download any file in the directory but can’t see the index.
You can temporarily load and configure mod_autoindex but that will probably disappear during the next foreman-installer run.
@wbclark@ekohl Is it intended to disable the directory index on /pub/ or should mod_autoindex be loaded and configured by default?
Well, you won’t find it in the release notes’ list of enhancements unless you know what you are looking for. I think this is an unexpected side effect of that change that nobody considered and the autoindex may well come back soon.
I tend to agree that the missing directory listing might be unexpected. I’ll talk to the rest of the installer team if that is an intentional change or not.
I got my listing working, but whenver I try to wget a file from it, for instance " [katello-ca-consumer-latest.noarch.rpm]" I keep getting failure with the following output:
Hard to say what’s the problem. Is there anything in /var/log/httpd? Are you accessing it over HTTP or HTTPS (shouldn’t matter, but good to know)? Any SELinux denials perhaps?
I think I have an idea, by looking at the logs I can see the gets are actually trying to get the files from the /pub directory, but the reference files inside that path have all the FQDN without the appended /pub to their name, this is resulting in 404.
Reference:
Trying to get file from foreman.loca.domain/pub (the files are there and visible)
but when I try to wget the files using the URL, the files inside /pub are showing without the trailing /pub
Now, how do I tell apache to append the /pub reference to all the files that are in there. Hope that makes sense, sorry if I caused more confusion.
Yes, if I append the /pub it retrive the files without issues. I am not sure why the files under /pub are getting the FQDN without /pub append to them…clues?
As you can see /pub is missing from the files, when I tried download it comes back with 404, but if I adjust the URL it downloads the file fine. Clues?