On Thu, Feb 03, 2022 at 06:28:23PM +0000, Jeroen Verhoeckx via Podman wrote:
Hello Podman developers,
I signed up for this mailing list for a different question, but because I already solved
that one, I will ask another.
It’s not really related to Podman but to a specific container image. Hopefully you
don't mind for one time.
Question:
Does somebody know how I can add directory listing to the
[
php:7.2-apache](https://hub.docker.com/_/php/) image?
When I look inside the container it should be enabled (see code below) but when I add
directories and files to the mounted volume (see command below) the directories and files
aren't shown?
Content of the file /etc/apache2/apache2.conf :
<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
The "Indexes" option appears to be turned off later by
/etc/apache2/conf-enabled/docker-php.conf, which is pulled in by an
IncludeOptional directive further down in /etc/apache2/apache2.conf.
HTH,
Nalin