Web pages and scripts that you write are served by Apache. This mature web server
is the most popular on the Internet. As well as serving HTML pages you write as-is, it can
also access other systems to run scripts and web applications in a variety of languages.
Accessing this URL will set up Apache for your account:
When your account is activated you will find a sample index.html file in
your ~/DEVWEB/2019/ directory.
CGI (Common Gateway Interface) defines a way for a web server to interact with external content-generating programs, which are often referred to as CGI programs or CGI scripts.
Create your CGI scripts in your ~/DEVWEB/2019/ directory, give
them a .cgi extension and make sure they are executable (e.g. chmod +x myscript.cgi).
The CGI will have the URL: https://devweb2019.cis.strath.ac.uk/~username/myscript.cgi
You can write CGI scripts in lots of different languages such as Perl, Ruby, Python, C etc.
PHP files should be placed directly into your ~/DEVWEB/2019/
directory and have an extension of .php
The URL to access these PHP files is https://devweb2019.cis.strath.ac.uk/~username/filename.php