diff options
| author | 2013-12-26 13:26:05 +0100 | |
|---|---|---|
| committer | 2013-12-26 13:26:05 +0100 | |
| commit | 3ba5223e1350bf0c38a81722a7669871400b340a (patch) | |
| tree | 64ecaa9968fa9940b06241f0a3ac7fc4592cf4e0 | |
| parent | 4098098bd2101787cfbb9c3c1917feb7c0fa531d (diff) | |
Déplacement de ./actualize_script.php sous ./app/
Pour une meilleure protection par défaut
| -rw-r--r-- | CHANGELOG | 1 | ||||
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | app/.htaccess | 3 | ||||
| -rwxr-xr-x | app/actualize_script.php (renamed from actualize_script.php) | 2 | ||||
| -rw-r--r-- | app/index.html | 13 | ||||
| -rw-r--r-- | data/index.html | 2 | ||||
| -rw-r--r-- | index.html | 1 | ||||
| -rw-r--r-- | lib/.htaccess | 3 |
8 files changed, 24 insertions, 3 deletions
@@ -53,6 +53,7 @@ * Déplacement de “./public/data/Configuration.array.php” vers “./data/*_user.php” * Déplacement de “./public/index.php” vers “./p/i/index.php” (voir cookie ci-dessous) * Déplacement de “./public/” vers “./p/” + * Déplacement de “./actualize_script.php” vers “./app/actualize_script.php” * Divers : * Nouvelle politique de cookie de session (témoin de connexion) * Utilise un nom poli “FreshRSS” @@ -45,7 +45,7 @@ Il est recommandé de limiter l’accès à votre FreshRSS, soit : # Rafraîchissement automatique des flux * Vous pouvez ajouter une tâche CRON sur le script d’actualisation des flux. Par exemple, pour exécuter le script toutes les heures : ``` -7 * * * * php /chemin/vers/freshrss/actualize_script.php >/dev/null 2>&1 +7 * * * * php /chemin/vers/FreshRSS/app/actualize_script.php >/dev/null 2>&1 ``` # Conseils diff --git a/app/.htaccess b/app/.htaccess new file mode 100644 index 000000000..9e768397d --- /dev/null +++ b/app/.htaccess @@ -0,0 +1,3 @@ +Order Allow,Deny +Deny from all +Satisfy all diff --git a/actualize_script.php b/app/actualize_script.php index 7986ba0b5..20438128a 100755 --- a/actualize_script.php +++ b/app/actualize_script.php @@ -1,5 +1,5 @@ <?php -require('constants.php'); +require(dirname(__FILE__) . '/../constants.php'); $_GET['c'] = 'feed'; $_GET['a'] = 'actualize'; diff --git a/app/index.html b/app/index.html new file mode 100644 index 000000000..85faaa37e --- /dev/null +++ b/app/index.html @@ -0,0 +1,13 @@ +<!DOCTYPE html> +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-GB" lang="en-GB"> +<head> +<meta charset="UTF-8" /> +<meta http-equiv="Refresh" content="0; url=/" /> +<title>Redirection</title> +<meta name="robots" content="noindex" /> +</head> + +<body> +<p><a href="/">Redirection</a></p> +</body> +</html> diff --git a/data/index.html b/data/index.html index 2f3b51848..85faaa37e 100644 --- a/data/index.html +++ b/data/index.html @@ -4,7 +4,7 @@ <meta charset="UTF-8" /> <meta http-equiv="Refresh" content="0; url=/" /> <title>Redirection</title> -<meta name="robots" content="noindex,follow" /> +<meta name="robots" content="noindex" /> </head> <body> diff --git a/index.html b/index.html index bbea573c7..1bfdea859 100644 --- a/index.html +++ b/index.html @@ -4,6 +4,7 @@ <meta charset="UTF-8" /> <meta http-equiv="Refresh" content="0; url=p/i/" /> <title>Redirection</title> +<meta name="robots" content="noindex" /> </head> <body> diff --git a/lib/.htaccess b/lib/.htaccess new file mode 100644 index 000000000..9e768397d --- /dev/null +++ b/lib/.htaccess @@ -0,0 +1,3 @@ +Order Allow,Deny +Deny from all +Satisfy all |
