notas:apache
Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anteriorRevisión previaPróxima revisión | Revisión previaPróxima revisiónAmbos lados, revisión siguiente | ||
notas:apache [2010/03/08 18:28] – cayu | notas:apache [2011/03/02 13:44] – cayu | ||
---|---|---|---|
Línea 28: | Línea 28: | ||
Allow from All | Allow from All | ||
AllowOverride All | AllowOverride All | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ===== Redireccionar de HTTP a HTTPS ===== | ||
+ | |||
+ | < | ||
+ | RewriteEngine On | ||
+ | RewriteCond %{HTTPS} off | ||
+ | RewriteRule (.*) https:// | ||
+ | </ | ||
+ | |||
+ | ===== Autenticacion LDAP ===== | ||
+ | |||
+ | Fragmento de configuración para Nagios | ||
+ | |||
+ | < | ||
+ | LDAPSharedCacheSize 200000 | ||
+ | LDAPCacheEntries 1024 | ||
+ | LDAPCacheTTL 600 | ||
+ | LDAPOpCacheEntries 1024 | ||
+ | LDAPOpCacheTTL 600 | ||
+ | |||
+ | ScriptAlias / | ||
+ | |||
+ | < | ||
+ | SSLRequireSSL | ||
+ | Options ExecCGI | ||
+ | AllowOverride None | ||
+ | Order allow,deny | ||
+ | Allow from all | ||
+ | AuthType | ||
+ | AuthName | ||
+ | AuthBasicProvider ldap | ||
+ | AuthLDAPURL " | ||
+ | AuthLDAPURL " | ||
+ | AuthLDAPBindDN uid=ldapadmin, | ||
+ | AuthLDAPBindPassword 123456 | ||
+ | Require valid-user | ||
+ | Require group cn=linux-admin, | ||
</ | </ | ||
</ | </ |
notas/apache.txt · Última modificación: 2015/11/20 17:54 por cayu