This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
cern:website [2020/05/13 11:24] – [Personal CERN website] iwn | cern:website [2023/09/29 17:29] (current) – [Personal CERN website] iwn | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | | + | ======= Personal CERN website ======= |
+ | |||
+ | You can make a personal website to share documents in your EOS directory via the World Wide Web. Please follow the instructions on [[https:// | ||
+ | |||
+ | The steps are basically: | ||
+ | - Create a ''/ | ||
+ | - Promote it to a website via CERNBox and CERN Web services. | ||
+ | - Configure access with '' | ||
+ | - Configure each webpage with an index file ('' | ||
+ | - Add content. | ||
- | You can make a personal website to share documents in your ''/ | ||
===== Setup ===== | ===== Setup ===== | ||
+ | |||
+ | ==== Setup access ==== | ||
You need to configure access to CMS members as described [[https:// | You need to configure access to CMS members as described [[https:// | ||
Line 8: | Line 19: | ||
SSLRequireSSL # The modules only work using HTTPS | SSLRequireSSL # The modules only work using HTTPS | ||
- | AuthType | + | AuthType |
- | ShibRequireSession On | + | Require valid-user |
- | ShibRequireAll On | + | AuthType openid-connect |
- | ShibExportAssertion Off | + | Require |
- | Require valid-user | + | |
- | Require | + | |
Options +Indexes | Options +Indexes | ||
Line 19: | Line 28: | ||
Other AD FS groups can be found in CERN's [[https:// | Other AD FS groups can be found in CERN's [[https:// | ||
+ | |||
+ | ==== Setup index ==== | ||
If you want to display documents and directories in a custom style (in particular plots), you can add an '' | If you want to display documents and directories in a custom style (in particular plots), you can add an '' | ||
Line 44: | Line 55: | ||
In this way '' | In this way '' | ||
< | < | ||
- | < | + | < |
ForceType text/plain | ForceType text/plain | ||
Header set Content-Type " | Header set Content-Type " | ||
</ | </ | ||
+ | |||
+ | <Files *.rtf> | ||
+ | ForceType text/rtf | ||
+ | Header set Content-Type " | ||
+ | </ | ||
</ | </ | ||
Line 61: | Line 77: | ||
===== Copy to eos ===== | ===== Copy to eos ===== | ||
- | Use secure copy '' | + | EOS is now mounted on PSI T3, so you mount with |
+ | <code bash> | ||
+ | kinit $USER@CERN.CH && eosfusebind -g krb5 $HOME/ | ||
+ | </ | ||
+ | or (outdated) | ||
+ | <code bash> | ||
+ | mkdir ~/eos | ||
+ | sshfs -o allow_other, | ||
+ | </ | ||
+ | Make sure not to forget or add anymore trailing ''/'' | ||
+ | With each new session, you can remount using | ||
+ | <code bash> | ||
+ | fusermount -u ~/eos | ||
+ | </ | ||
+ | <wrap tip>Pro tip</ | ||
+ | <code bash> | ||
+ | alias meos=' | ||
+ | </ | ||
+ | |||
+ | Alternatively, | ||
<code bash> | <code bash> | ||
scp test.txt < | scp test.txt < | ||
</ | </ | ||
- | It is also possible to mount your personal ''/ | + | It is also possible to mount your personal ''/ |