Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

129
Views
Problema de IOS con apache y solicitud de rango

Tengo el siguiente problema. Cuando agrego "RequestHeader unset Range" a mi .htaccess, puedo ver y abrir archivos .pdf en mi sitio web. Pero si lo hago, los dispositivos IOS ya no pueden acceder a los videos en mi sitio web, el video no se reproducirá. Si elimino "RequestHeader unset Range", los videos funcionan nuevamente pero los archivos pdf no. Desafortunadamente, mi anfitrión cambió algo. Antes todo iba bien. ¿Algúna idea de cómo arreglar esto?

Intenté lo siguiente:

 <FilesMatch "\.(PDF|pdf)$"> RequestHeader unset Range </FilesMatch>

Pero no funciona cuando agrego la regla FilesMatch.

Mi solicitud se ve así:

 "GET": { "scheme": "https", "host": "domain.de", "filename": "/de/user/recipe_pdf/2", } "Status": "416Requested Range Not Satisfiable", "Version": "HTTP/2", "Übertragen": "372 B (0 B Größe)", "Referrer Policy": "strict-origin-when-cross-origin" { "Antwortkopfzeilen (372 B)": { "headers": [ { "name": "accept-ranges", "value": "bytes" }, { "name": "cache-control", "value": "max-age=0, must-revalidate, private" }, { "name": "content-disposition", "value": "inline; filename=\"recipes.pdf\"" }, { "name": "content-length", "value": "0" }, { "name": "content-range", "value": "bytes */972493" }, { "name": "content-type", "value": "application/pdf" }, { "name": "server", "value": "nginx" } ] }

}

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

La solucion es:

 <If "%{REQUEST_URI} =~ m#^.*/recipe_pdf/.*#"> RequestHeader unset Range </If>
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!