< Apache HTTP Server (Español)

Apache HTTP Server (Español)/mod fcgid (Español)

mod_fcgid es un módulo FastCGI para Apache con licencia GPL.

Esta traducción de Apache HTTP Server/mod fcgid fue revisada el 2022-09-27. Si existen cambios puede actualizarla o avisar al equipo de traducción.

apache 2.4 proporciona un módulo oficial, mod_proxy_fcgi. Véase el ejemplo de configuración para php-fpm y el Apache HTTP Server (Español)#Utilizando php-fpm y mod_proxy_fcgi.

Instalación

Instale el paquete mod_fcgidAUR.

Utilización

Primero necesita cargar el módulo fastcgi. Asegúrese de que lo siguiente esté presente y sin comentarios en su httpd.conf:

LoadModule fcgid_module modules/mod_fcgid.so

Después necesita decirle a Apache cuándo utilizar FastCGI.

Por ejemplo, puede pedirle a Apache que trate todos los archivos .fcgi como aplicaciones fastcgi:

<IfModule fcgid_module>
  AddHandler fcgid-script .fcgi # puedes poner la extensión que quiera
</IfModule>

Recuerde que se aplican restricciones CGI estándar, los archivos deben estar en un directorio activado para ExecCGI para ejecutarse.

Solución de problemas

¿No funciona? El registro de errores de Apache (/var/log/httpd/error_log) debería ayudarle a encontrar el problema.

Véase también

gollark: Well, other people might have atomic-scale microscopy/manipulation technology.
gollark: Actually, using a scanning tunneling microscope I can fit almost arbitrarily large amounts of data into margins.
gollark: As planned.
gollark: Unfortunately, I don't have pickle units. However, I do have unit pickles.
gollark: Oh, it must have memetic hazard filters.
This article is issued from Archlinux. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.