emersion/OS.js-v2/master/dist-dev/.htaccess - Htaccess File

emersion/OS.js-v2/master/dist-dev/.htaccess

# Generated with `make apache-htaccess`

Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteCond %{REQUEST_URI} !^/index.html
RewriteCond %{REQUEST_URI} !^/http-bind-jabber
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ api.php [QSA,L]

# For binding to other services
<ifModule mod_proxy.c>
  <ifModule mod_proxy_http.c>
    RewriteRule http-bind-jabber/ http://localhost:5280/http-bind/ [P]
  </ifModule>
</ifModule>

<ifModule mod_headers.c>
  FileETag None
  Header unset ETag
  Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
  Header set Pragma "no-cache"
  Header set Expires "Wed, 11 Jan 1984 05:00:00 GMT"
</ifModule>

<ifModule mod_mime.c>
  AddType image/bmp .bmp
  AddType text/css .css
  AddType image/gif .gif
  AddType text/html .htm
  AddType text/html .html
  AddType image/jpeg .jpg
  AddType image/jpeg .jpeg
  AddType application/javascript .js
  AddType application/json .json
  AddType font/opentype .otf
  AddType font/opentype .ttf
  AddType image/png .png
  AddType audio/aac .aac
  AddType video/mp4 .mp4
  AddType audio/mp4 .m4a
  AddType audio/mpeg .mp1
  AddType audio/mpeg .mp2
  AddType audio/mpeg .mp3
  AddType audio/mpeg .mpg
  AddType audio/mpeg .mpeg
  AddType audio/ogg .oga
  AddType audio/ogg .ogg
  AddType audio/wav .wav
  AddType video/webm .webm
  AddType video/mp4 .m4v
  AddType video/ogg .ogv
  AddType video/x-ms-video .avi
  AddType video/x-flv .flv
  AddType video/x-matroska .mkv
  AddType application/x-python .py
  AddType text/xml .xml
  AddType text/plain .txt
  AddType text/plain .doc
  AddType osjs/dbeat .odbeat
  AddType osjs/playlist .oplist
  AddType osjs/document .odoc
  AddType osjs/draw .odraw
</ifModule>

On Github License

Files

Download PDF of Htaccess file
no-cache, Pragma, REQUEST_FILENAME, REQUEST_URI

Comments

Apache