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
Next revisionBoth sides next revision
cern:website [2020/05/13 12:20] iwncern:website [2021/06/15 12:12] – [Setup access] iwn
Line 4: Line 4:
  
 The steps are basically: The steps are basically:
-  - Create a ''/eos/user/${USER::1}/${USER::1}/www'' directory on EOS (''lxplus'').+  - Create a ''/eos/user/${USER::1}/$USER/www'' directory on EOS (''lxplus'').
   - Promote it to a website via CERNBox and CERN Web services.   - Promote it to a website via CERNBox and CERN Web services.
   - Configure access with ''.htaccess''.   - Configure access with ''.htaccess''.
Line 13: Line 13:
 ===== Setup ===== ===== Setup =====
  
-===== Setup access =====+==== Setup access ====
  
 You need to configure access to CMS members as described [[https://espace.cern.ch/webservices-help/websitemanagement/ConfiguringAFSSites/Pages/AccesscontrolonAFSsites.aspx|here]] with an Apache ''[[https://httpd.apache.org/docs/2.4/howto/htaccess.html|.htaccess]]'' file in you ''www'' folder: You need to configure access to CMS members as described [[https://espace.cern.ch/webservices-help/websitemanagement/ConfiguringAFSSites/Pages/AccesscontrolonAFSsites.aspx|here]] with an Apache ''[[https://httpd.apache.org/docs/2.4/howto/htaccess.html|.htaccess]]'' file in you ''www'' folder:
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 31: Line 29:
 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 indexing =====+
  
 If you want to display documents and directories in a custom style (in particular plots), you can add an ''index.html'' or ''index.php'' file, for example [[cern:index|this one]]. If you want to display documents and directories in a custom style (in particular plots), you can add an ''index.html'' or ''index.php'' file, for example [[cern:index|this one]].
cern/website.txt · Last modified: 2023/09/29 17:29 by iwn