Me gustaría ejecutar .cgi scripts en macos12 ejecutando un servidor web apache, que utiliza la carpeta Sites como webroot por defecto aparentemente, así que me gustaría poner mi cgi allí. Supongo que debería editar httpd.conf para esto basándome en otros hilos que he leído, pero encuentro no menos de 15 archivos de este tipo y al menos uno no encontrado por locate
por alguna razón:
(base) jr@Historys-MacBook-Air Sites % sudo locate httpd.conf
/System/Library/Templates/Data/private/etc/apache2/httpd.conf
/System/Library/Templates/Data/private/etc/apache2/original/httpd.conf
/System/Volumes/Update/mnt1/System/Library/Templates/Data/private/etc/apache2/httpd.conf
/System/Volumes/Update/mnt1/System/Library/Templates/Data/private/etc/apache2/original/httpd.conf
/opt/homebrew/Cellar/httpd/2.4.52/.bottle/etc/httpd/httpd.conf
/opt/homebrew/Cellar/httpd/2.4.52/.bottle/etc/httpd/original/httpd.conf
/opt/homebrew/etc/httpd/httpd.conf
/opt/homebrew/etc/httpd/httpd.conf.default
/opt/homebrew/etc/httpd/original/httpd.conf
/private/etc/apache2/httpd.conf
/private/etc/apache2/original/httpd.conf
los que no muestran el archivo que sospecho que es el relevante, /etc/apache2/httpd.conf
. Entonces, ¿es este último el que hay que editar, o tengo que rebuscar en el desorden de archivos .conf que se encuentran?