Personal Pages✯
Looking for public.isima.fr? → Public pages
The public.isima.fr/<login> service is covered in a
dedicated page. It serves the public_html of
your pedagogical personal directory (that of your VMs and classroom machines), as
static files only: no execution — so no PHP —, no authentication, no .htaccess, no
directory listing. The perso.* pages described below are served from your
~/shared personal space.
Documentation for perso.[isima|limos].fr
This page explains how to manage your personal web page on the new personal page server
perso.[isima|limos].fr (both perso.isima.fr and perso.limos.fr point to the same
server 193.55.95.57).
Personal pages currently work for professors, students, and staff.
For students, the personal page exists only for the duration of their studies at ISIMA; no redirection is provided after graduation
Authentication is always done with your UCA login/password
SSH access to this machine is only possible after connecting to the VPN
Connecting✯
ssh username@perso.isima.fr
ssh username@perso.limos.fr
On Windows 10, it is also possible to use SSH directly (usually enabled by default; otherwise, go here).
Your home directory mounts the content of your personal space (dirs).
You can also manage your personal page via ownCloud
To have a personal page, you must have a public_html directory in your home, created automatically, with the following permissions:
drwxr-xr-x
user: username
group: grppersoapache
name: public_html
Any file (in particular HTML files) in this public_html directory is visible at
https://perso.isima.fr/~username and https://**perso.limos.fr/~username.
A public_html/index.html file has also been created by default; you can replace it with your own index page.
Please note that you must choose an official URL for your personal page; otherwise, it will be invisible in Google search results
Choosing the official URL for your personal page (to be indexed by search engines)✯
Google de-references (makes invisible in its results) pages with duplicate content.
Therefore, you must choose the official URL for your personal page: either
https://perso.isima.fr/~username or https://perso.limos.fr/~username.
This is managed by the public_html/.htaccess file, which is also created automatically. By default, the official URL is https://perso.isima.fr/~username, and the public_html/.htaccess file contains:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^perso.limos.fr$
RewriteRule (.*) https://perso.isima.fr%{REQUEST_URI} [R=301,L]
To have an official page at https://perso.limos.fr/~username, simply modify public_html/.htaccess as follows:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^perso.isima.fr$
RewriteRule (.*) https://perso.limos.fr%{REQUEST_URI} [R=301,L]
The unused URL will always redirect to the official address
Changing the official URL of your personal page (do not use my username)✯
If you do not want to use your username for the official URL of your personal page, send your username and your new-username-you-have-chosen by opening a ticket at https://support.isima.fr/.
- Category: "Services" > Subcategory: "Personal Page" > Title: "Vanity URL for personal page"
- Specify your username and the one you wish for the official URL
- Also specify whether you want to keep the '~' prefix in the URL
Vanity URLs are reserved for permanent staff
Updating my personal page✯
To update your personal page, you can:
- connect directly via SSH (scp, rsync, WinSCP, etc.)
- use your personal space on homedirs
- use a git hook
- use GitLab CI
Updating my personal page with rsync✯
rsync -rvz my_site/ username@perso.isima.fr:public_html/my_site/
Add --delete if you want the copy to be an exact mirror (files deleted locally are also deleted on the server — use with caution).
Do not use rsync -a (nor -p, -g, --perms, --group)
The -a flag preserves the group and permissions from your machine: the copied files retain your primary group and local rights, and the web server, which reads your files via the grppersoapache group, can no longer access them — your pages will return a 403 error.
The public_html directory is setgid 2750 (everything created inside inherits the grppersoapache group) with a default ACL ensuring read access: a copy without preserving rights is readable without additional settings.
If rights have already been overwritten by a previous copy, fix them with:
chgrp -R grppersoapache ~/public_html
find ~/public_html -type d -exec chmod 2750 {} +
find ~/public_html -type f -exec chmod 640 {} +
setfacl -d -m group::r-x ~/public_html
Using a CMS for your personal pages✯
A static site does not require updates. A dynamic site does!
- For security reasons, we recommend not using a CMS to maintain your personal page.
- If you really want a CMS, consider Dokuwiki or grav, which do not use databases
- If you absolutely want to use a CMS with a database, send a strongly justified request to https://support.isima.fr/
- Category: "Services" > Subcategory: "Personal Page" > Title: "CMS with database for personal page"
Setting up a redirection✯
- To automatically redirect internet users and search engines to your new personal page from the old one, leave only the following
public_html/.htaccessfile on the old personal page at fc.isima.fr:
Redirect 301 /~username-on-glouglou https://perso.isima.fr/~username
-
Replace https://perso.isima.fr with https://perso.limos.fr if this is the domain you chose as the official URL for your personal page.
-
Replace username with new-username-you-have-chosen if you changed the official URL of your personal page.
Please take the time to verify all redirections carefully
Using frames (not recommended)✯
Add the following line to your public_html/.htaccess:
Header always unset X-Frame-Options
Support✯
- Category: "Services" > Subcategory: "Personal Page"