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>
I use the following command to run the image:
podman run --rm --detach -p 8080:80 --name webserver -v ~/Webserver:/var/www/html:Z
php:7.2-apache
I don't know why the code Options Indexes doesn't work as expected. Does somebody
has an idea?
Your sincerely,
Jeroen Verhoeckx
--------------------------------------------------------
Support the independent web, use [
Firefox](https://www.mozilla.org/en-US/firefox/new/)