Apache2: habilitar un modulo

Para habilitar un módulo en el servidor web apache2, por ejemplo el módulo rewrite para permitir re-escritura de las url, y conseguir url’s “amigables“, basta con ejecutar el comando a2enmod seguido del nombre del módulo: Para deshabilitar, tenemos el comando a2dismod, que funciona igual que el anterior: Y para comprobar que módulos tenemos cargados en apache2 este otro: Saludos y hasta la próxima

» Leer más

Apache2: averiguar módulos cargados

Para averiguar los módulos cargados de apache2 ejecuta este comando:   La salida puede ser algo como esto: core_module (static) so_module (static) watchdog_module (static) http_module (static) log_config_module (static) logio_module (static) version_module (static) unixd_module (static) access_compat_module (shared) alias_module (shared) auth_basic_module (shared) authn_core_module (shared) authn_dbd_module (shared) authn_file_module (shared) authz_core_module (shared) authz_host_module (shared) authz_user_module (shared) autoindex_module (shared) cgi_module (shared) dbd_module (shared) deflate_module (shared) dir_module (shared) env_module (shared) filter_module (shared) headers_module (shared) mime_module (shared) mpm_prefork_module (shared) negotiation_module (shared) php5_module (shared) setenvif_module (shared) socache_shmcb_module (shared) ssl_module (shared) status_module (shared) wsgi_module (shared)   También se puede obtener una salida similar con: apachectl -M apache2ctl -M Loaded Modules: core_module (static) log_config_module (static) logio_module (static) version_module (static) mpm_prefork_module (static) http_module (static) so_module (static) alias_module (shared) auth_basic_module (shared) auth_mysql_module (shared) authn_file_module (shared) authz_default_module (shared) authz_groupfile_module (shared) authz_host_module (shared) authz_user_module (shared) autoindex_module (shared) cgi_module (shared) deflate_module (shared) dir_module (shared) env_module (shared) mime_module (shared) negotiation_module (shared) php5_module (shared) reqtimeout_module (shared) rewrite_module (shared) setenvif_module (shared) ssl_module (shared) status_module (shared) wsgi_module (shared) Syntax OK

» Leer más
1 2