La taille d’un champ d’en-tête de requête dépasse la limite du serveur

Augmentez la valeur de #LimitRequestFieldSize et #LimitRequestLine pour les versions AMS/On-Premise. Augmentez la limite En-tête de requête en ajoutant également ces propriétés dans les fichiers Vhost pour AEMaaCS.

Description description

.lf-progress { width: 100%; height: 4px; border-radius: 3px; cursor: pointer }
.lf-progress:focus { contour : none; border: none }
.lf-progress:-moz-range-track { cursor: pointer; background: none; border: none; underline: none; none}.lf-progress:-kit-web : slider-thumb { height: 13px; width: 13px; border: 0; border-radius: 50%; background: rgba(15, 204, 206, 1); cursor: pointer }
.lf-progress:-moz-range-thumb { height: 13px; width: 13px ; bordure : 0 ; bordure-rayon : 50 % ; arrière-plan : rgba(15, 204, 206, 1) ; curseur : }
.lf-progress :-ms-track { width: 100 %; hauteur : 3px ; curseur : pointeur ; arrière-plan : rgba(0, 0, 0); border-color: 0, 0, 0, 0); color: rgba(0, 0, 0, 0) }
.lf-progress:-ms-fill-lower { background: rgba(204, 204, 1); border-radius: 3px }
.lf-progress rgba(2) 04, 204, 204, 1); border-radius: 3px }
.lf-progress:-ms-thumb { border: 0; height: 15px; width: 15px; border-radius: 50%; background: rgba(15, 204, 206, 1); : pointer }
.lf-progress:-ms-fill-lower { background: rgba(204, 204, 204, 1) }
.lf-progress:-ms-fill-upper { background: rgba(204, 204, 204, 1 }{) } 12}.lf-player-container :focus { composition : 0 }
.lf-popover { position : relative }
.lf-popover-content { affichage : bloc inséré ; position : absolu ; opacité : 1 ; visibilité : visible ; transformation : translate(0, -10px); box-shadow : 0 2px 5px rgba(0) 0, 0, 0.26); transition : tous les 0.3s cubic-bezier(0.75, -0.02, 0.2, 0.97) }
.lf-popover-content.hidden { opacity: 0; visibility; hidden; transform: translate(0, 0) }
.lf-player-btn-container-container) { display: flex; align-items: center }
.lf-player-btn { cursor: pointer; width: 14px }
.lf-player-btn.active { }
.lf-popover { position: relative }
.lf-popover-content { display: inline-block-background; position:; couleur : rgba(255, 255, 255, 1); opacité : 1; transformation : translate(0, -10px); box-shadow : 0 2px 5px rgba(0, 0, 0, 0, 0,26); transition : tous les 0,3 s cubic-bezier(0.75, -0.0) 2, 0.2, 0.97); remplissage : 10px }
.lf-popover-content.hidden { opacity: 0; visibility: hidden; transform: translate(0, 0) }
.lf-flf { position : absolute; z-index: -1; content: ""; bottom: -9px; border-style: solid; : 10px 10px 0 }
.lf-left-align, .lf-left-align.lfarrow { left: 0; right : unset }
.lf-right-align, .lf-right-align.lf-align { right: 0; left : unset }
.lf-text-input { border: 1px full rgba(204, 204, 204, 1); border-radius: 5px; padding: 3px; width: 60px; margin: 0 }
.lf-color-picker { display: flex; flex-direction: row; justify-content: space-entre; height: 90px }
.lf-color-selectors { display: flex; flex-direction: column; justify-content: space-between }
.lf-color-component { display: flex; flex-direction: row; font-size: 12px; align-items: center; justify-content: center }
.lf-color-component strong { width: 40px } 0}.lf-color-component input[ type="range"] { margin: 0 0 10px }
.lf-color-component input[ type="number"] { width: 50px; margin: 0 0 10px }
.lf-color-preview { font-size: 12px; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding-left: 5px }
.lf-preview { height: 60px; width: 60px }
.lf-popover-instantané { width: 150px }{3 9}.lf-popover-instantané h5 { margin: 5px 0 10px; font-size: 0.75rem }
.lf-popover-instantané a { display: block; text-decoration: none }
.lf-popover-instantané a:before { content: " ⥼"; margin-right: 5px }
.3 f-popover-instantané.lf-note { display: block; margin-top: 10px; color: rgba(153, 153, 153, 1) }
div { margin-right: 5px; margin-left: 5px }
div:first-child { margin-left: 0 }
div:last-child { margin-right: 0 }.go4109123758 { z-index: 999 }
* { pointer-events: auto }
Environnements

  • Adobe Experience Manager (AEM)
  • Adobe Experience Manager as a Cloud Service (AEMaaCS)

Problème

Lors de l’ouverture d’une page, les utilisateurs reçoivent une réponse "Bad Request" avec le message :

"La taille d’un champ d’en-tête de requête dépasse la limite du serveur"

Résolution resolution

