Update of /cvsroot/fink/web
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2067

Modified Files:
        README.website-split header.inc 
Log Message:
further split the website, with the pdb going to pdb.finkproject.org


Index: README.website-split
===================================================================
RCS file: /cvsroot/fink/web/README.website-split,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- README.website-split        16 Oct 2005 22:15:18 -0000      1.3
+++ README.website-split        25 Oct 2005 01:01:48 -0000      1.4
@@ -1,12 +1,13 @@
-As of October, 2004, the Fink website has two portions, hosted in different
-places.  This CVS repository contains all files used by both portions.
+As of October, 2005, the Fink website has three portions, hosted in different
+places.  This CVS repository contains all files used by all portions.
 
 Thus, to fully update the website requires three steps:
  1) update the content in CVS;
  2) log on to ssh.sourceforge.net, change to the fink htdocs directory,
     and run ./update.sh ;
  3) after an appropriate delay, log on to sampson.opendarwin.org, cd to
-    /Volumes/src/finkbindist , and run ./update.sh .
+    /Volumes/src2/fink/finkbindist , and run ./update.sh ; then cd to
+    /Volumes/src2/fink/pdb.finkproject.org/htdocs and run ./update.sh .
 (The reason for a delay in step 3 is that the CVS checkout of the web
 content is via anonymous pserver access, which is only updated at sourceforge
 after a delay.)
@@ -20,4 +21,13 @@
 other hand, bindist/index.php sets up the index bar on the left of the page
 to point back to the sourceforge.net site.
 
-The .cvsignore file contains
\ No newline at end of file
+Similarly, the file header.inc redirects the 'packages' part of the website
+to pdb.finkproject.org .  The file pdb/header.inc makes sure that any
+stray URL's of the form fink.sourceforge.net/pdb/... get redirected to the
+pdb.finkproject.org site.
+
+The .cvsignore file contains an entry for index.shtml; on the two remote
+sites, this is an empty file which prevents the web content one level
+above that of the remote site from being displayed by the remote webserver
+(while allowing us to use the same CVS files for both the main and the
+remote sites).
\ No newline at end of file

Index: header.inc
===================================================================
RCS file: /cvsroot/fink/web/header.inc,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -d -r1.94 -r1.95
--- header.inc  13 Jun 2005 11:50:41 -0000      1.94
+++ header.inc  25 Oct 2005 01:01:48 -0000      1.95
@@ -99,13 +99,13 @@
 );
 
 $section_files = array(
-       'home' => 'index.php?phpLang='. $lang_code,
-       'download' => 'download/index.php?phpLang='. $lang_code,
-       'packages' => 'pdb/index.php?phpLang='. $lang_code,
-       'help' => 'help/index.php?phpLang='. $lang_code,
-       'faq' => 'faq/index.php?phpLang='. $lang_code,
-       'documentation' => 'doc/index.php?phpLang='. $lang_code, 
-       'mailing-lists' => 'lists/index.php?phpLang='. $lang_code
+       'home' => 'http://fink.sourceforge.net/index.php?phpLang='. $lang_code,
+       'download' => 
'http://fink.sourceforge.net/download/index.php?phpLang='. $lang_code,
+       'packages' => 'http://pdb.finkproject.org/pdb/index.php?phpLang='. 
$lang_code,
+       'help' => 'http://fink.sourceforge.net/help/index.php?phpLang='. 
$lang_code,
+       'faq' => 'http://fink.sourceforge.net/faq/index.php?phpLang='. 
$lang_code,
+       'documentation' => 
'http://fink.sourceforge.net/doc/index.php?phpLang='. $lang_code, 
+       'mailing-lists' => 
'http://fink.sourceforge.net/lists/index.php?phpLang='. $lang_code
 );
 
 if (!$section) $section = "home";
@@ -321,11 +321,11 @@
                if ($section == $key && 1 == $nonav) {
                        echo '<div class="selected" >'. $section_names[$key] . 
"</div></li>\n";
                } elseif ($section == $key) {
-                       echo '<a href="' . $linkroot . $section_files[$key] . 
'">' . $section_names[$key] . "</a></li>\n";
+                       echo '<a href="' . $section_files[$key] . '">' . 
$section_names[$key] . "</a></li>\n";
                        insert_sub ($navbox, $active_page);
                        echo "\t\t";
                } else {
-                       echo '<a href="' . $linkroot . $section_files[$key] . 
'">' . $section_names[$key] . "</a></li>\n";
+                       echo '<a href="' . $section_files[$key] . '">' . 
$section_names[$key] . "</a></li>\n";
                }
        } 
 ?>



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to