From: <se...@pr...> - 2004-02-01 22:15:15
|
Update of /cvsroot/gc-linux/htdocs In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6230 Modified Files: .htaccess Added Files: com2org.php Log Message: Added auto redirection to .org --- NEW FILE: com2org.php --- <?php $host = $_SERVER['HTTP_HOST']; if (strcasecmp($host, "www.gc-linux.org") != 0) { header("Location: http://www.gc-linux.org".$_SERVER['REQUEST_URI']); exit; } ?> Index: .htaccess =================================================================== RCS file: /cvsroot/gc-linux/htdocs/.htaccess,v retrieving revision 1.1.1.1 retrieving revision 1.2 diff -u -d -r1.1.1.1 -r1.2 --- .htaccess 23 Jan 2004 11:50:35 -0000 1.1.1.1 +++ .htaccess 1 Feb 2004 22:13:20 -0000 1.2 @@ -1,5 +1,7 @@ AddType image/x-icon .ico +php_value auto_prepend_file com2org.php + <Files docs> ForceType application/x-httpd-php </Files> |