Allow apache to run a program

Jerry Geis jerry.geis at gmail.com
Tue Sep 6 18:43:25 UTC 2022


I am trying to get apache2 (ubuntu 20.04 LTS) to run a program from a cgi
script.
the path to the program is

/usr/local/bin/myprogram

How do I allow apache2 to run this program?

I tried adding this to serve-cgi-bin.conf and restarting but did not work
                <Directory /usr/local/bin>
                        Order Allow,Deny
                        Options ExecCGI FollowSymLinks
                        Allow from all
                </Directory>

Thanks,
Jerry
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20220906/565f61e8/attachment.html>


More information about the ubuntu-users mailing list