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
cern:website [2021/06/15 12:12] – [Setup access] iwncern:website [2023/09/29 17:29] (current) – [Personal CERN website] iwn
Line 1: Line 1:
  ======= Personal CERN website =======  ======= Personal CERN website =======
  
-You can make a personal website to share documents in your ''/afs'' or ''/eos'' directory via the World Wide Web. Please follow the instructions on [[https://cernbox-manual.web.cern.ch/cernbox-manual/en/web/|this page]].+You can make a personal website to share documents in your EOS directory via the World Wide Web. Please follow the instructions on [[https://cernbox-manual.web.cern.ch/cernbox-manual/en/web/|this page]].
  
 The steps are basically: The steps are basically:
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.1623751954.txt.gz · Last modified: 2021/06/15 12:12 by iwn