About
This is a server where students and student organizations at Gjøvik University College can serve their homepages. The URL for students personal homepages is http://www.stud.hig.no/~<studentnumber>/.
To publish your own homepage, create it using your preffered tool, and store it in the directory public_html in your home directory. If this directory does not exist, or you are experiencing user rights/access problems with this directory, visit https://minside.hig.no/student/fix_rights.php to resolve these problems.
Should the automatic tool mentioned in the paragraph above fail for you, the following manual method should still work. The menitioned operations are to be performed from a Linux login, you may either log in using your student account on the Linux lab (A115) or via SSH to loke.hig.no
Should the public_html directory be missing in your home directory, it needs to be created.
$ mkdir $HOME/public_html
To give Apache access to your home directory and public_html directory log in to a Linux system and execute the following commands:
$ chmod o+x $HOME $ chmod -R a+rX $HOME/public_html
The last command needs to be executed every time you make a new file under public_html on Windows. Organization file areas are located under /home/studenter/organisasjoner under Linux.
The server supports PHP and MySQL among other things. The official address for the student MySQL server is mysql.stud.hig.no. Visit https://minside.hig.no/student/ if you want to create a MySQL database.
Limits
Due to blog and forum software with security vulnerabilities, the web server has restricted network access. You can't make outgoing connections except:
mysql.stud.hig.no MySQL on TCP port 3306 stan.hig.no MySQL on TCP port 3306 ldap.hig.no LDAP on TCP port 389 hig1.hig.no LDAP on TCP port 389 and 636 carol.hig.no LDAP on TCP port 389 and 636
Email sending is also restricted. You can only send email to addresses ending with hig.no. When using PHPs email function, set your envelope from address like this if you want error messages in return:
mail($to, $subject, $body, $headers, '-f001234@hig.no');
Due to many systems running from this webserver, the PHP and MySQL versions available on this server are locked to the same major version for the duration of a semester. This will sometimes lead to some CMS-es and blog engines not working in their newest versions. A list of working versions are presented below: