Server Setup
From Triangle Wiki
Contents |
Introduction
This page outlines the processes to set the admin up on a new server.
Dual Boot
Windows Time Synchronisation
Be sure to open UDP port 123 on the firewall at your network’s edge. This is because UDP port 123 is the default port used by SNTP, which is the protocol used by W32Time for time synchronization over a network. Furthermore, if you have deployed Windows XP Service Pack 2 then you need to ensure UDP port 123 is also opened on Windows Firewall on your desktop machines as well. Create entry in any IPSEC security policies also.
Required Technologies
Currently the admin requires:
- PHP 5+
- MySQL 5+
- Apache
The system is tested with:
- Windows XP...
Server Variables
A typical readout from echo '<pre>'; print_r($_SERVER); echo '</pre>';
- [HTTP_HOST] => www.txtiamsafe.com
- [HTTP_USER_AGENT] => Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.7) Gecko/20060909 Firefox/1.5.0.7
- [HTTP_ACCEPT] => text/xml, application/xml, application/xhtml+xml, text/html; q=0.9, text/plain; q=0.8, image/png, */*; q=0.5
- [HTTP_ACCEPT_LANGUAGE] => en-gb
- [HTTP_ACCEPT_ENCODING] => gzip,deflate
- [HTTP_ACCEPT_CHARSET] => ISO-8859-1,utf-8;q=0.7,*;q=0.7
- [HTTP_KEEP_ALIVE] => 300
- [HTTP_CONNECTION] => keep-alive
- [HTTP_CACHE_CONTROL] => max-age=0
- [PATH] => C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Subversion\bin;C:\Program Files\xampp\php
- [SystemRoot] => C:\WINDOWS
- [COMSPEC] => C:\WINDOWS\system32\cmd.exe
- [PATHEXT] => .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
- [WINDIR] => C:\WINDOWS
- [SERVER_SIGNATURE] => Apache/2.2.2 (Win32) DAV/2 mod_ssl/2.2.2 OpenSSL/0.9.8b mod_autoindex_color PHP/5.1.4 Server at txtiamsafe.com Port 80
- [SERVER_SOFTWARE] => Apache/2.2.2 (Win32) DAV/2 mod_ssl/2.2.2 OpenSSL/0.9.8b mod_autoindex_color PHP/5.1.4
- [SERVER_NAME] => txtiamsafe.com
- [SERVER_ADDR] => 217.158.161.210
- [SERVER_PORT] => 80
- [REMOTE_ADDR] => 124.32.152.147
- [DOCUMENT_ROOT] => C:/Program Files/xampp/htdocs/triangle_clients/txt_i_am_safe
- [SCRIPT_FILENAME] => C:/Program Files/xampp/htdocs/triangle_clients/txt_i_am_safe/index.php
- [REMOTE_PORT] => 1083
- [GATEWAY_INTERFACE] => CGI/1.1
- [SERVER_PROTOCOL] => HTTP/1.1
- [REQUEST_METHOD] => GET
- [QUERY_STRING] =>
- [REQUEST_URI] => /
- [SCRIPT_NAME] => /index.php
- [PHP_SELF] => /index.php
- [REQUEST_TIME] => 1159233752