.lf-progress {
-webkit-appearance: none;
-moz-apperance: none;
width: 100%;
/* margin: 0 10px; */
height: 4px;
border-radius: 3px;
cursor: pointer;
}
.lf-progress:focus {
outline: none;
border: none;
}
.lf-progress::-moz-range-track {
cursor: pointer;
background: none;
border: none;
outline: none;
}
.lf-progress::-webkit-slider-thumb {
-webkit-appearance: none !important;
height: 13px;
width: 13px;
border: 0;
border-radius: 50%;
background: #0fccce;
cursor: pointer;
}
.lf-progress::-moz-range-thumb {
-moz-appearance: none !important;
height: 13px;
width: 13px;
border: 0;
border-radius: 50%;
background: #0fccce;
cursor: pointer;
}
.lf-progress::-ms-track {
width: 100%;
height: 3px;
cursor: pointer;
background: transparent;
border-color: transparent;
color: transparent;
}
.lf-progress::-ms-fill-lower {
background: #ccc;
border-radius: 3px;
}
.lf-progress::-ms-fill-upper {
background: #ccc;
border-radius: 3px;
}
.lf-progress::-ms-thumb {
border: 0;
height: 15px;
width: 15px;
border-radius: 50%;
background: #0fccce;
cursor: pointer;
}
.lf-progress:-ms-fill-lower {
background: #ccc;
}
.lf-progress:-ms-fill-upper {
background: #ccc;
}
.lf-player-container :focus {
outline: 0;
}
.lf-popover {
position: relative;
}

.lf-popover-content {
display: inline-block;
position: absolute;
opacity: 1;
visibility: visible;
transform: translate(0, -10px);
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
transition: all 0.3s cubic-bezier(0.75, -0.02, 0.2, 0.97);
}

.lf-popover-content.hidden {
opacity: 0;
visibility: hidden;
transform: translate(0, 0px);
}

.lf-player-btn-container {
display: flex;
align-items: center;
}
.lf-player-btn {
cursor: pointer;
fill: #999;
width: 14px;
}

.lf-player-btn.active {
fill: #555;
}

.lf-popover {
position: relative;
}

.lf-popover-content {
display: inline-block;
position: absolute;
background-color: #ffffff;
opacity: 1;

transform: translate(0, -10px);
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.26);
transition: all 0.3s cubic-bezier(0.75, -0.02, 0.2, 0.97);
padding: 10px;
}

.lf-popover-content.hidden {
opacity: 0;
visibility: hidden;
transform: translate(0, 0px);
}

.lf-arrow {
position: absolute;
z-index: -1;
content: '';
bottom: -9px;
border-style: solid;
border-width: 10px 10px 0px 10px;
}

.lf-left-align,
.lf-left-align .lfarrow {
left: 0;
right: unset;
}

.lf-right-align,
.lf-right-align .lf-arrow {
right: 0;
left: unset;
}

.lf-text-input {
border: 1px #ccc solid;
border-radius: 5px;
padding: 3px;
width: 60px;
margin: 0;
}

.lf-color-picker {
display: flex;
flex-direction: row;
justify-content: space-between;
height: 90px;
}

.lf-color-selectors {
display: flex;
flex-direction: column;
justify-content: space-between;
}

.lf-color-component {
display: flex;
flex-direction: row;
font-size: 12px;
align-items: center;
justify-content: center;
}

.lf-color-component strong {
width: 40px;
}

.lf-color-component input[ type='range'] {
margin: 0 0 0 10px;
}

.lf-color-component input[ type='number'] {
width: 50px;
margin: 0 0 0 10px;
}

.lf-color-preview {
font-size: 12px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding-left: 5px;
}

.lf-preview {
height: 60px;
width: 60px;
}

.lf-popover-snapshot {
width: 150px;
}
.lf-popover-snapshot h5 {
margin: 5px 0 10px 0;
font-size: 0.75rem;
}
.lf-popover-snapshot a {
display: block;
text-decoration: none;
}
.lf-popover-snapshot a:before {
content: '⥼';
margin-right: 5px;
}
.lf-popover-snapshot .lf-note {
display: block;
margin-top: 10px;
color: #999;
}
.lf-player-controls > div {
margin-right: 5px;
margin-left: 5px;
}
.lf-player-controls > div:first-child {
margin-left: 0px;
}
.lf-player-controls > div:last-child {
margin-right: 0px;
}@keyframes go2264125279{from{transform:scale(0) rotate(45deg);opacity:0;}to{transform:scale(1) rotate(45deg);opacity:1;}}@keyframes go3020080000{from{transform:scale(0);opacity:0;}to{transform:scale(1);opacity:1;}}@keyframes go463499852{from{transform:scale(0) rotate(90deg);opacity:0;}to{transform:scale(1) rotate(90deg);opacity:1;}}@keyframes go1268368563{from{transform:rotate(0deg);}to{transform:rotate(360deg);}}@keyframes go1310225428{from{transform:scale(0) rotate(45deg);opacity:0;}to{transform:scale(1) rotate(45deg);opacity:1;}}@keyframes go651618207{0%{height:0;width:0;opacity:0;}40%{height:0;width:6px;opacity:1;}100%{opacity:1;height:10px;}}@keyframes go901347462{from{transform:scale(0.6);opacity:0.4;}to{transform:scale(1);opacity:1;}}.go4109123758{z-index:9999;}.go4109123758 > *{pointer-events:auto;}
Apache has a default LimitRequestLine of 8K. Pour plus d’informations, consultez la directive principale d’Apache : directive LimitRequestLine sur le site web d’Apache.

Cette erreur peut être surmontée en augmentant la valeur de #LimitRequestFieldSize et #LimitRequestLine.

Pour AMS/ On-Prem :

La limite d’en-tête peut être augmentée dans le fichier de configuration Apache - httpd.conf.

Pour AEMaaCS :

Augmentez la limite d’en-tête de requête en ajoutant les propriétés ci-dessus dans les fichiers Vhost :

// Allow longer headersLimitRequestFieldSize <new_value>LimitRequestLine <new_value>
recommendation-more-help
3d58f420-19b5-47a0-a122-5c9dab55ec7f