cvs: php-gcov-web(SOC06) /www .htaccess
| From: | Nuno Lopes | Date: | Sat, 02 Sep 2006 22:57:42 +0000 |
| Subject: | cvs: php-gcov-web(SOC06) /www .htaccess | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-32279@lists.php.net to get a copy of this message | ||
nlopess Sat Sep 2 22:57:42 2006 UTC
Modified files: (Branch: SOC06)
/php-gcov-web/www .htaccess
Log:
remove uneeded stuff plus update the redirects to match the current code
http://cvs.php.net/viewvc.cgi/php-gcov-web/www/.htaccess?r1=1.1.2.1&r2=1.1.2.2&diff_format=u
Index: php-gcov-web/www/.htaccess
diff -u php-gcov-web/www/.htaccess:1.1.2.1 php-gcov-web/www/.htaccess:1.1.2.2
--- php-gcov-web/www/.htaccess:1.1.2.1 Tue Aug 8 18:23:47 2006
+++ php-gcov-web/www/.htaccess Sat Sep 2 22:57:42 2006
@@ -1,29 +1,11 @@
-# This is near verbatim of the original .htaccess file at this point
-
-Options +Indexes +FollowSymLinks +MultiViews +Includes
-
-ErrorDocument 300 /index.php
-ErrorDocument 404 /index.php
+Options +FollowSymLinks
<IfModule mod_dir.c>
- DirectoryIndex index.php index.php4 index.php3 index.jsp default.htm index.html index.htm
cover.html Overview.html
+ DirectoryIndex index.php
</IfModule>
-<Files ~ "(^\.ht)|(\.apf$|\.awk$|\.inc$|\.ini$|\.sh$)">
- Order allow,deny
- Deny from all
- Satisfy All
-</Files>
-
-<Files ~ ".*\.(html|php|pdf|pps|gif|png|jpeg|jpg|swf)">
- Order deny,allow
- Allow from all
- Satisfy All
-</Files>
-
-#<IfModule mod_rewrite.c>
- # note: start disabled only during the testing phases
- #RewriteEngine On
- #RewriteRule ^PHP_([_A-Z0-9]+)/?$ /PHP_$1/lcov/index.php [R,L]
- # note: end disabled only during the testing phases
-#</IfModule>
+<IfModule mod_rewrite.c>
+ RewriteEngine On
+ RewriteRule ^PHP_([_A-Z0-9]+)$ /viewer.php?version=PHP_$1 [R,L]
+ RewriteRule ^PHP_([_A-Z0-9]+)/([a-z]+)/?$ /viewer.php?version=PHP_$1&func=$2 [R,L]
+</IfModule>