Jeremy Newman : Rename site index to site.php
Jeremy Newman
jnewman at wine.codeweavers.com
Tue Jan 19 12:45:29 CST 2016
Module: website
Branch: master
Commit: fc754d85752ceb6509021147ba1997914be821fc
URL: http://source.winehq.org/git/website.git/?a=commit;h=fc754d85752ceb6509021147ba1997914be821fc
Author: Jeremy Newman <jnewman at codeweavers.com>
Date: Tue Jan 5 14:21:11 2016 -0600
Rename site index to site.php
This will make things easier on Non-Apache based Web Servers
Signed-off-by: Jeremy Newman <jnewman at codeweavers.com>
---
include/htaccess.sample | 6 +++---
site => site.php | 0
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/htaccess.sample b/include/htaccess.sample
index 4d04076..775e8ad 100644
--- a/include/htaccess.sample
+++ b/include/htaccess.sample
@@ -2,7 +2,7 @@
allow from all
# Set Our Default Directory Index
-DirectoryIndex site index.html index.shtml index.cgi index.php
+DirectoryIndex site.php index.html index.shtml index.cgi index.php
# Website Offline
#RewriteEngine on
@@ -21,7 +21,7 @@ php_value arg_separator.output ";"
php_value arg_separator.input ";&"
# force the php to accept PATH_INFO
-<Files ~ (site)$>
+<Files ~ (site.php)$>
AcceptPathInfo On
ForceType application/x-httpd-php
</Files>
@@ -105,5 +105,5 @@ RedirectPermanent /diff https://source.winehq.org/search
RewriteEngine on
Rewritebase /
RewriteCond %{REQUEST_FILENAME} !-f
-RewriteRule ^(.+) site/$1 [L]
+RewriteRule ^(.+) site.php/$1 [L]
diff --git a/site b/site.php
similarity index 100%
rename from site
rename to site.php
More information about the wine-cvs
mailing list