User Tools

Site Tools


cern:website

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
cern:website [2021/06/15 12:12] – [Setup access] iwncern:website [2023/09/28 16:22] – [Copy to eos] iwn
Line 55: Line 55:
 In this way ''.log'' files accessible on your website will be opened as a plain ASCII text file in the browser, instead of being downloaded. More content types ("MIME types") can be found [[https://www.lifewire.com/file-extensions-and-mime-types-3469109|here]]. To configure multiple extensions in the same way (''?i:'' is for case-insensitivity): In this way ''.log'' files accessible on your website will be opened as a plain ASCII text file in the browser, instead of being downloaded. More content types ("MIME types") can be found [[https://www.lifewire.com/file-extensions-and-mime-types-3469109|here]]. To configure multiple extensions in the same way (''?i:'' is for case-insensitivity):
 <code> <code>
-<FilesMatch "\.(?i:log|py|sh)$">+<FilesMatch "\.(?i:log|py|sh|tex)$">
   ForceType text/plain   ForceType text/plain
   Header set Content-Type "text/plain"   Header set Content-Type "text/plain"
 </FilesMatch> </FilesMatch>
 +
 +<Files *.rtf>
 +  ForceType text/rtf
 +  Header set Content-Type "text/rtf"
 +</Files>
 </code> </code>
  
Line 73: Line 78:
  
 EOS is now mounted on PSI T3, so you mount with EOS is now mounted on PSI T3, so you mount with
 +<code bash>
 +kinit $USER@CERN.CH && eosfusebind -g krb5 $HOME/krb5cc_$UID
 +</code>
 +or (outdated)
 <code bash> <code bash>
 mkdir ~/eos mkdir ~/eos
cern/website.txt · Last modified: 2023/09/29 17:29 by iwn