Web: Difference between revisions

From FyshyWyky
Jump to navigationJump to search
(→‎Dynamic Content: Note on CGI filename restrictions for them to be run)
("Experimental Apache 2.0.x" section)
Line 24: Line 24:


Our default PHP configuration is somewhat paranoid and as a result you may find you need to adjust some php settings, either by getting [mailto:webmaster@fysh.org us] to change the central config files, or by you making use of a .htaccess file as appropriate.  The setting that most often needs adjustment is open_basedir, although we also default register_globals to 'Off'.
Our default PHP configuration is somewhat paranoid and as a result you may find you need to adjust some php settings, either by getting [mailto:webmaster@fysh.org us] to change the central config files, or by you making use of a .htaccess file as appropriate.  The setting that most often needs adjustment is open_basedir, although we also default register_globals to 'Off'.
= Apache 2.0.x =
Starting 23rd November 2006 there is an experimental installation of Apache 2.0.* running on bowl.fysh.org using port 81 (as opposed to the usual port 80 for HTTP).  Once the configuration of this matches the current Apache 1.3.x web server and sufficient testing has been carried out all Fysh.Org web services will be moved over to it (back on the normal port 80).  As such, if a web service that you utilise is listed below please do test it with port 81 and report any problems to [mailto:webmaster@fysh.org The Fyshy Webmaster].
Currently this web server should properly be serving pages under:
*[http://www.fysh.org:81/ www.fysh.org] including user pages, i.e. [http://www.fysh.org:81/~athan/ www.fysh.org/~athan/] and CGIs if properly named with a .cgi or .pl extension.
*[http://wiki.fysh.org:81/ wiki.fysh.org]
*[http://squirrelmail.fysh.org:81/ squirrelmail.fysh.org]


[[Category:Services]]
[[Category:Services]]

Revision as of 13:09, 23 November 2006

Introduction

bowl.fysh.org runs web servers under the primary hostname of www.fysh.org. We currently utilise Apache 1.3.x (as supplied in Debian 'stable') for this purpose, with one instance running on port 80 for http access and a separate instance on port 443 for https access.

We may also run additional instances of apache, or other web server software, on other ports as needed.

Webmaster

All enquiries about www.fysh.org and other web services should be directed to the Fyshy Webmaster.

User Pages

Any user with an account on fysh can create a page on the [WWW] simply by placing the requisite files in a directory called public_html in their home directory. This will yield a URL of http://www.fysh.org/~username/ for example.

User Domains

Additionally we will host the web pages for any domain that a user owns or controls and can get the DNS changed to point to our IP. Contact the Fyshy Webmaster to enquire about setting this up. Note that you should ensure that you have a valid and working webmaster email account under your own domain when this is set up.

Note that whilst we can offer HTTPS access to your domain it will be with a self-signed certificate for www.fysh.org, and as such any user accessing your domain's web page via HTTPS will get a warning about the hostname mismatch. This is because an SSL certificate for HTTPS is tied to the hostname that the IP the server runs on resolves to. We only have the one IP to use for web services and thus only one possible HTTPS certificate.

If you have a desperate need to run a domain with HTTPS on the www.fysh.org server under your own domain and need to have your own distinct certificate then we may be able to arrange for additional IP(s) as needed, but we will have to pass on the charges of our hosting provider for this to you.

Dynamic Content

Going beyond simple static content we support use of [CGI]s, written using any of the installed development languages, and PHP scripts directly via an Apache module. NB: in the case of CGIs the filename will have to end with either .cgi or .pl, unless the script is inside a virtual host's /cgi-bin/ directory. Files whose name have no extension or other than .cgi or .pl will have their contents displayed instead of being run.

PHP Configuration

We currently only provide and support version 4.3.10 of PHP, as supplied by Debian 'stable'.

Our default PHP configuration is somewhat paranoid and as a result you may find you need to adjust some php settings, either by getting us to change the central config files, or by you making use of a .htaccess file as appropriate. The setting that most often needs adjustment is open_basedir, although we also default register_globals to 'Off'.

Apache 2.0.x

Starting 23rd November 2006 there is an experimental installation of Apache 2.0.* running on bowl.fysh.org using port 81 (as opposed to the usual port 80 for HTTP). Once the configuration of this matches the current Apache 1.3.x web server and sufficient testing has been carried out all Fysh.Org web services will be moved over to it (back on the normal port 80). As such, if a web service that you utilise is listed below please do test it with port 81 and report any problems to The Fyshy Webmaster.

Currently this web server should properly be serving pages under: