beber pushed a commit to branch master.

http://git.enlightenment.org/website/www.git/commit/?id=15b5aedf8273df4acbb9456bb919b78dfc08688a

commit 15b5aedf8273df4acbb9456bb919b78dfc08688a
Author: Bertrand Jacquin <bertr...@jacquin.bzh>
Date:   Sat Apr 11 21:52:24 2015 +0100

    MINOR: Replace p.php redirect hack by a .htaccess rule
---
 public_html/.htaccess | 6 ++++++
 public_html/p.php     | 4 ----
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/public_html/.htaccess b/public_html/.htaccess
new file mode 100644
index 0000000..bf13674
--- /dev/null
+++ b/public_html/.htaccess
@@ -0,0 +1,6 @@
+Options FollowSymlinks
+
+RewriteEngine On
+
+RewriteCond %{REQUEST_URI} ^/p.php
+RewriteRule .* https://www.enlightenment.org [R=301,L]
diff --git a/public_html/p.php b/public_html/p.php
deleted file mode 100644
index 4133117..0000000
--- a/public_html/p.php
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-header('Location: http://www.enlightenment.org/doku.php?id=start');
-die();
-?>

-- 


Reply via email to