This task does fail.
- name: Test php page is installed ansible.builtin.copy: src: index.php dest: /var/www/html/index.php mode: 0644
Serverb httpd error log is posting
No matching DirectoryIndex
looking further into /etc/httpd/conf/httpd.conf
index.php is missing in the DirectoryIndex
<IfModule dir_module>
DirectoryIndex index.html
</IfModule>
after chaning this to
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
I was able to pass
lab grade playbook-review
Hello @bwessel !
I just followed the lab Ch02s09 as per the instructions in the course and found no issues as such :
Could you please recheck the same. Try it again in a freshly built lab environment and share the error screenshots - so that I can take a look.
Hello @bwessel !
I just followed the lab Ch02s09 as per the instructions in the course and found no issues as such :
Could you please recheck the same. Try it again in a freshly built lab environment and share the error screenshots - so that I can take a look.
It worked, but I just had this again while doing the review-cr2 and this on a freshly built environment.
this time, I needed to add this to the to the vhost.conf file.
with best regards.
Hi All,
I seem to have a similar issue where Serverb is returning a 403 status code when attempting to connect to it.. I'm not sure why as there is no user escalation for this part.
Can anyone please help?
I have attached the below figures for context.
Kind Regards,
Michael.
@MichaelM26 It seems permission issue in your apache root directory - can you please recheck ? Anything you got in the logs ?
Hi Chetan,
I restarted the server and it worked today. Interesting.
Thanks for your help :D.
Kind Regards,
Michael.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.