Personal web site
Staff, guests and students can use part of their personal storage to build and present a web site.
Conditions of use (‘small print’)
Individual users are personally responsible for the contents of their web site.
You should be aware of the intended use of personal webpages
You should be aware of the regulations relating to the safe use of ICT facilities at Utrecht University, available for staff (UU intranet) and students (UU student site).
You should also be aware of privacy regulations, which means (among other things) you should not publish personal data unless allowed; see the UU privacy statement and information on privacy on the UU intranet.
Regarding web sites on faculty web servers, please note that you are not allowed to:
- publish material that infringes any laws or regulations, specifically concerning privacy or intellectual property, or
- construct a web site that interferes with the functioning of our network or services, or
- use your web site for private purposes with a commercial character.
We will periodically ask you if your personal website is still needed. Websites that are no longer needed or whose owner is not active are closed for access via the web. The information is retained, but can no longer be displayed via a web interface such as a browser.
Technical limitations
- Be aware that our servers are not suited for running Content Management Systems such as Wordpress, and that we cannot give much support in tailoring your web site. Check the information on web sites on faculty servers.
- It is possible to create a web site on a project space, but web pages are not shown automatically. See also the information on Storage_research_data_(Faculty_of_Science) and Project_storage:_how_to.
Setting up a web site on your personal storage
You can request a personal website in UU-TopDesk. Please state: Science Faculty personal website
When the site has been set up you will find a folder named www
at the root of your personal storage. Files placed in this folder will be shown automatically through a web interface.
The base address of your web site is
https://webspace.science.uu.nl/~solisid
where solisid
is your own Solis-id, e.g.:
https://webspace.science.uu.nl/~f051317.
Some technical details
- HTML pages should end with
.htm
or.html
.
in order of preference:
Index.html
index.html
Index.htm
index.htm
home.html
home.htm
Default.htm
default.htm
index.shtml
index.php
- There is a number of file names that are recognized as default page names — see box on the right.
A default page is the one shown when a browser request does contain a folder but no file name. If no default page is found, an error messages will be sent to the browser. - File names are case-sensitive, so
Index.html
andindex.html
are different files and may reside in the same directory; the web server will showIndex.html
as the default page, since it comes beforeindex.html
in the preferred order. - Take notice of the previous point also when distributing your web address. As an example, suppose you have a page file called
MyPaper.htm
. Then the correct web address would behttps://webspace.science.uu.nl/~solisid/MyPaper.htm
. The addresshttps://webspace.science.uu.nl/~solisid/mypaper.htm
would result in a 'page not found' error. - Your Solis-id is always written in lower case in web addresses.
- The web server is Apache 2.4.37.
- PHP 8.0.27 is activated for webspace and project pages.
.htaccess
is activated.- Server Side Includes (SSI) are activated, but by default only for
.shtml
files (see the SSI-page on how to change this behavior).
Permissions
Upload directories
To create an upload directory, give user apache full permissions :
% chmod 757 ~/www/upload/incoming/
In your php-script, copy (instead of rename) the uploaded file :
$tmp_name = $_FILES [ 'file' ] [ 'tmp_name' ] ; if ( is_uploaded_file ( $tmp_name ) ) { if ( copy ( $tmp_name, $dst ) ) { chmod ( $dst, 0644 ) ; ... } }
Deny browsing users access to your uploaded files :
% echo "Require all denied" > ~/www/upload/incoming/.htaccess % chmod 644 ~/www/upload/incoming/.htaccess