我正在为我试验一个未知问题。在www.graficaslapaz.com上,当我选择其他页面的任何链接时,资源管理器会抛出错误。
查看我的日志文件显示:
[Thu Feb 25 08:58:42.601721 2016] [core:error] [pid 163316:tid 140473331054336] [client 178.7.107.86:57067]
AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error.
Use 'LimitInternalRecursion' to increase the limit if necessary.
Use 'LogLevel debug' to get a backtrace.,
referer: http://www.graficaslapaz.com/instalaciones.php
[Thu Feb 25 08:58:42.601758 2016] [core:error] [pid 163316:tid 140473331054336] [client 178.7.107.86:57067]
AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error.
Use 'LimitInternalRecursion' to increase the limit if necessary.
Use 'LogLevel debug' to get a backtrace.,
referer: http://www.graficaslapaz.com/instalaciones.php
这是我的.htaccess
的内容RewriteEngine on
Options -Indexes
RewriteRule ^home home.php
RewriteRule ^empresa empresa.php
RewriteRule ^instalaciones instalaciones.php
RewriteRule ^acceso_clientes acceso_clientes.php
RewriteRule ^nuevo_cliente nuevo_cliente.php
RewriteRule ^enviar_cliente enviar_cliente.php
RewriteRule ^presupuestos presupuestos.php
RewriteRule ^enviar_presupuesto enviar_presupuesto.php
RewriteRule ^subir_archivo subir_archivo.php
RewriteRule ^enviar_archivo enviar_archivo.php
RewriteRule ^suscribete suscribete.php
RewriteRule ^enviar_suscripcion enviar_suscripcion.php
RewriteRule ^trabajos/([0-9]+) trabajos.php?id=$1
RewriteRule ^trabajos trabajos.php
RewriteRule ^hp-indigo-digital hp-indigo-digital.php
RewriteRule ^packaging_plus packaging_plus.php
RewriteRule ^equipo_humano equipo_humano.php
RewriteRule ^seccion_empresa/(.*) seccion_empresa.php?seccion=$1
RewriteRule ^oferta oferta.php
RewriteRule ^enviar_oferta enviar_oferta.php
RewriteRule ^contacto contacto.php
RewriteRule ^privacidad privacidad.php
RewriteEngine on
我不知道导致此循环的原点在哪里以及如何解决它。
你能帮我吗?
答案 0 :(得分:0)
您拥有模式policyBuilder.AppendFormat("{{ \"expiration\": \"{0}\",\n", 10);
。现在,这种模式将匹配以下所有(及其衍生物):
^home
如您所见,该模式将与home
home1
homexzs
home.php
匹配,并将URL重写为home.php
,再次匹配该模式,从而导致无限重写(或内部重定向)。
使用home.php
锚点获得完全匹配:
$