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 [2020/05/13 12:21] – [Personal CERN website] iwncern:website [2023/09/28 16:22] – [Copy to eos] iwn
Line 19: Line 19:
 SSLRequireSSL # The modules only work using HTTPS SSLRequireSSL # The modules only work using HTTPS
  
-AuthType shibboleth +AuthType openid-connect 
-ShibRequireSession On +  Require valid-user 
-ShibRequireAll On +AuthType openid-connect 
-ShibExportAssertion Off +Require claim cern_roles:view-site-root
-Require valid-user +
-Require ADFS_GROUP cms-physics-access+
  
 Options +Indexes Options +Indexes
Line 30: Line 28:
  
 Other AD FS groups can be found in CERN's [[https://e-groups.cern.ch/e-groups/EgroupsSearch.do|E-groups]]. Other AD FS groups can be found in CERN's [[https://e-groups.cern.ch/e-groups/EgroupsSearch.do|E-groups]].
- 
  
 ==== Setup index ==== ==== Setup index ====
Line 58: 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 76: 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