The framework is not happy: :-(
.php Not accepted in URI

Stack Backtrace:

File: /usr/www/users/capetock/class/router.class.php in Line Number: 102
Function called: __check_uri From Class: router

100.
101. /* Check to see whether uri is safe */
102. $this->__check_uri($uri);
103.
104. $mysql=mysql::singleton();

File: /usr/www/users/capetock/class/router.class.php in Line Number: 22
Function called: __read_url From Class: router

20. function __construct($uri = false) {
21.
22. $this->__read_url($uri);
23.
24. }

File: /usr/www/users/capetock/bootstrap.php in Line Number: 42
Function called: __construct From Class: router

40.
41. /* Get the routes */
42. $router=new router($uri);
43.
44. $parent_controller = $router->get_parent_controller();

File: /usr/www/users/capetock/index.php in Line Number: 8
Function called: require_once

6. Turn the sanity check on to see whether all is in place.
7. */
8. require_once('./bootstrap.php');

array(48) {
  ["PHPRC"]=>
  string(32) "/usr/www/httpd/php5-ini/capetock"
  ["PATH"]=>
  string(28) "/usr/local/bin:/usr/bin:/bin"
  ["PWD"]=>
  string(22) "/usr/www/httpd/cgi-bin"
  ["SHLVL"]=>
  string(1) "0"
  ["FCGI_ROLE"]=>
  string(9) "RESPONDER"
  ["REDIRECT_REDIRECT_UNIQUE_ID"]=>
  string(24) "TzHzn8QWjhIAAHXfz6YAAAAI"
  ["REDIRECT_REDIRECT_STATUS"]=>
  string(3) "200"
  ["REDIRECT_UNIQUE_ID"]=>
  string(24) "TzHzn8QWjhIAAHXfz6YAAAAI"
  ["REDIRECT_HANDLER"]=>
  string(11) "php5-script"
  ["REDIRECT_STATUS"]=>
  string(3) "200"
  ["UNIQUE_ID"]=>
  string(24) "TzHzn8QWjhIAAHXfz6YAAAAI"
  ["HTTP_X_CC_ID"]=>
  string(8) "ccc04-02"
  ["HTTP_IF_MODIFIED_SINCE"]=>
  string(29) "Mon, 09 Aug 2010 09:52:27 GMT"
  ["HTTP_HOST"]=>
  string(23) "www.capetownclub.org.za"
  ["HTTP_USER_AGENT"]=>
  string(48) "CCBot/1.0 (+http://www.commoncrawl.org/bot.html)"
  ["HTTP_ACCEPT"]=>
  string(83) "text/html,application/xhtml+xml,text/xml;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5"
  ["HTTP_ACCEPT_LANGUAGE"]=>
  string(14) "en-us,en;q=0.5"
  ["HTTP_ACCEPT_ENCODING"]=>
  string(4) "gzip"
  ["HTTP_ACCEPT_CHARSET"]=>
  string(30) "ISO-8859-1,utf-8;q=0.7,*;q=0.7"
  ["HTTP_CONNECTION"]=>
  string(5) "close"
  ["HTTP_CACHE_CONTROL"]=>
  string(8) "no-cache"
  ["HTTP_PRAGMA"]=>
  string(8) "no-cache"
  ["HTTP_COOKIE"]=>
  string(36) "PHPSESSID=58fvrt3n7pub29boc53m0q06r3"
  ["SERVER_SIGNATURE"]=>
  string(154) "
Apache/2.2.16 (Debian) mod_fcgid/2.3.6 mod_ssl/2.2.16 OpenSSL/0.9.8o mod_perl/2.0.4 Perl/v5.10.1 Server at capetownclub.org.za Port 80
" ["SERVER_SOFTWARE"]=> string(96) "Apache/2.2.16 (Debian) mod_fcgid/2.3.6 mod_ssl/2.2.16 OpenSSL/0.9.8o mod_perl/2.0.4 Perl/v5.10.1" ["SERVER_NAME"]=> string(19) "capetownclub.org.za" ["SERVER_ADDR"]=> string(13) "196.22.142.18" ["SERVER_PORT"]=> string(2) "80" ["REMOTE_ADDR"]=> string(14) "38.107.179.241" ["DOCUMENT_ROOT"]=> string(23) "/usr/www/users/capetock" ["SERVER_ADMIN"]=> string(29) "webmaster@capetownclub.org.za" ["SCRIPT_FILENAME"]=> string(33) "/usr/www/users/capetock/index.php" ["REMOTE_PORT"]=> string(5) "55366" ["REDIRECT_URL"]=> string(10) "/index.php" ["GATEWAY_INTERFACE"]=> string(7) "CGI/1.1" ["SERVER_PROTOCOL"]=> string(8) "HTTP/1.1" ["REQUEST_METHOD"]=> string(3) "GET" ["QUERY_STRING"]=> string(0) "" ["REQUEST_URI"]=> string(16) "/links/index.php" ["SCRIPT_NAME"]=> string(10) "/index.php" ["ORIG_SCRIPT_FILENAME"]=> string(42) "/home/httpd/cgi-bin/php5-fcgi-starter.fcgi" ["ORIG_PATH_INFO"]=> string(10) "/index.php" ["ORIG_PATH_TRANSLATED"]=> string(33) "/usr/www/users/capetock/index.php" ["ORIG_SCRIPT_NAME"]=> string(31) "/cgi-sys/php5-fcgi-starter.fcgi" ["PHP_SELF"]=> string(10) "/index.php" ["REQUEST_TIME"]=> int(1328673695) ["argv"]=> array(0) { } ["argc"]=> int(0) }
array(1) {
  ["__stack"]=>
  &array(1) {
    ["urls"]=>
    array(9) {
      [0]=>
      string(25) "/pages/member_application"
      [1]=>
      string(24) "/applicants/signup_step1"
      [2]=>
      string(23) "/pages/member_protocols"
      [3]=>
      string(23) "/pages/reciprocal_clubs"
      [4]=>
      string(20) "/pages/accommodation"
      [5]=>
      string(17) "/pages/facilities"
      [6]=>
      string(15) "/pages/contacts"
      [7]=>
      string(12) "/pages/login"
      [8]=>
      string(12) "/pages/index"
    }
  }
}