phpgroupware-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-cvs] CVS: sitemgr/sitemgr-site htaccess,1.1,1.2 relocate.p


From: Patrick Walsh <address@hidden>
Subject: [Phpgroupware-cvs] CVS: sitemgr/sitemgr-site htaccess,1.1,1.2 relocate.php,1.1,1.2
Date: Sat, 14 Sep 2002 03:25:23 -0400

Update of /cvsroot/phpgroupware/sitemgr/sitemgr-site
In directory subversions:/tmp/cvs-serv32031

Modified Files:
        htaccess relocate.php 
Log Message:
Fixed up table of contents and index, plus some relocate code


Index: htaccess
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/sitemgr-site/htaccess,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** htaccess    4 Sep 2002 03:04:49 -0000       1.1
--- htaccess    14 Sep 2002 07:25:21 -0000      1.2
***************
*** 14,17 ****
--- 14,21 ----
  # relocate.php file's top two lines.  
  #
+ # Also, if you want your links to be pretty, change
+ # the htaccess_404 link in config.inc.php to 'enabled'
+ # from 'disabled'.
+ #
  # mr_e
  ErrorDocument 404 /path/to/sitemgr-site/relocate.php

Index: relocate.php
===================================================================
RCS file: /cvsroot/phpgroupware/sitemgr/sitemgr-site/relocate.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -r1.1 -r1.2
*** relocate.php        4 Sep 2002 03:04:49 -0000       1.1
--- relocate.php        14 Sep 2002 07:25:21 -0000      1.2
***************
*** 13,21 ****
  function localpassthru($u)
  {
!       $fp = fsockopen($GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME'], 
!               $GLOBALS['server_port']);
        if ($fp)
        {
!               fputs ($fp, "GET $u HTTP/1.0\r\nHost: localhost\r\n\r\n");
                $input = '';
                while (!feof($fp)) 
--- 13,21 ----
  function localpassthru($u)
  {
!       $server = $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME'];
!       $fp = fsockopen($server, $GLOBALS['server_port']);
        if ($fp)
        {
!               fputs ($fp, "GET $u HTTP/1.0\r\nHost: $server\r\n\r\n");
                $input = '';
                while (!feof($fp)) 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]