apache - enable - htaccess structure
.htaccess: Ubicación no permitida aquà (1)
Recibo un error de "Ubicación no permitida aquí" con este .htaccess .
¿Alguien tiene alguna idea de cómo debo arreglar esto?
<Files ''login''>
AuthName NTLM
AuthType NTLM
NTLMAuth on
NTLMAuthoritative on
NTLMServer <censored>
NTLMBackup <censored>
NTLMLockfile <censored>
require valid-user
Satisfy all
</Files>
<Location /alarms/[0-9]+/acknowlege>
Order deny,allow
Deny from all
Allow from localhost
</Location>
Location no es válida en .htaccess
Ver:
- http://httpd.apache.org/docs/2.2/mod/core.html#location
- http://httpd.apache.org/docs/2.2/mod/core.html#files
Observe cómo Files dice que puede tenerlo en .htaccess , pero Location no ... Deberá agregar su Location a la configuración del servidor o a un host virtual.