April 23, 2020
Estimated Post Reading Time ~

Turn off Server Side Includes and CGI Execution in Apache Webserver

Environment: Apache webserver
Solution:
- Steps to turn off server-side includes (mod_include)
- And CGI execution
- Modify the httpd.conf or apache2.conf file in the main configuration file.
- This can be applied to the root directory or specific directory
- Open the main configuration file and add the below details

Options -Includes -ExecCGI

Or

Options -Includes -ExecCGI
- Restart the server. That’s it!.


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.