CARVIEW |
Select Language
HTTP/2 200
date: Fri, 08 Aug 2025 19:36:52 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-robots-tag: none
etag: W/"6e9170460c6dbf0bcd231140f7c3e078"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com wss://alive-staging.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=CAXFFYR8%2BsUqYPG%2BeMiuCDoFCfAoGRHYBZ9QUSWH9boV1aw5xwlf%2BKNMakmPqKPZ8FXvU7VGWOJICmaAe2LyAz7%2FGETVHXdWRlmqr1UgdWUHZkCV9PnRDsj61pC7UZ2Aoh82uXHIas1APjuVdUqkFn0BKkYGDOnDYHtCNTlW6zQkMI13DcEyQjJPFL9rp%2FHeAFibubtJcdsmIW%2Fy2aeRyKlWM6NzB0%2F9lrxE81TWRSPtJSMOVfzW%2FXbdjYoO9kqlH7H3A1aM1Sl0185K%2BsKXmg%3D%3D--AU2Q1LeyHFyuxB9A--OORl7gyb0hl56wKWpdtz9w%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.372448887.1754681811; Path=/; Domain=github.com; Expires=Sat, 08 Aug 2026 19:36:51 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sat, 08 Aug 2026 19:36:51 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D62A:27E98E:220022:2A2EE6:689651D3
htaccess · castlabs/dashas Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 30
htaccess
Tomasz Oponowicz edited this page Jul 30, 2014
·
10 revisions
Generally speaking, the Adobe Flash Player doesn't allow the Range
header. One workaround is to use a custom query for every GET
request, e.g. ?range=0-499
.
Use the snippet below to create a new .htaccess
file and place it in the root folder of your hosting.
<IfModule headers_module>
<IfModule rewrite_module>
# ^(.*) if .htaccess in a root; ^/(.*) otherwise
RewriteEngine On
RewriteCond %{QUERY_STRING} ^(.*)bytes=(.*)$
RewriteRule ^(.*) - [L,E=range:%2]
RequestHeader set Range "bytes=%{range}e" env=range
</IfModule>
</IfModule>
In order to test your setup use curl
tool, for example (please use your own host and path):
curl -v -- "https://dashas.castlabs.com/videos/bytes/bbb/Manifest.mpd?bytes=0-18"
Your output should be similar to:
* Adding handle: conn: 0x7fbf23004000
* Adding handle: send: 0
* Adding handle: recv: 0
* Curl_addHandleToPipeline: length: 1
* - Conn 0 (0x7fbf23004000) send_pipe: 1, recv_pipe: 0
* About to connect() to dashas.castlabs.com port 80 (#0)
* Trying 176.34.236.36...
* Connected to dashas.castlabs.com (176.34.236.36) port 80 (#0)
> GET /videos/bytes/bbb/Manifest.mpd?bytes=0-18 HTTP/1.1
> User-Agent: curl/7.30.0
> Host: dashas.castlabs.com
> Accept: */*
>
< HTTP/1.1 206 Partial Content
< Date: Fri, 18 Jul 2014 09:20:14 GMT
* Server Apache/2.2.22 (Ubuntu) is not blacklisted
< Server: Apache/2.2.22 (Ubuntu)
< Last-Modified: Sun, 23 Feb 2014 19:13:47 GMT
< ETag: "1c0011-937-4f317a782b0c0"
< Accept-Ranges: bytes
< Content-Length: 19
< Access-Control-Allow-Origin: *
< Access-Control-Allow-Headers: range
< Content-Range: bytes 0-18/2359
<
* Connection #0 to host dashas.castlabs.com left intact
<?xml version="1.0"~
...please make sure that 206 Partial Content
and Content-Range: bytes 0-18/2359
are present.
The flash is very aggressive in caching. If you notice that player doesn't respond to your server side changes, please clean browser's cache (i.e. cached images and files).
Clone this wiki locally
You can’t perform that action at this time.