location: Diff for "Homepage"

Institute of Mathematics - PublicMathWiki:

Differences between revisions 1 and 13 (spanning 12 versions)
Revision 1 as of 2017-06-19 08:48:27
Size: 25
Editor: dmorci
Comment:
Revision 13 as of 2017-06-20 14:10:36
Size: 2172
Editor: crose
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Describe Homepage here. = Personal Homepage =

All institutes members are automatically listed (http://www.math.uzh.ch/?Kontaktmathematik) on the institutes page (as long as they are employed), including a detailed '''personal page''' with subpages for Research, CV and Publications. The data shown are either automatically generated and (optional) manually extended by the User via 'Local Info' (see below).

The other possibility are a directory where the user can create HTML files directly.

== Personal Homepage (Local Info) ==

 1. Go to Local Info [[https://www.math.uzh.ch/li/]] > Login > Personal homepage
 1. For every page (Main, Research, ...) a list of records can be created. Each record might contain text, links, pictures or PDFs for download. To style the output, use HTML.

== Personal homepage (HTML) ==

 * It's necessary to have knowledge in HTML! The support group won't help you fixing HTML / CSS or other problems. If you don't know HTML, use the offer above.
 * Please contact [[http://www.math.uzh.ch/support]] and ask to setup the necessary 'public_html' directory and coressponding URL.
 * In your home directory a new directory called 'public_html' will appear. Please save all of your homepage files there.
 * The entry page has to be called 'index.html' (the filename has to be lowercase).
 * After creating new files: open a terminal and type and press return: {{{
setwww
}}}
 * The URL are typically: http://user.math.uzh.ch/<lastname>

=== Password protection ===
{{{
Create the file .htaccess in the access restricted directory
e.g.: ~/public_html/private/.htaccess
Content (without dashes):
-------------------------------------------
AuthName "private stuff login"
AuthType Basic
AuthUserFile /srv/www/<surname>/.htaccessusers
require valid-user
-------------------------------------------
Create as much user as you like:
if there is no .htaccessusers file
htpasswd -c ~/public_html/.htaccessusers <username>
if there is a .htaccessusers file and you would like to add or alter a user/password
htpasswd ~/public_html/.htaccessusers <username>
Take care that the webserver is allowed to access your config files
}}}

Personal Homepage

All institutes members are automatically listed (http://www.math.uzh.ch/?Kontaktmathematik) on the institutes page (as long as they are employed), including a detailed personal page with subpages for Research, CV and Publications. The data shown are either automatically generated and (optional) manually extended by the User via 'Local Info' (see below).

The other possibility are a directory where the user can create HTML files directly.

Personal Homepage (Local Info)

  1. Go to Local Info https://www.math.uzh.ch/li/ > Login > Personal homepage

  2. For every page (Main, Research, ...) a list of records can be created. Each record might contain text, links, pictures or PDFs for download. To style the output, use HTML.

Personal homepage (HTML)

  • It's necessary to have knowledge in HTML! The support group won't help you fixing HTML / CSS or other problems. If you don't know HTML, use the offer above.
  • Please contact http://www.math.uzh.ch/support and ask to setup the necessary 'public_html' directory and coressponding URL.

  • In your home directory a new directory called 'public_html' will appear. Please save all of your homepage files there.
  • The entry page has to be called 'index.html' (the filename has to be lowercase).
  • After creating new files: open a terminal and type and press return:

    setwww
  • The URL are typically: http://user.math.uzh.ch/<lastname>

Password protection

Create the file .htaccess in the access restricted directory
e.g.: ~/public_html/private/.htaccess
Content (without dashes):
-------------------------------------------
AuthName "private stuff login"
AuthType Basic
AuthUserFile /srv/www/<surname>/.htaccessusers
require valid-user
-------------------------------------------
Create as much user as you like:
if there is no .htaccessusers file
htpasswd -c ~/public_html/.htaccessusers <username>
if there is a .htaccessusers file and you would like to add or alter a user/password
htpasswd ~/public_html/.htaccessusers <username>
Take care that the webserver is allowed to access your config files

PublicMathWiki: Homepage (last edited 2023-07-15 10:11:02 by crose)